Sycnex / Windows10Debloater

Script to remove Windows 10 bloatware.
MIT License
18.13k stars 2.04k forks source link

Silent script #305

Open Deam0on opened 4 years ago

Deam0on commented 4 years ago

Not exactly an issue - how does the silent script work? Doe it run the debloat script deploy on each startup, or what? My issue is some apps tend to reinstall themselves after updates, so deploying on each startup would solve that.

heymajor commented 4 years ago

"Silent" = won't request your input while it runs

From the Windows10SysPrepDebloater.ps1 file:

#This function finds any AppX/AppXProvisioned package and uninstalls it, except for Freshpaint, Windows Calculator, Windows Store, and Windows Photos.
#Also, to note - This does NOT remove essential system services/software/etc such as .NET framework installations, Cortana, Edge, etc.

I think you'd have to use it with the flags for it to remove what it's intended to: -Sysprep -Debloat -Privacy

If startup time is a priority for you, it may not be a good idea to run the script on startup. Here's a way to keep uninstalled apps from coming back after an update: https://docs.microsoft.com/en-us/windows/application-management/remove-provisioned-apps-during-update

xsisbest commented 4 years ago

So for this script to work to the best of it's abilities, it is best to do this during the sysprep phase so that there are no users except the built in admin account. If a user account is already present, it will not remove the apps from that account. It essentially cleans the default user hive so any new users will have a debloated experience. I run this in my MDT during my task sequence. Go to Add, Run Powershell Script and for the name I just used Debloat Windows 10 and I put this file in my Scripts folder. Then for the Powershell script part put %SCRIPTROOT%\Windows10SysPrepDebloater.ps1 and in the parematers I use -SysPrep -Debloat