Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
First Method:
1. Download the .zip file on the main page of the github and extract the .zip file to
your desired location
2. Once extracted, open PowerShell (or PowerShell ISE) as an Administrator
3. Enable PowerShell execution Set-ExecutionPolicy Unrestricted -Force
4. On the prompt, change to the directory where you extracted the files: e.g. - cd
c:\temp
5. Next, to run either script, enter in the following: e.g. -
.\Windows10DebloaterGUI.ps1
Second Method:
1. Download the .zip file on the main page of the github and extract the .zip file to
your desired location
2. Right click the PowerShell file that you'd like to run and click on "Run With
PowerShell"
3. This will allow the script to run without having to do the above steps but
Powershell will ask if you're sure you want to run this script.
1. Download the .zip file on the main page of the github and extract the .zip file to
your desired location
2. Once extracted, open PowerShell (or PowerShell ISE) as an Administrator
3. On the prompt, change to the directory where you extracted the files: e.g. - cd
c:\temp
4. Next, to run either script, enter in the following: e.g. -
.\Windows10SysPrepDebloater.ps1 -Sysprep, -Debloat -Privacy
Switch Parameters
There are 3 switch parameters in the Windows10SysPrepDebloater.ps1 script.
The first one is -SysPrep, which runs the command within a function: get-appxpackage |
remove-appxpackage. This is useful since some administrators need that command to
run first in order for machines to be able to properly provision the apps for removal.
The second switch parameter is -Debloat, which does as it suggests. It runs the following
functions: Start-Debloat, Remove-Keys, and Protect-Privacy.
Remove-Keys removes registry keys leftover that are associated with the bloatware apps
listed above, but not removed during the Start-Debloat function.
Third, Protect-Privacy adds and/or changes registry keys to stop some telemetry
functions, stops Cortana from being used as your Search Index, disables "unneccessary"
scheduled tasks, and more.
You can choose to either 'Debloat' or 'Revert'. Depending on your choice, either one will
run specific code to either debloat your Windows 10 machine.
Revert-Changes, Enable-EdgePDF
The Revert option reinstalls the bloatware and changes your registry keys back to
default.
These scheduled tasks that are disabled have absolutely no impact on the function of
the OS.
Credits
Thank you to a60wattfish, abulgatz, xsisbest, Damian, Vikingat-RAGE, and Reddit user
/u/GavinEke for some of the suggestions and fixes that I have placed into my scripts.
You all have done a fantastic job!