Skip to content

The world’s most complete, organized, and authoritative collection of batch scripts. Built for sysadmins, power users, and automation fanatics.

Notifications You must be signed in to change notification settings

GhostwheeI/TheBatchCompendium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Batch Compendium Banner

🎯 The Largest Batch Script Collection 🎯

📊 2,821 BATCH SCRIPTS 📊

The ultimate compendium of Windows batch automation


Windows Scripts License: MIT

The Batch Compendium

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.

Stars Forks Issues License

Badges

Windows Batch Automation Open Source

Table of Contents

Introduction

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.

Features

  • 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.

Getting Started

  1. Clone the repository:
    git clone https://github.com/GhostwheeI/TheBatchCompendium.git
  2. Navigate to the desired category and script.
  3. Follow the instructions in the script's README.md or comments.

Contributing

We welcome contributions! Please see our CONTRIBUTING.md for guidelines.

License

This project is licensed under the MIT License. See the LICENSE file for details.


🚀 Mission

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.


🗂 Project Structure

Scripts and imported toolkits are organized by purpose:

Folder Structure

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 .bat scripts
  • 📦 Full script-based repositories (flattened for GitHub browsing)
  • 🔧 .txt files describing usage (where needed)

🧪 Sample Tools

Here’s a peek at the kind of tools inside:

  • Cleanup & Maintenance/ClearTemp.bat – Empty all temp folders safely
  • Privacy & Debloating/Win10Debloat.bat – Strip bloat and silence telemetry
  • System Optimization & Tweaks/EnableTrim.bat – Enable SSD TRIM on demand
  • Hardware & Network Tweaks/FixEthernet.bat – Repair adapter states
  • File & Media Utilities/MassRename.bat – Batch-rename files by pattern
  • Security & Diagnostics/LogDump.bat – Dump recent event logs for analysis

⚙️ How to Use

⚠️ Most scripts require elevated (admin) Command Prompt
💡 Always review scripts before running

Example:

cd "Cleanup & Maintenance"
ClearTemp.bat

Most tools run as-is and output their steps directly in the terminal. No installs, no fluff.


🙋‍♂️ Who Is This For?

  • 🛠 System administrators automating their workflows
  • 🧪 Tinkerers, modders, and troubleshooters
  • 🖥️ Air-gapped, legacy, or restricted environments
  • 📚 Anyone learning how batch scripts actually work

💡 Tips

  • Use Windows Search inside folders: *.bat
  • Many full solutions include README or .txt helpers
  • Fork or clone locally for faster script exploration
  • Check commit history for recent additions or updates

🤝 Contributing

Pull requests are welcome!

You can:

  • Submit original .bat files
  • Add educational examples or snippets
  • Flatten and contribute known GitHub script repos
  • Improve categorization or documentation

Prefer clean, well-commented batch logic.

Finding New Repositories

We provide tools to help identify highly-rated batch repositories on GitHub:

# Quick search for popular batch repos
./find_batch_repos.sh --min-stars 100

For detailed instructions on finding and contributing new repositories, see:

Updating the Script Count

After adding new scripts, run the update script to refresh the counter:

./maintenance update-count

This will automatically count all .bat and .cmd files and update the README.

🛠️ Repository Maintenance

This repository includes maintenance tools to help manage and update the collection:

Quick Maintenance Commands

# 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 help

Advanced Tools

For 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.

Automated Janitor Jobs 🤖

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:


🔐 License

All content is covered under the MIT License.
Authors are credited where original repo info is preserved.


🙏 Credits

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

About

The world’s most complete, organized, and authoritative collection of batch scripts. Built for sysadmins, power users, and automation fanatics.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •