For those who seek to minimize their Windows 10 and 11 installs.
Note: This script should work for most, if not all, systems without issue. While @SimeonOnSecurity creates, reviews, and tests each repo intensivly, we can not test every possible configuration nor does @SimeonOnSecurity take any responsibility for breaking your system. If something goes wrong, be prepared to submit an issue. Do not run this script if you don't understand what it does.
Windows 10 and 11 is are invasive and insecure operating system out of the box. Organizations like Microsoft, PrivacyTools.io, and others have recommended configuration changes to optimize and debloat the Windows 10 operating system. These changes are include blocking telemetry, deleting logs, and removing bloatware to name a few. This script aims to automate the configurations recommended by those organizations.
- This script is designed for operation in primarily Personal Use environments.
- This script is designed in such a way that the optimizations, unlike some other scripts, will not break core windows functionality.
- Features like Windows Update, Windows Defender, the Windows Store, and Cortona have been restricted, but are not in a disfunctional state like most other Windows 10 Privacy scripts.
- If you seek a minimized script targeted only to commercial environments, please see this GitHub Repository
- Windows 10/11 Enterprise, Windows 10 Professional, or Windows 10 Home
- Windows Home does not allow for GPO configurations.
- Script will still work but not all settings will apply.
- Windows "N" Editions are not tested.
- Run the Windows 10 Upgrade Assistant to update and verify latest major release.
- Windows Home does not allow for GPO configurations.
This is because we block signing into microsoft accounts. Microsoft's telemetry and identity association is frowned upon. However, if you still wish to use these services see the following issue tickets for the resolution:
- simeononsecurity/Windows-Optimize-Harden-Debloat#1
- simeononsecurity/Windows-Optimize-Harden-Debloat#16
- simeononsecurity/Windows-Optimize-Harden-Debloat#22
- BuiltByBel - PrivateZilla
- MelodysTweaks - Basic Tweaks
- Microsoft - Managing Windows 10 Telemetry and Callbacks
- Microsoft - Windows 10 Privacy
- Microsoft - Windows 10 VDI Recomendations
- Mirinsoft - SharpApp
- Mirinsoft - debotnet
- UnderGroundWires - Privacy.S**Y
- Sycnex - Windows10Debloater
- The-Virtual-Desktop-Team - Virtual-Desktop-Optimization-Tool
- TheVDIGuys - Windows 10 VDI Optimize
- W4H4WK - Debloat Windows 10
If manually downloaded, the script must be launched from an administrative powershell in the directory containing all the files from the GitHub Repository
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Get-ChildItem -Recurse *.ps1 | Unblock-File
.\sos-optimize-windows.ps1
The script may be launched from the extracted GitHub download like this:
iwr -useb 'https://simeononsecurity.ch/scripts/windowsoptimizeanddebloat.ps1'|iex