This project collects Powershell scripts which help to debloat Windows 10, tweak common settings and install basic software components.
This was forked from W4RH4WK's original work and tweaked to allow for commandline arguments and some more flexability without editing the scripts everytime.
These are developed and tested on Windows 10 Professional 64 bit.
W4RH4WK'S Original Warning:
Note that there is no undo, I recommend only using these scripts on a fresh install (including updates). Test everything after running them before continuing with something else. Also there is no guarantee that everything will work after future updates since I cannot predict what Microsoft will do next.
Code located in the master
branch is under development (for now).
Enable execution of PowerShell scripts:
PS> Set-ExecutionPolicy Unrestricted
Unblock PowerShell scripts and modules within this directory:
PS > ls -Recurse *.ps1 | Unblock-File
PS > ls -Recurse *.psm1 | Unblock-File
- Install all available updates for your system.
- Edit the scripts to fit your need.
- Run the scripts
PS > Restart-Computer
If you have issues with dead links you cannot remove in your startmenu, the reset-start-menu.ps1 is what you will want to use. Do not use this unless you need it. It will flag every application as a newly installed one.
After running the scripts, the startmenu search-box may no longer work on newly created accounts. It seems like there is an issue with account initilization that is triggered when disabling the GeoLocation service. Following workaround has been discovered by BK from Atlanta:
- Delete registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lfsvc\TriggerInfo\3
- Re-enable GeoLocation service (set startup type to
Automatic
) - Reboot
- Login with the account having the stated issue
- Start Cortana and set your preferences accordingly (web search and whatnot)
You may now disable the GeoLocation service again, the search box should remain functional.
The scripts are designed to run without any user-interaction. Modify them beforehand. If you want a more interactive approach check out DisableWinTracking from 10se1ucgo.
All scripts are provided as is and you use them at your own risk.
I would be happy to extend the collection of scripts. Just open an issue or send me a pull request.
"THE BEER-WARE LICENSE" (Revision 42):
As long as you retain this notice you can do whatever you want with this
stuff. If we meet some day, and you think this stuff is worth it, you can
buy us a beer in return.
This project is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.