Welcome to WindowsRescue – your ultimate toolkit for fixing, optimizing, maintaining, and setting up your Windows 10/11 system like a pro! 🛠️ Whether you're dealing with boot issues, disk errors, need to update everything, set up development environments, or organize your files, these scripts have got you covered.
No more digging through forums or running manual commands – just fire up these battle-tested CMD and PowerShell scripts and let them do the heavy lifting!
Windows can be a beast sometimes – corrupted files, slow performance, network glitches, outdated software, and development environment headaches... you name it. This repo consolidates powerful, automated solutions into one place, from system repairs to development setup to file organization. All scripts are designed to be:
- Safe & Non-Destructive: They prompt for admin rights and back up where needed.
- Easy to Use: Just double-click or run from Command Prompt/PowerShell.
- Comprehensive: Cover everything from system repairs to dev environment setup.
Inspired by real-world troubleshooting and development workflows, these scripts use built-in Windows tools like DISM, SFC, CHKDSK, winget, and more, wrapped in user-friendly batches.
Here's a breakdown of the goodies:
- repair_boot.cmd: Fix boot issues and restore your system's startup sequence.
- repair_certificates.cmd: Comprehensive certificate store repair, verification, and cache cleanup using certutil.
- repair_windows.cmd: Run DISM and SFC scans to repair corrupted system files.
- repair_drive_quick.cmd / mid.cmd / max.cmd: Quick, medium, or thorough disk checks and repairs.
- repair_wmi.cmd: Rebuild and repair Windows Management Instrumentation (WMI) repository.
- update_windows.ps1: Comprehensive Windows system updates including OS, drivers, and optional features.
- update_windows_programs.cmd: Update all installed programs using Windows Package Manager (winget).
- update_windows_store.ps1: Update Windows Store apps and reset store cache if needed.
- optimize_drives.cmd: Defragment/TRIM and optimize your drives for peak performance.
- free_space_quick.cmd / mid.cmd / max.cmd: Free up disk space by cleaning temp files, logs, and more.
- flush_dns.cmd: Clear DNS cache to resolve browsing issues.
- reset_tcpip.cmd: Reset TCP/IP stack.
- reset_winsock.cmd: Reset Winsock catalog.
- reset_windows_update.cmd: Fix stuck Windows Update services.
- repair_time_service.cmd: Fix Windows Time Service synchronization issues and repair corrupted time service configuration.
- enable_ultimate_performance.cmd: Unlock the Ultimate Performance power plan for high-end hardware.
- optimize_ntfs.cmd: Tune NTFS file system settings.
- get_system_info.cmd: Generate a detailed system report.
- organise_videos.ps1: Organize .mp4 and .mkv files by creating individual folders for each video.
- print_queue_viewer.ps1: View and manage print queues.
- repair_volumes.cmd: Alternative repair all volumes on your system method.
- tts.cmd: Text-to-Speech utility for fun or accessibility.
- unpack_archives.ps1: Batch unpack archives (ZIP, RAR, etc.).
- repair_ubuntu.sh: Comprehensive Ubuntu/Linux system repair and integrity check script.
-
Clone the Repo:
git clone https://github.com/tboy1337/WindowsRescue.git cd WindowsRescue -
Requirements:
- Windows 10/11 (with admin privileges).
- PowerShell 5.1+ (included in Windows).
- Windows Package Manager (winget) for program updates.
- Optional: Python 3.x for development setup scripts.
- Optional: Node.js for development setup scripts.
- Optional: WSL/Ubuntu for cross-platform repair tools.
-
Run a Script:
- Right-click a
.cmdfile and select "Run as administrator". - For
.ps1files, right click and select "Run with PowerShell". - Pro Tip: Always back up important data before running repairs!
- Right-click a
- Fix system files:
repair_windows.cmd - Repair certificates:
repair_certificates.cmd - Optimize disk:
optimize_drives.cmd - Update all programs:
update_windows_programs.cmd - Full Windows update:
update_windows.ps1 - Repair time service:
repair_time_service.cmd - Organize video files:
Misc/organise_videos.ps1 - Repair Ubuntu system (in WSL):
Misc/repair_ubuntu.sh
For detailed usage, check each script's comments.
Love fixing Windows? Fork this repo, add your own scripts, and submit a PR!
This project is licensed under the CRL License - see LICENSE.md for details.
Disclaimer: These scripts are provided as-is. Always run with caution and understand what they do. Not responsible for any system issues.