Skip to main content

Overview

Collection of Windows batch scripts for system administration, configuration, and maintenance. All scripts are tested on Windows 10/11 x64.

Installation

Download Individual Script

Run as Administrator

Most batch scripts require administrator privileges. Right-click the .bat file and select “Run as administrator”.

Available Scripts

FixPrint

Clean print queue and resolve printing issues. Download:
Usage:
Features:
  • Stops print spooler service
  • Clears print queue
  • Removes stuck print jobs
  • Restarts print spooler

Mozilla Thunderbird Backup

Backup Thunderbird profiles to USB drive. Download:
Usage:
Features:
  • Automatic profile detection
  • USB drive backup
  • Profile preservation

Net Reset

Reset network configuration including proxy and NIC settings. Download:
Usage:
Features:
  • Reset TCP/IP stack
  • Clear DNS cache
  • Reset proxy settings
  • Reset network adapters
  • Winsock reset

Non-Essential Services

Disable or enable non-essential Windows services for performance optimization. Download:
Usage:
Features:
  • Performance optimization
  • Service management
  • Reversible changes
Disabling services may affect system functionality. Review the script before execution.

NVMe Optimizer

Optimize NVMe drive settings for better performance. Download:
Usage:
Features:
  • NVMe performance tuning
  • Registry optimizations
  • Power management adjustments

Regedit Backup

Backup Windows Registry to %HOMEDRIVE%\RegBackup. Download:
Usage:
Features:
  • Full registry backup
  • Automatic backup location
  • Timestamped backups
Backups are saved to %HOMEDRIVE%\RegBackup (typically C:\RegBackup)

Safe Boot

Boot Windows into different safe modes. Download:
Usage:
Modes:
  • minimal: Safe Mode
  • network: Safe Mode with Networking
  • normal: Normal boot mode

SMB Config

Configure SMB protocol settings (SMB1, SMB signing, insecure guest access). Download:
Usage:
Features:
  • Enable/disable SMB1 protocol
  • Configure SMB signing
  • Manage insecure guest access
  • Security configuration
SMB1 is deprecated and insecure. Only enable for legacy compatibility when absolutely necessary.

Unifi Network Server Setup

Install and configure Unifi Network Server on Windows. Download:
Usage:
Features:
  • Unifi Controller installation
  • Dependency setup
  • Service configuration

Uniform Server Configuration

Configure Uniform Server (MySQL/Apache) with custom ports and run modes. Download:
Usage:
Features:
  • Change MySQL port
  • Change Apache port
  • Set portable mode
  • Set permanent installation
  • Configure system startup

VTools QEMU/KVM

Setup virtualization tools (Spice, VirtIO, WinFsp) as Windows services. Download:
Usage:
Features:
  • Spice guest tools
  • VirtIO drivers
  • WinFsp installation
  • Service configuration

WMIC

Add or remove WMIC (Windows Management Instrumentation Command-line) tool. Download:
Usage:
Features:
  • WMIC installation
  • WMIC removal
  • Windows 11 compatibility
WMIC is deprecated in Windows 11 but can be restored for legacy script compatibility.

General Usage Guidelines

Prerequisites

  • Windows 10 or Windows 11 (x64)
  • Administrator privileges
  • Execution policy configured for scripts

Running Batch Scripts

  1. Download the script
  2. Right-click and select “Run as administrator” Or from an elevated command prompt:

Safety Tips

  • Always review script contents before execution
  • Create system restore point before running system modification scripts
  • Test in a non-production environment first
  • Keep backups of important data and configurations

Common Use Cases

  • FixPrint: Resolve print spooler issues
  • Net Reset: Fix network connectivity problems
  • Safe Boot: Boot into safe mode for troubleshooting
  • Non-Essential Services: Disable unnecessary services
  • NVMe Optimizer: Optimize NVMe drive performance
  • SMB Config: Configure file sharing protocols
  • WMIC: Manage WMIC availability
  • Regedit Backup: Backup Windows Registry
  • Mozilla Thunderbird Backup: Backup email profiles
  • Unifi Network Server: Setup Unifi Controller
  • Uniform Server: Configure portable web server
  • VTools: Install virtualization guest tools

Download All Batch Scripts

Use the Python gitfolder utility to download all batch scripts:

License

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND. Always test in a safe environment first.