️ Scan & Repair Windows Image

Discussion in 'Scripting' started by mephistooo2, Jul 7, 2025.

  1. mephistooo2

    mephistooo2 MDL Member

    Feb 5, 2008
    100
    163
    10
    #1 mephistooo2, Jul 7, 2025
    Last edited: Jul 7, 2025
    [​IMG]

    Features
    - Admin rights check and **auto elevation**
    - Supports DISM `CheckHealth`, `ScanHealth`, and `RestoreHealth`
    - Includes `sfc /scannow`
    - **Auto language detection** (Turkish / English)
    - Color-coded status messages
    - Cleans up temporary log files after execution

    ️ Supported Systems
    - Windows 10 (1809 or later)
    - Windows 11 (all versions)

    Usage
    Just run the script. It will check the health status of your system. If a repairable issue is found, it will automatically trigger DISM and SFC. No user interaction is required.

    Disclaimer
    This script makes changes to your system files. Use at your own risk. It is highly recommended to back up your important data before use.

    abdullah-erturk/scan_repair_windows: Scan & Repair Windows Image