Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/maravento/vault/llms.txt

Use this file to discover all available pages before exploring further.

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

curl -o script.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/<script-name>.bat

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:
curl -o fixprint.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/fixprint.bat
Usage:
REM Run as Administrator
fixprint.bat
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:
curl -o mtpbackup.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/mtpbackup.bat
Usage:
mtpbackup.bat
Features:
  • Automatic profile detection
  • USB drive backup
  • Profile preservation

Net Reset

Reset network configuration including proxy and NIC settings. Download:
curl -o netreset.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/netreset.bat
Usage:
REM Run as Administrator
netreset.bat
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:
curl -o nonservices.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/nonservices.bat
Usage:
REM Run as Administrator
nonservices.bat disable  REM Disable non-essential services
nonservices.bat auto     REM Re-enable services (set to automatic)
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:
curl -o nvmeoptimizer.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/nvmeoptimizer.bat
Usage:
REM Run as Administrator
nvmeoptimizer.bat add     REM Apply optimizations
nvmeoptimizer.bat remove  REM Remove optimizations
Features:
  • NVMe performance tuning
  • Registry optimizations
  • Power management adjustments

Regedit Backup

Backup Windows Registry to %HOMEDRIVE%\RegBackup. Download:
curl -o regbackup.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/regbackup.bat
Usage:
REM Run as Administrator
regbackup.bat
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:
curl -o safeboot.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/safeboot.bat
Usage:
REM Run as Administrator
safeboot.bat minimal   REM Safe boot minimal
safeboot.bat network   REM Safe boot with network
safeboot.bat normal    REM Normal boot
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:
curl -o smbconf.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/smbconf.bat
Usage:
REM Run as Administrator
smbconf.bat
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:
curl -o unifisetup.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/unifisetup.bat
Usage:
REM Run as Administrator
unifisetup.bat
Features:
  • Unifi Controller installation
  • Dependency setup
  • Service configuration

Uniform Server Configuration

Configure Uniform Server (MySQL/Apache) with custom ports and run modes. Download:
curl -o uzeroconf.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/uzeroconf.bat
Usage:
uzeroconf.bat
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:
curl -o vtools.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/vtools.bat
Usage:
REM Run as Administrator
vtools.bat
Features:
  • Spice guest tools
  • VirtIO drivers
  • WinFsp installation
  • Service configuration

WMIC

Add or remove WMIC (Windows Management Instrumentation Command-line) tool. Download:
curl -o wmic.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/wmic.bat
Usage:
REM Run as Administrator
wmic.bat add     REM Install WMIC
wmic.bat remove  REM Remove WMIC
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
    curl -o script.bat https://raw.githubusercontent.com/maravento/vault/master/scripts/batch/script.bat
    
  2. Right-click and select “Run as administrator” Or from an elevated command prompt:
    script.bat
    

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:
REM Download gitfolder.py first
curl -o gitfolder.py https://raw.githubusercontent.com/maravento/vault/master/scripts/python/gitfolder.py

REM Install Python 3 if not already installed, then:
python gitfolder.py https://github.com/maravento/vault/scripts/batch

License

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

Build docs developers (and LLMs) love