@echo off :: ============================================================ :: Win11 Hardener Suite -- Launcher :: Brad / CrisisOfTruth.org :: :: Keep this .bat in the same folder as: :: Win11PrivacyHardener.ps1 :: Win11PerfHardener.ps1 :: ============================================================ net session >nul 2>&1 if %errorLevel% neq 0 ( echo. echo Requesting Administrator privileges... powershell -Command "Start-Process cmd -ArgumentList '/c \"%~f0\"' -Verb RunAs" exit /b ) :: ============================================================ :: SCREEN 1 -- DISCLAIMER :: ============================================================ :DISCLAIMER cls echo. echo ################################################################ echo # # echo # WIN11 HARDENER SUITE -- CrisisOfTruth.org # echo # # echo ################################################################ echo. echo LEGAL DISCLAIMER -- PLEASE READ CAREFULLY echo ---------------------------------------------------------- echo. echo This software is provided FREE OF CHARGE for educational echo and informational purposes ONLY. echo. echo I, Brad at CrisisOfTruth.org, accept ABSOLUTELY NO echo responsibility or liability for any damage, data loss, echo system instability, software incompatibility, or ANY echo other consequence -- intended or unintended -- that echo results from running these scripts on your system. echo. echo YOU RUN THIS SOFTWARE ENTIRELY AT YOUR OWN RISK. echo. echo By continuing past this screen you confirm that: echo. echo (1) You have read and accept this disclaimer in full. echo (2) You understand this modifies Windows system settings. echo (3) You alone are responsible for the outcome. echo (4) CrisisOfTruth.org is held harmless for any result. echo. echo ---------------------------------------------------------- echo. set /p AGREE=" Type AGREE to continue, or press Enter to exit: " if /i not "%AGREE%"=="AGREE" goto DECLINED goto BACKUP_WARN :DECLINED cls echo. echo You chose not to continue. No changes were made. echo Visit CrisisOfTruth.org for more information. echo. pause exit :: ============================================================ :: SCREEN 2 -- BACKUP WARNING :: ============================================================ :BACKUP_WARN cls echo. echo ################################################################ echo # # echo # STOP -- BACK UP FIRST # echo # # echo ################################################################ echo. echo HAVE YOU BACKED UP YOUR HARD DRIVE? echo ---------------------------------------------------------- echo. echo These scripts modify Windows registry settings, disable echo services, and change system configuration. Although they echo are designed to be safe, NO system modification tool is echo risk-free on every machine. echo. echo IF SOMETHING GOES WRONG, YOU WILL NEED A BACKUP. echo. echo *** DO NOT SKIP THIS STEP. *** echo. echo ################################################################ echo # RECOMMENDED BACKUP TOOLS (use BEFORE running this suite) # echo ################################################################ echo. echo BEST CHOICE -- Acronis Cyber Protect Home Office echo ------------------------------------------------- echo Full image backup. Boots independently if Windows echo fails. Buy the PERPETUAL LICENSE (one-time purchase) echo -- NOT the subscription. Avoid auto-renewal traps. echo Website: www.acronis.com echo. echo FREE ALTERNATIVES echo ------------------------------------------------- echo Macrium Reflect Free -- www.macrium.com echo Full disk image backup. Very reliable. Recommended echo if you do not want to purchase Acronis. echo. echo Veeam Agent for Windows (Free) echo www.veeam.com/windows-endpoint-server-backup-free.html echo Solid free option for full system image backups. echo. echo Windows Built-In (minimum protection only) echo Search: Create a restore point echo This is NOT a full backup. It only rolls back echo registry and system files -- not your personal data. echo Use a real backup tool whenever possible. echo. echo ################################################################ echo. echo Have you backed up your system and all important data? echo. set /p BACKED_UP=" Type YES if backed up and ready, or NO to exit: " if /i "%BACKED_UP%"=="YES" goto CONFIRM if /i "%BACKED_UP%"=="NO" goto NOT_BACKED_UP goto NOT_BACKED_UP :NOT_BACKED_UP cls echo. echo ################################################################ echo. echo Smart call. Back up your system before proceeding. echo. echo Recommended: Acronis (perpetual license) or Macrium Reflect Free echo. echo Acronis: www.acronis.com echo Macrium: www.macrium.com echo. echo Re-run this launcher after your backup is complete. echo. echo ################################################################ echo. pause exit :: ============================================================ :: SCREEN 3 -- FINAL CONFIRMATION :: ============================================================ :CONFIRM cls echo. echo ################################################################ echo # # echo # FINAL CONFIRMATION # echo # # echo ################################################################ echo. echo You are about to run system hardening scripts that will echo make changes to your Windows 11 installation. echo. echo Confirmed so far: echo [OK] You have read and accepted the disclaimer echo [OK] You have backed up your system echo. echo Reminder: echo - CrisisOfTruth.org accepts NO responsibility echo for any outcome from running these scripts. echo - You run this entirely at your own risk. echo - A reboot will be recommended after completion. echo. echo ---------------------------------------------------------- echo. set /p FINAL=" Type RUN to launch the suite, or press Enter to exit: " if /i not "%FINAL%"=="RUN" goto CANCELLED goto MENU :CANCELLED cls echo. echo Cancelled. No changes were made to your system. echo. pause exit :: ============================================================ :: MAIN MENU :: ============================================================ :MENU cls echo. echo ================================================================ echo Win11 Hardener Suite -- CrisisOfTruth.org echo ================================================================ echo. echo 1 -- Privacy Hardener (telemetry, ads, tracking, OneDrive) echo 2 -- Performance Hardener (power, visual, network, gaming) echo 3 -- Run BOTH back-to-back (full nuclear option) echo Q -- Quit echo. set /p CHOICE=" Enter choice: " if /i "%CHOICE%"=="1" goto PRIVACY if /i "%CHOICE%"=="2" goto PERF if /i "%CHOICE%"=="3" goto BOTH if /i "%CHOICE%"=="Q" goto END if /i "%CHOICE%"=="q" goto END echo. echo Invalid choice. Try again. timeout /t 2 >nul goto MENU :PRIVACY cls echo Launching Privacy Hardener... cd /d "%~dp0" powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Win11PrivacyHardener.ps1" goto DONE :PERF cls echo Launching Performance Hardener... cd /d "%~dp0" powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Win11PerfHardener.ps1" goto DONE :BOTH cls echo Running Privacy Hardener first... cd /d "%~dp0" powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Win11PrivacyHardener.ps1" echo. echo ================================================================ echo Privacy Hardener complete. Launching Performance Hardener... echo ================================================================ echo. pause powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Win11PerfHardener.ps1" goto DONE :DONE echo. echo ================================================================ echo All done. A reboot is strongly recommended. echo CrisisOfTruth.org -- Use at your own risk. echo ================================================================ echo. pause goto MENU :END cls echo. echo Exiting. No further changes will be made. echo Visit CrisisOfTruth.org for guides and information. echo. pause exit