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:- Stops print spooler service
- Clears print queue
- Removes stuck print jobs
- Restarts print spooler
Mozilla Thunderbird Backup
Backup Thunderbird profiles to USB drive. Download:- Automatic profile detection
- USB drive backup
- Profile preservation
Net Reset
Reset network configuration including proxy and NIC settings. Download:- 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:- Performance optimization
- Service management
- Reversible changes
NVMe Optimizer
Optimize NVMe drive settings for better performance. Download:- NVMe performance tuning
- Registry optimizations
- Power management adjustments
Regedit Backup
Backup Windows Registry to%HOMEDRIVE%\RegBackup.
Download:
- 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:- 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:- Enable/disable SMB1 protocol
- Configure SMB signing
- Manage insecure guest access
- Security configuration
Unifi Network Server Setup
Install and configure Unifi Network Server on Windows. Download:- Unifi Controller installation
- Dependency setup
- Service configuration
Uniform Server Configuration
Configure Uniform Server (MySQL/Apache) with custom ports and run modes. Download:- 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:- Spice guest tools
- VirtIO drivers
- WinFsp installation
- Service configuration
WMIC
Add or remove WMIC (Windows Management Instrumentation Command-line) tool. Download:- 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
-
Download the script
-
Right-click and select “Run as administrator”
Or from an elevated command prompt:
Safety Tips
Common Use Cases
System Troubleshooting
System Troubleshooting
- FixPrint: Resolve print spooler issues
- Net Reset: Fix network connectivity problems
- Safe Boot: Boot into safe mode for troubleshooting
Performance Optimization
Performance Optimization
- Non-Essential Services: Disable unnecessary services
- NVMe Optimizer: Optimize NVMe drive performance
System Configuration
System Configuration
- SMB Config: Configure file sharing protocols
- WMIC: Manage WMIC availability
Backup & Recovery
Backup & Recovery
- Regedit Backup: Backup Windows Registry
- Mozilla Thunderbird Backup: Backup email profiles
Server Setup
Server Setup
- Unifi Network Server: Setup Unifi Controller
- Uniform Server: Configure portable web server
- VTools: Install virtualization guest tools