Welcome to The Batch Compendium, a comprehensive collection of batch scripts and tools for automation, optimization, and system management. This repository is designed to simplify your workflow and enhance productivity.
The Batch Compendium is a curated collection of batch scripts categorized for various use cases, including system optimization, privacy, diagnostics, and more. Whether you're a system administrator, developer, or enthusiast, you'll find scripts to suit your needs.
- Extensive Collection: Hundreds of batch scripts for diverse tasks.
- Categorized Structure: Organized into folders for easy navigation.
- Community-Driven: Contributions from developers worldwide.
- Open Source: Free to use and modify under the MIT License.
- Clone the repository:
git clone https://github.com/GhostwheeI/TheBatchCompendium.git
- Navigate to the desired category and script.
- Follow the instructions in the script's
README.mdor comments.
We welcome contributions! Please see our CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.
Batch scripting remains essential for:
- 💻 Offline-safe and dependency-free automation
- ⚙️ Quick tooling in Windows-native environments
- 🔎 Transparent and editable workflows
- 🧪 Scriptable tweaks and system inspection
This repo unifies hundreds of one-off scripts, plus entire toolkits from respected GitHub repos, into a single location — for the first time.
Scripts and imported toolkits are organized by purpose:
Activation, Licensing & Update Scripts
- akhilnathe--winactivate/
- danielj0nes--Activate-Windows10-Pro-Script/
- LintangWisesa--Microsoft_Office_2016_Activator/
- massgravel--Microsoft-Activation-Scripts/
- prestonsn--windows-10-activation-script/
- virusfreak7--Windows11-activator-script-/
- README.md
Automation & Installers
- README.md
Cleanup & Maintenance
- README.md
File, Media & Conversion Tools
- AndrewHazelden--MultiMesh-Scripting/
- C0nw0nk--qBittorrent/
- FoxP--PNG-to-ICO/
- Honguito98--enctool-batch/
- ImGuiNET--ImGui.NET-nativebuild/
- JonnyBanana--BatchMan-e-Robby/
- K3V1991--ADBKit/
- KnightDanila--BAT_FFMPEG/
- ManzDev--video-converter-scripts/
- Moodkiller--SendTo-rclone-GDrive/
- NabiKAZ--video2gif/
- PAXANDDOS--ForzaHorizonFix/
- README.md
- Serede--mkvtoolnix-batch/
- abbodi1406--BatUtil/
- anonymlol--Encoding_automation_scripts/
- and more...
Game Server & Mod Utilities
- DannyDorito--ARMA-3-Startup-and-Restart-Script/
- DannyDorito--DayZ-Startup-and-Restart-Script/
- jonstephens85--instantngp-batch/
- mitchv2020--QuestToolbox/
- Takaovi--BatchStealer/
- tinboye--Steam_workshop_scripts/
- README.md
Network, Connectivity & Hardware Tweaks
- BingLingGroup--run-udp2raw-batch/
- kezoponk--DDoS.bat/
- MansourM--ez-dns-changer.bat/
- szybnev--TTL-Changer/
- README.md
Other & Uncategorized
- corpnewt--Batch-Scripts/
- Da2dalus--FunBatchCode-MalicousAndNonMalicous/
- EbolaMan-YT--PsExec/
- geekcomputers--Batch/
- matej137--OutlookRemover/
- Nickfost--Batch/
- peterjc123--pytorch-scripts/
- README.md
Privacy & Debloating
- Espionage724--Windows/
- JaredCabot--OneDrive-Uninstaller/
- tcja--Windows-10-tweaks/
- README.md
Scripting Libraries, Examples & Tutorials
- happy05dz--Batch-Script-Collection/
- npocmaka--batch.scripts/
- PassingTheKnowledge--Batchography/
- README.md
Security, Hardening & Diagnostics
- AhmetHan--EDR_Tester/
- azmatt--windowsEnum/
- diogo-fernan--ir-rescue/
- frizb--Windows-Privilege-Escalation/
- gladiatx0r--Powerless/
- repnz--shellcode2exe/
- swagkarna--Defeat-Defender-V1.2.0/
- README.md
Single-Function Scripts
- Over 400+ single-purpose batch scripts for Windows customization, tweaks, and utilities
- README.md
System Optimization & Performance
- ancel1x--Ancels-Performance-Batch/
- Batlez--Batlez-Tweaks/
- CoolDotty--NeverWake/
- fr0st-iwnl--WinConfigs/
- Jisll--windows11/
- leetfin--Windows10Tools/
- m2nlight--WindowsServerToWindowsDesktop/
- NARCOTIC--Windows-Optimizer/
- TerryHuangHD--Windows10-VersionSwitcher/
- README.md
z.repo_support
- README.md
Each folder may contain:
- 🧾 Single-purpose
.batscripts - 📦 Full script-based repositories (flattened for GitHub browsing)
- 🔧
.txtfiles describing usage (where needed)
Here’s a peek at the kind of tools inside:
Cleanup & Maintenance/ClearTemp.bat– Empty all temp folders safelyPrivacy & Debloating/Win10Debloat.bat– Strip bloat and silence telemetrySystem Optimization & Tweaks/EnableTrim.bat– Enable SSD TRIM on demandHardware & Network Tweaks/FixEthernet.bat– Repair adapter statesFile & Media Utilities/MassRename.bat– Batch-rename files by patternSecurity & Diagnostics/LogDump.bat– Dump recent event logs for analysis
⚠️ Most scripts require elevated (admin) Command Prompt
💡 Always review scripts before running
cd "Cleanup & Maintenance"
ClearTemp.batMost tools run as-is and output their steps directly in the terminal. No installs, no fluff.
- 🛠 System administrators automating their workflows
- 🧪 Tinkerers, modders, and troubleshooters
- 🖥️ Air-gapped, legacy, or restricted environments
- 📚 Anyone learning how batch scripts actually work
- Use Windows Search inside folders:
*.bat - Many full solutions include README or
.txthelpers - Fork or clone locally for faster script exploration
- Check commit history for recent additions or updates
Pull requests are welcome!
You can:
- Submit original
.batfiles - Add educational examples or snippets
- Flatten and contribute known GitHub script repos
- Improve categorization or documentation
Prefer clean, well-commented batch logic.
We provide tools to help identify highly-rated batch repositories on GitHub:
# Quick search for popular batch repos
./find_batch_repos.sh --min-stars 100For detailed instructions on finding and contributing new repositories, see:
After adding new scripts, run the update script to refresh the counter:
./maintenance update-countThis will automatically count all .bat and .cmd files and update the README.
This repository includes maintenance tools to help manage and update the collection:
# Update script count in README
./maintenance update-count
# Find new batch repositories on GitHub
./maintenance find-repos --min-stars 100
# Update existing repositories from upstream sources
./maintenance update-upstream --limit 10
# Update repository description
./maintenance update-desc
# Add repository topics/tags
./maintenance add-topics
# View all available commands
./maintenance helpFor advanced repository management, see the tools in z.repo_support/:
- Repository discovery and analysis scripts
- Automated documentation updates
- GitHub API integration tools
- Quality assessment utilities
All maintenance scripts are designed to preserve the collection's organization and quality standards.
This repository includes automated workflows to minimize manual maintenance:
PR Management
- Stale Draft PR Cleanup: Automatically labels and closes inactive draft PRs after 30 days
- Auto-Merge: Green PRs from Copilot are automatically merged when all checks pass
- Note: Auto-merge requires at least one CI check to be configured. PRs without any status checks will not be auto-merged.
- Conflict Detection: PRs with merge conflicts are automatically labeled
Issue Management
- Stale Issues: Inactive issues are labeled after 60 days and closed after 14 more days
- Auto-Labeling: Issues and PRs are automatically categorized
Workflow Management
- Draft PR Skip: CI checks skip draft PRs to reduce noise
- Scheduled Runs: Daily janitor jobs run at 00:00 and 01:00 UTC
- Manual Triggers: All workflows can be manually triggered when needed
These automation workflows help keep the repository clean and reduce notification noise for minimal-maintainer scenarios.
For more details, see:
All content is covered under the MIT License.
Authors are credited where original repo info is preserved.
Thanks to:
- @GhostwheeI
- The open-source Windows scripting community
- Chainski, Tarik Seyceiri, and many repo authors featured here
🛠️ Made with love for the Windows command line
