Is windows messed up? Need to reinstall? Try this first.
It's just a script designed to be run from the PowerShell command line. Not a full CMDlet, as i have my doubts it'll be used frequently enough for it to be one.
& "C:\Temp\Repair-Windows.ps1" [-SkipSystemScans] [-SkipUWP] [-SkipBadDisks] [-CDriveOnly] [-NoRestart]
Skips the SFC scan, and also the DISM scans
Skips Windows Store app resets & store reset.
Skips disk checking. CHKDSK isn't run on next restart.
Checks only the C:\ drive. Useful if you know the problem isn't related to other disks in your system.
This one's self explanatory but basically the script by default restarts your computer so it can do an offline scan of the disks. Select this option if you don't want to restart at the end.
- Convert to a complete powershell module
- Make every fix done in this a separate command, which can be invoked separately, or in one function that runs them consecutively
- Polish the dll registration code as it is kinda messy and spams the users screen with error messages unnecessarily
- Add a spot for optional places for DLL registraction. i.e. appdata, program files, program data etc
- Release on PSGallery
- Registry cleaning & backup
- Bluetooth profile erasure
- Display profile erasure
- Do something about autorun applications... not sure what or how yet
- System restore points
- Offline virus scanning
- Aggressive driver removal
- Bluetooth stack resets and device removal
- Scheduling memory diagnostics using bcd
- Backup features
- GUI
- Debloat
- Telemetry blocking
- Hardening
- Full Windows 11 support (will need help with this as none of my computers support win11)