Safe-by-default PowerShell tools for Windows 10/11: repair, privacy, encrypted DNS, and gaming — rebuilt around exact snapshots, rollback, and honest diagnostics.
| Folder | Version | Purpose |
|---|---|---|
pc-corruption-fixer/ |
7.1.1 | SFC/DISM, disk repair, Windows Update repair, diagnostics, reversible AI privacy policies |
pc-privacy-guard/ |
2.0 | Balanced or Strict privacy profiles with exact undo |
dns-encrypted-doh/ |
2.1 | One-provider-at-a-time Windows DNS-over-HTTPS manager |
pc-gaming-optimizer/ |
4.0 | Diagnostics + reversible supported gaming settings (no tweak pile) |
Earlier releases could “fix” things that made systems worse: Full Repair also reset networking, undo scripts guessed defaults, DNS mixed providers, and the gaming pack applied permanent timer/NIC/GPU registry hacks.
v2.x toolkit design:
- JSON snapshots under
%ProgramData%\WindowsPCToolkit— restore what was actually there - Full Repair does not reset the network stack
- Network reset aborts without a backup, preserves automatic vs static DNS, verifies DoH rollback
- Encrypted DNS: one provider profile, official HTTPS DoH templates, no plaintext UDP fallback
- Gaming: measurement-first; no permanent timer, Nagle, SysMain, MSI, PowerMizer, or standby-purge hacks
- Privacy: Balanced preserves WU/games/browsers/location; Strict is separate and confirmed
- AI privacy: policy-only and reversible — never uninstalls apps or disables Search/services
- Download a release or clone this repo.
- Double-click
START_TOOLKIT.batfor the launcher menu, or open a tool folder and run its.bat. - Accept UAC.
- Prefer safe defaults; read each tool’s README before Strict mode or network reset.
windows-pc-toolkit/
START_TOOLKIT.bat # one menu for all tools + Validate_All
Validate_All.ps1 # static safety/parser checks
pc-corruption-fixer/ Fix_Corruption.bat
pc-privacy-guard/ Run_As_Admin.bat
dns-encrypted-doh/ DNS_Encrypted_Manager.bat
pc-gaming-optimizer/ Run_As_Admin.bat
All launchers elevate with an absolute
%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe path (no PATH hijack).
| Tool | Snapshots |
|---|---|
| Gaming Optimizer | %ProgramData%\WindowsPCToolkit\GamingOptimizer\Snapshots |
| Privacy Guard | %ProgramData%\WindowsPCToolkit\PrivacyGuard\Snapshots |
| Encrypted DNS | %ProgramData%\WindowsPCToolkit\EncryptedDNS\Snapshots |
| Corruption Fixer | %ProgramData%\WindowsPCToolkit\PCFixer\NetworkSnapshots · AIFeatureSnapshots |
On Windows, run elevated:
.\Validate_All.ps1Uses Microsoft’s PowerShell parser on every script, checks launcher paths and DoH templates, and rejects reintroduced unsafe optimization writes.
- Windows 10 (2004+) or Windows 11
- PowerShell 5.1+ (built-in)
- Administrator rights for almost everything
- Full DoH APIs: Windows 11 / Server 2022+ recommended for Encrypted DNS
MIT — see LICENSE.
These scripts change Windows services, registry policies, and network settings. Create a System Restore point first (tools offer this where it matters). You run them at your own risk. No warranty.
See CHANGELOG.md for the full rebuild notes.