This is a set of scripts I have made or utilities downloaded (credit at bottom), these scripts can only be ran one after another, so be patient while one script executes.
You may also take the scripts and use them in your own programs under the GNU License agreement and credit is given to me. You may also want to check out all the other repositories under my name for various programs!
Quick Readme for the exe file not loading Make sure you are running administrator on the exe or .ps1 script
- (If you already set execution policy skip to step 2) Run the other .ps1 script that will set execution policy to "bypass" do not worry windows will automatically restore the execution policy when the computer is next turned on
- Then run the WindowsMaintenance.exe
Maintenance:
- Windows Install Cleanup (Standalone: https://github.com/SparksSkywere/Windows-10-Install-Cleaner)
- Re-install Windows default Apps
- Uninstall One-Drive
- Disk Cleanup Utility
- Delprof
- User Cleanup Utility
- DISM Restore Health
- Defragmentation Utility
- Windows System Scan and repair
- Check Disk (Volume Repair)
- System Optimisations
TroubleShooting:
- Internet
- Windows Update
- Microsoft Store
- Max Path length registry change
- Windows Update Error 0x800f0922 Fix
In the folder under Scripts is a file called "CustomChanges.ps1", this is for custom additions, it is an example of an older version of the troubleshooting file, you can freely edit this file for use in custom environments / testing of custom code, the panel will need to be added into the main ps1 script otherwise it will not show.
Microsoft Powershell: https://docs.microsoft.com/en-us/powershell/
Delprof 2, created by Helge Klein
Link to download: https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/