v1.0.0 - WinRepair Utility

Initial upload of WinRepair in its current working, fully featured state!
This commit is contained in:
Ryan 2026-02-17 05:33:00 +00:00
commit 34dbb7f4f2
4 changed files with 1520 additions and 0 deletions

27
LICENSE Normal file
View file

@ -0,0 +1,27 @@
WinRepair
Copyright (c) 2026 Ryan Harris / ZenDeuo.
All Rights Reserved.
This License governs the use of the "WinRepair" software, including all associated scripts, files, and documentation (collectively, the "Software"). By downloading, accessing, or using the Software, you agree to be bound by the terms of this License.
1. GRANT OF LICENSE
Subject to the restrictions in Section 2, the Author hereby grants you a limited, non-exclusive, non-transferable license to:
- Use: Run the Software for its intended purpose of Windows system repair and maintenance.
- Inspect: View and inspect the source code for educational purposes, transparency, and personal security audits.
- Share: Direct others to the official project repository or demonstrate the Softwares functionality to others.
2. RESTRICTIONS
You are strictly prohibited from the following actions:
- Redistribution: You may NOT redistribute, sub-license, bundle, or host the Software or its source code on any other platform, website, or medium, in either source or binary form.
- Modification: You may NOT modify, alter, transform, or build upon the Software. Creating derivative works based on the Software is strictly prohibited.
- Commercial Use: You may NOT sell, rent, lease, or utilize the Software for any commercial gain or professional service for which you receive compensation.
- Authorship: You may NOT remove any copyright notices or claim authorship, ownership, or affiliation with the Software.
3. OWNERSHIP
The Software is licensed, not sold. All title, ownership rights, and intellectual property rights in and to the Software (including but not limited to the PowerShell scripts, logic, and GUI design) remain the sole property of Ryan Harris / ZenDeuo.
4. TERMINATION
This license terminates automatically if you fail to comply with any of its terms. Upon termination, you must cease all use of the Software and destroy all copies in your possession.
5. DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

68
README.md Normal file
View file

@ -0,0 +1,68 @@
# WinRepair
A lightweight, portable Windows system repair utility designed to fix common OS corruption issues with a single click.
© 2026 Ryan Harris / ZenDeuo.
All Rights Reserved.
The only reason I began this was because the other day my friend had suffered Internet issues which had just required a Windows Network Reset and it fixed his internet speeds immediately and then today (Monday 16th February) my other friend was suffering from some broken Windows System Files and had to manually get each DISM command and the SFC command from the web and he said he wished there were a simple GUI for it so I was just going to slop something together but I really got into it after I saw how successful AI was at building the application and making it work and I was so happy that I had to finish it to the end and now I'm really happy with it and I hope it helps anyone with corrupt Windows System files!
<table align="center">
<tr>
<td width="50%">WinRepair Application:<a href="https://cdn.deuo.one/Projects/WinRepair/Application.png" target="_blank"><img src="https://cdn.deuo.one/Projects/WinRepair/Application.png" width="100%"/></a></td>
<td width="50%">WinRepair Advanced Configuration:<a href="https://cdn.deuo.one/Projects/WinRepair/Advanced-Settings.png" target="_blank"><img src="https://cdn.deuo.one/Projects/WinRepair/Advanced-Settings.png" width="100%"/></a></td>
</tr>
</table>
## 🚀 Features
* **One-Click Repair**: Automates the standard Windows repair sequence (DISM → SFC → CHKDSK).
* **Zero Dependencies**: Runs on stock Windows 10/11 using only built-in PowerShell and .NET.
* **Hidden Terminal**: Executes commands in the background without pop-ups or console windows.
* **Reset Network**: A dedicated tool to flush DNS, reset Winsock, and clear IP configurations.
* **Advanced Mode**: For more advanced users who only want to run specific steps.
* **Detailed Logging**: Real-time progress updates and exportable logs for troubleshooting.
## 🛠️ Repair Steps
WinRepair executes the following commands in a strictly ordered sequence:
1. **System Integrity Check**:
* `DISM /CheckHealth` (Performs A Quick Scan)
* `DISM /ScanHealth` (Performs A Deep Scan)
* `DISM /RestoreHealth` (Repairs The Component Store (WinSxS Folder) Of Windows)
* `DISM /StartComponentCleanup` (Removes Superseded Updates)
* `sfc /scannow` (Uses The Fresh Image To Repair System Files)
2. **Disk Health**:
* `chkdsk C: /scan` (Online File System Check Which Checks The File System And Metadata For Logical And Physical Errors Without Repairing Them)
3. **Cleanup & Maintenance**:
* Clear Temporary Files (Windows Temp & Prefetch)
* Rebuild Icon/Thumbnail Cache (Windows Explorer Icons & Thumbnails)
## 📦 Installation
WinRepair is **portable** meaning no installation required.
1. Download the latest release (ZIP file).
2. Extract the folder to anywhere on your PC.
3. Run **`RunRepair.bat`**.
* *Note: Requires Administrative Privileges To Run The Commands It Needs (UAC Prompt Will Appear).*
## ⚠️ Requirements
* **OS**: Windows 10 or Windows 11
* **PowerShell**: Version 5.1 (Standard on Windows 10/11)
* **Internet**: Required for DISM to download repair files from Windows Update.
## 📜 License & Usage
**Proprietary / All Rights Reserved**
This project is **Source Available** for educational purposes and transparency.
By viewing or downloading this repository, you agree to the following terms:
* **View Only**: You may view the source code for inspection and educational purposes.
* **No Modification**: You may NOT modify, bundle, or create derivative works from this software.
* **No Redistribution**: You may NOT redistribute this software, in source or binary form, without explicit written permission from the author.
* **No Commercial Use**: This software may not be sold or used for commercial gain.
The full license text can be found in the [LICENSE](LICENSE) file.

28
Run WinRepair.bat Normal file
View file

@ -0,0 +1,28 @@
@echo off
title WinRepair Launcher
:: ═══════════════════════════════════════════════════════════════
:: WinRepair Launcher
:: Handles UAC elevation + bypasses execution policy
:: ═══════════════════════════════════════════════════════════════
:: Check for admin rights
net session >nul 2>&1
if %errorlevel% neq 0 (
echo Requesting Administrator privileges...
powershell -NoProfile -Command "Start-Process cmd.exe -ArgumentList '/c \"\"%~f0\"\"' -Verb RunAs"
exit /b
)
:: We are admin — change to script directory and run
pushd "%~dp0"
echo Starting WinRepair...
powershell.exe -NoProfile -ExecutionPolicy Bypass -File ".\WinRepair.ps1"
:: If PowerShell exits with an error, show it
if %errorlevel% neq 0 (
echo.
echo ERROR: WinRepair exited with error code %errorlevel%
echo Check WinRepair_Error.log for details.
pause
)
popd

1397
WinRepair.ps1 Normal file

File diff suppressed because it is too large Load diff