Skip to content

This repository provides a collection of batch scripts to repair and optimize Windows systems.

License

Notifications You must be signed in to change notification settings

tboy1337/Repair-Windows

Repository files navigation

Windows Repair and Optimization Scripts

This repository provides a collection of batch scripts to repair and optimize Windows systems. These scripts automate various maintenance and repair tasks, making it easier to keep your Windows PC running smoothly.

Table of Contents

Features

  • Automate common repair and maintenance tasks for Windows systems.
  • Improve system performance by freeing up disk space and defragmenting drives.
  • Repair essential Windows services and files, including resetting Windows Update and Winsock.
  • Tools for system health checks, including CHKDSK and DISM scans.

Scripts Overview

1. dism_sfc_scan.cmd

  • Runs the Deployment Imaging Service and Management Tool (DISM) and System File Checker (SFC) to scan and repair corrupted system files.

2. defrag_optimise.cmd

  • Defragments and optimizes all system drives, helping improve system performance on traditional HDDs and SSDs.

3. free_space_quick.cmd & free_space_full.cmd

  • Clears unnecessary temporary files and frees up disk space to improve performance.

4. repair_volumes.cmd

  • Repairs volume errors using the CHKDSK utility on all detected drives.

5. reset_windows_update.cmd

  • Resets the Windows Update components to fix issues related to stuck or failed updates.

6. reset_winsock.cmd

  • Resets the Winsock catalog to resolve network connectivity issues.

7. boot_repair.cmd

  • Utilizes various tools to fix boot sector issues, which can help resolve problems with booting Windows (need to be in WindowsRE to use this).

8. chkdsk_scan.cmd

  • Runs the CHKDSK utility for FAT and NTFS drives to check and repair file system errors.

Usage

  1. Download or clone this repository to your local machine.
  2. Run the desired .cmd by right-clicking and selecting "Run as administrator".

Requirements

  • Windows OS (Windows 7 or higher recommended)
  • Administrator privileges for full functionality

License

This project is licensed under the terms of the MIT License.


Disclaimer: These scripts are provided as-is. Always back up your data before performing repairs or maintenance tasks.

About

This repository provides a collection of batch scripts to repair and optimize Windows systems.

Resources

License

Stars

Watchers

Forks