A simple Windows batch script that provides a menu-based interface to toggle the Virtual Display Driver (VDD) on/off without using Device Manager.
- ✅ View current VDD status in real-time (Enabled/Disabled)
- ✅ Enable VDD with simple menu option
- ✅ Disable VDD with simple menu option
- ✅ Check detailed device information
- ✅ User-friendly menu interface with color-coded status
- ✅ Automatic return to menu after each action
- ✅ No external dependencies (uses built-in PowerShell)
- Windows 10/11
- Administrator privileges required
- PowerShell (built-in to Windows)
- Download
Toggle_VDD.batto your desktop - Right-click the file → Properties
- Click Advanced button (bottom-left)
- Check "Run as administrator"
- Click OK → Apply → OK
- Double-click
Toggle_VDD.bat(it will request admin privileges) - Select from the menu:
- Option 1: Enable VDD
- Option 2: Disable VDD
- Option 3: Check Status Only
- Option 4: Exit
- Remote desktop users who frequently toggle VDD
- Automation and scripting
- Quick device switching without manual Device Manager access
- Integration into batch automation workflows
- Uses PowerShell
Get-PnpDevicecmdlet - Detects device by friendly name "Virtual Display Driver"
- No DevCon.exe or external tools required
- Fully self-contained batch script
Script opens and closes immediately:
- Make sure it's running as Administrator
- Check that Virtual Display Driver is installed on your system
Device not found:
- Ensure Virtual Display Driver is installed
- Check Device Manager to confirm VDD is present
MIT License - Free to use and modify
Harinath PK (October 2025)