Sign inSign up

simeononsecurity/windows-optimize-debloat

By simeononsecurity

•Updated over 3 years ago

https://simeononsecurity.ch/github/windows-optimize-harden-debloat/

Image
1

480

simeononsecurity/windows-optimize-debloat repository overview

⁠Windows-Optimize-Debloat

⁠Fixing Microsoft Account or Xbox Services:

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:

⁠A list of scripts and tools this collection utilizes:

⁠Additional configurations were considered from:

⁠How to run the script:

⁠Automated Install:

The script may be launched from the extracted GitHub download like this:

iwr -useb 'https://simeononsecurity.ch/scripts/windowsoptimizeanddebloat.ps1'|iex
⁠Manual Install:

If manually downloaded, the script must be launched from an administrative powershell in the directory containing all the files from the GitHub Repository⁠

The script "sos-optimize-windows.ps1" includes several parameters that allow for customization of the optimization process. Each parameter is a boolean value that defaults to true if not specified.

  • $cleargpos: Clears Group Policy Objects settings.
  • $installupdates: Installs updates to the system.
  • $removebloatware: Removes unnecessary programs and features from the system.
  • $disabletelemetry: Disables data collection and telemetry.
  • $privacy: Makes changes to improve privacy.
  • $imagecleanup: Cleans up unneeded files from the system.
  • $diskcompression: Compresses the system disk.
  • $updatemanagement: Changes the way updates are managed and improved on the system.
  • $sosbrowsers: Optimizes the system's web browsers.

An example of how to launch the script with specific parameters would be:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Get-ChildItem -Recurse *.ps1 | Unblock-File
powershell.exe -ExecutionPolicy ByPass -File .\sos-optimize-windows.ps1 -cleargpos:$false -installupdates:$false

⁠Learn more about Debloating Windows 10 and Windows 11⁠

⁠Explore the World of Cybersecurity

⁠ SimeonOnSecurity Logo ⁠

Tag summary

Content type

Image

Digest

sha256:84eeb3bd4…

Size

4.6 GB

Last updated

over 3 years ago

docker pull simeononsecurity/windows-optimize-debloat