This repository contains batch files used to automate computer cleanup using built in Windows utilities. Made for Windows 10, will also probably work on Windows 8, 8.1, and 11. All scripts Must be run as Administrator. If you need help running these scripts scroll down to the directions.
- Adds registry keys to allow an admin account with a password to autologin on startup.
- This is a .ps1 file, run PowerShell as Admin or follow the directions below.
- Designed for Windows 10
- Cleanup script to help optimize Windows performance
- This is a .bat file, right click and run as administrator
- Enables/Disables Windows Auto-Update through the registry
- This is designed for Windows 10
- Disables Cortana through the registry
- This is a .ps1 file, run PowerShell as Admin or follow the directions below.
- This script changes registry values to harden a Windows installation.
- This is a .ps1 file, run PowerShell as Admin or follow the directions below.
- Automatically removes Windows bloatware using levels listed on the Remove-Bloatware README
- Optional one-by-one removal of bloatware for better customization
- Stops Windows services and deletes the Windows update cache to fix issues with Windows update
- This is a .bat file, right click and run as administrator
-
- Disables the widgets panel and removes it from the taskbar
-
- Uninstalls Cortana for all users or just the current user
-
- Allows user to toggle taskbar alignment from Center to Left and back. (Windows 11)
-
- Allows user to disable Windows update from auto-updating.
-
- Allows user to disable Bing results in the start menu.
-
- Allows user to disable the lock screen (the screen that shows the time and a picture, sign in is still required.)
-
- Allows user to enable verbose mode (shows more detailed status of what the computer is doing when shutting down or starting up)
-
- If you have grouped tabs on the task bar, when you click on the icon it shows the open window.
- This tweak changes it so when you click on the grouped tabs it opens the last open tab instead of the window selector.
-
- Disables shaking a window to minimize all others behind it.
- A bunch of smaller functions and scripts used to make the other scripts, they may be helpful for scripts you write yourself
- Screenshots for README.md tutorials.
- Right click the .exe file and click "Run as Administrator"
- A CMD window should pop up, follow the on screen directions.
- This is just one of many ways PowerShell scripts can be run as Admin. One of the least efficient but its easy for those unfamiliar with CLI.
- Search for "PowerShell" and click "Run ISE as Administrator"
- Allow Admin access for PowerShell ISE
- Run the command
Set-ExecutionPolicy Unrestricted
in the terminal below - Click "Yes to All"
- Click the folder icon in the top left
- Navigate to the PowerShell script you are running and click "Open"
- Click the play button at the top to run the script
- Follow the directions that pop up in the terminal window on the bottom.
- Once you're done run the command
Set-ExecutionPolicy RemoteSigned
to disable running PowerShell scripts from the internet
git clone https://github.com/trevorslong/Windows-Tools
- Clones entire repository
- add
~/FOLDER/SUBFOLDER
after PROGRAM.m to clone to specific folder- Ex:
git clone https://github.com/trevorslong/Windows-Tools ~/Windows-Tools
- to clone repository to a folder in home named Windows-Tools
- Ex: