A PowerShell utility that fixes USB devices preventing your Windows PC from entering sleep mode.
- 🔧 Fix audio devices (headsets, speakers, microphones)
- 🔌 Fix all USB devices (mice, keyboards, etc.)
- 🔍 Check current sleep blockers
⚠️ Safe removal options (undo changes)- 🚀 Persistence mode (auto-run on startup)
- Open run.bat and accept admin privileges
- Select from simple menu options
- Let the tool handle the rest
Ideal for troubleshooting headsets (like ASTRO A50), audio interfaces, and other USB devices that interfere with sleep mode.
To automatically apply fixes on system startup:
- Select option 6: "Make Fixes Persistent"
- The tool will create a scheduled task that:
- Runs at startup with 3-minute delay
- Executes in SYSTEM context
- Logs results to
USB-SleepFix-Persistence.log
Note: Persistent mode waits 45 seconds for device initialization before applying fixes
USB-SleepFix.ps1- Main PowerShell scriptrun.bat- Launcher (Always Run as Administrator)USB-Sleep-Fix-History.txt- Tracks fixed devices (for safe removal)USB-SleepFix-Persistence.log- Silent mode operation log
