⚠️ Use at your own risk. For educational purposes only.
A powerful and lightweight Windows optimization tool for advanced users, gamers, and anyone suffering from lag or memory hogs. This script disables unnecessary services, cleans memory and temp files, and integrates with RAMMap64 to clear standby RAM.
Ideal for low-end systems, older laptops, or performance-hungry gaming rigs like ASUS ROG.
- 📦 Download ZIP of this repository.
- 🗂️ Extract the ZIP to a folder (e.g.,
Windows-Optimizer). ▶️ Right-clicksetup.ps1and select Run with PowerShell.- ✅ When prompted with
Execution Policy Change, choose Yes to All (A) to allow the script to run. - 🧼 The script will unblock all files and start the optimizer silently in the background.
🛑 If PowerShell scripts are restricted, or you skipped the prompt, run this command once in PowerShell:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
- ❌ Disables Windows Updates (optional & reversible)
- 🛃 Cleans system temp folders
- 📊 Monitors and trims RAM usage in real-time
- ❌ Kills background apps and bloatware
- ♻️ Loops automatically every 10 seconds
- 🚿 Uses RAMMap64 to clear standby memory
- 🧠 Designed to work with RAMMap64.exe and a silent launcher
.
├── RAMMap/ # (Optional) Additional RAMMap files
├── clear_ram_loop.bat # Main optimization script with looping
├── run_invisible.vbs # VBScript launcher for silent background execution
├── RAMMap64.exe # Download from Microsoft Sysinternals
├── setup.ps1 # NEW: PowerShell launcher to unblock & run everything
├── README.md
├── LICENSE
├── revert.bat # (Optional) Undo script for updates
└── screenshots/ # (Optional visuals)
💡 Want full control like a true Windows ninja? Follow these steps manually:
- 💾 Download RAMMap64 (if it's not already included).
- 🔐 Right-click
clear_ram_loop.batorrun_invisible.vbsand select Run as Administrator. - 🛡️ Optional: If Windows Defender blocks the files, temporarily pause real-time protection:
- Defender often flags
.bator.vbsscripts by default — even safe ones like this. - These scripts are clean and designed only to boost performance.
- Defender often flags
- ✅ You're good to go. The optimization loop begins instantly!
🧪 Perfect for tech-savvy users, gamers, and DIY tweakers who want max control.
- OneDrive.exe
- Teams.exe
- AdobeIPCBroker.exe, AdobeCollabSync.exe
- ArmouryCrate.UserSessionHelper.exe, GameSDK.exe, AuraService.exe, NahimicService.exe
- Suggested Extras for generic laptops:
taskkill /f /im YourPhone.exe
taskkill /f /im SearchUI.exe
taskkill /f /im Cortana.exe
taskkill /f /im XboxGameBar.exe
taskkill /f /im HPHotkeyMonitor.exe
taskkill /f /im DellSupportAssistRemedation.exe
taskkill /f /im LenovoVantageService.exe- ❗ Disables Windows Updates and modifies registry entries.
- 🔐 Periodically re-enable updates manually to stay secure.
- 💻 Intended for personal, non-enterprise systems only.
- 👨⚖️ Use responsibly on systems you own or have permission to modify.
- ❌ Do not use on school, office, or government devices.
To restore Windows Update manually, run:
sc config wuauserv start= auto
sc start wuauservOr use the included revert.bat file (Run as Administrator).
- 🧪 Run once per boot or let it loop in background.
- 🕹️ Perfect for freeing up RAM before gaming.
- 🧩 Customize background apps to kill for your system.
batch-script, windows-optimizer, ram-cleaner, rammap, gaming-boost, disable-windows-update, temp-cleaner, bloatware-remover, windows10, windows11, rog-optimizer, sysinternals
Like this tool? Give it a ⭐ and share with friends!
PRs, suggestions, or issues are always welcome. Let’s make Windows faster, together.