Raphire / Win11Debloat

A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, remove Bing from Windows search as well as perform various other changes to declutter and improve your Windows experience. This script works for both Windows 10 and Windows 11.
MIT License
14.2k stars 615 forks source link

The script goes on forever #137

Open Dylan96 opened 1 month ago

Dylan96 commented 1 month ago

Describe the bug I have run this script on many Windows 11 workstations, some fully up to date, using the run.bat file and selecting the default option. Sometimes the script just seems to run forever, hanging for 30-40 minutes just to uninstall the default selection of MS Store apps...

To Reproduce Steps to reproduce the behavior:

  1. Open 'Run.bat'
  2. Select 'default selection of apps'
  3. Wait for 'FOREVER'
  4. See error

Expected behavior I guess it shouldn't take more than 10 minutes to complete.

Screenshots None

Additional context

Raphire commented 1 month ago

Heya,

App removal definitely shouldn't take more than or minute or two. Are these new installs? How any users are on the machine, and are the machines configured in a domain?

Dylan96 commented 1 month ago

After double-checking, some machines were indeed domain-joined at some point. Someone just removed them from the domain without deleting all the profiles.

Perhaps you could add an indication of which profile the current application is being removed from? so it doesn't look like it's stuck.

prat7899 commented 1 month ago

perhaps youu could add an indicator as usuabel and do eomthing wrong