Skip to content

GhostwheeI/TheBatchCompendium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Batch Compendium Banner

🎯 The Largest Batch Script Collection 🎯

📊 2,050 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

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.


🗂 Category Index

Browse repositories by category:

📑 Activation, Licensing & Update Scripts 🎥 Audio, Video Capture, Conversion & Playback
🛠️ Development & Scripting Tools 💾 File & Disk Utilities
📁 File, Media & Conversion Tools 🎮 Game Server & Mod Utilities
🕹️ Gaming & Entertainment Tools 🌐 Network & Internet Tools
🔌 Network, Connectivity & Hardware Tweaks ⚔️ Offensive Security & Penetration Testing
📦 Other & Uncategorized 🔒 Privacy & Debloating
⚙️ Process, Service & Startup Management 📚 Scripting Libraries, Examples & Tutorials
🛡️ Security & Privacy Tools 🔍 Security, Hardening & Diagnostics
📄 Single-Function Scripts ℹ️ System Information & Diagnostics
🚀 System Optimization & Performance 🔧 System Tweaks & Performance Enhancements

🗂 Repository Index

Activation, Licensing & Update Scripts
Audio, Video Capture, Conversion & Playback
Development & Scripting Tools
File & Disk Utilities
File, Media & Conversion Tools
Game Server & Mod Utilities
Gaming & Entertainment Tools
Network & Internet Tools
Network, Connectivity & Hardware Tweaks
Offensive Security & Penetration Testing
Other & Uncategorized
Privacy & Debloating
  • Espionage724--Windows/ - Various batch files for Windows.
  • JaredCabot--OneDrive-Uninstaller/ - This is a batch script to completely uninstall OneDrive in Windows 10.
  • tcja--Windows-10-tweaks/ - This repo contains multiple scripts to optimize windows 10 Just lunch the "ALL_IN_ONE_Executor.bat" and it will run all files but "Disable_Action_Center.reg" and "Activate Windows Old Photo Viewer on Windows 10" (if you want them aswell just add them to the file) Toggles between dark mode and default theme (click on the appropriate .bat file for the desired action) Bunch of alternate scripts for optimizing WIN 10 and removing annoying bloatware Adds the "Copy full path" to the context menu so no need to press shift anymore to get it Disables action center in the notification center Completely removes Microsoft OneDrive annoying bloatware Disables the news and interests widget on the taskbar, this has been forcefully installed since update Windows 10 21H1 Enables the news and interests widget on the taskbar By default, Windows reserves 20% of the bandwidth for its specific services limiting thus your bandwidth to achieve its full potential, this reg tweak fixes that issue by removing that default limit Disables Prefetch and Superfetch services which are useless on an SSD based OS Activates windows's old photo viewer Removes the Xbox Apps bloatware Some scripts are not of my own so all the credits may go to their respective author.
  • README.md
Process, Service & Startup Management
Scripting Libraries, Examples & Tutorials
Security & Privacy Tools
Security, Hardening & Diagnostics
Single-Function Scripts
System Information & Diagnostics
System Optimization & Performance
System Tweaks & Performance Enhancements
  • 2rf--winGetDebloated/ - winGetDebloated is a bloatware removal tool for windows 10 and above made in batch using the winget package manager.
  • Aetherinox--pause-windows-updates/ - Formerly known as a simply registry tweak to disable Microsoft Windows updates, this repository has grown into a utility known as WPU (Windows Personalization Utility); a more complete solution for Windows users.
  • Batlez--Batlez-Tweaks/ - Batlez Tweaks is a batch tweaking script that optimizes your system to provide the best gaming experience possible.
  • MajorGeek--MajorGeeks-Windows-Tweaks/ - MajorGeeks Windows Tweaks contains over 200 files under 1MB, including registry, PowerShell, Visual Basic, shortcuts, and batch files to enable tweaks and hidden features in Windows 11, 10, 8, and 7 for any skill level.
  • SeregaSPb--Windows-10-batch-optimizer/ - How to set up privacy in Windows 10?
  • Zusier--Zusiers-optimization-Batch/ - Zusier's Optimization Batch File is made to give a perfect balance in performance, latency.
  • ancel1x--Ancels-Performance-Batch/ - This batch file is now deprecated.
  • balsamleti--speedup-windows10/ - While there are plenty of tweaking and privacy tools out there for Windows 10, all have in common that you cannot verify any of the operations before they are executed.
  • chainski--WindowsCleanerUtility/ - A windows batch script that cleans your PC from temporary files.
  • semazurek--ET-Optimizer/ - ET is a powerful application to improve performance, debloat, optimize and enhance privacy for Windows 10/11.
  • tcja--Windows-10-tweaks/ - This repo contains multiple scripts to optimize windows 10 Just lunch the "ALL_IN_ONE_Executor.bat" and it will run all files but "Disable_Action_Center.reg" and "Activate Windows Old Photo Viewer on Windows 10" (if you want them aswell just add them to the file) Toggles between dark mode and default theme (click on the appropriate .bat file for the desired action) Bunch of alternate scripts for optimizing WIN 10 and removing annoying bloatware Adds the "Copy full path" to the context menu so no need to press shift anymore to get it Disables action center in the notification center Completely removes Microsoft OneDrive annoying bloatware Disables the news and interests widget on the taskbar, this has been forcefully installed since update Windows 10 21H1 Enables the news and interests widget on the taskbar By default, Windows reserves 20% of the bandwidth for its specific services limiting thus your bandwidth to achieve its full potential, this reg tweak fixes that issue by removing that default limit Disables Prefetch and Superfetch services which are useless on an SSD based OS Activates windows's old photo viewer Removes the Xbox Apps bloatware Some scripts are not of my own so all the credits may go to their respective author.
  • vmavromatis--gnome-layout-manager/ - A bash script that batch installs and tweaks GNOME extensions as well as GTK/Shell themes.
  • warengonzaga--wrn-cleaner/ - created by release star license A maintenance tool that can automatically or manually clean up your Windows machine in a simple and reliable way.
  • 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:

  • System Tweaks & Performance Enhancements/chainski--WindowsCleanerUtility/WindowsCleanerUtility.bat – Clean temporary files and cache
  • Privacy & Debloating/Win10Debloat.bat – Strip bloat and silence telemetry
  • System Optimization & Performance/leetfin--Windows10Tools/FullDebloat.bat – Deep system debloating
  • Network, Connectivity & Hardware Tweaks/ – Repair adapter states and network settings
  • File, Media & Conversion Tools/ – Batch-rename or convert files by pattern
  • Security, Hardening & Diagnostics/ – Audit system security and dump event logs

⚙️ How to Use

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

Example:

cd "System Tweaks & Performance Enhancements\chainski--WindowsCleanerUtility"
WindowsCleanerUtility.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

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:


🤝 Contributing

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


🔐 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