Last Updated: 2026-05-25
Windows workstation sleep transitions often drop active input hooks for utility programs like X-Mouse Button Control (XMBC) and SmoothScroll, rendering keybinds and scroll-modifiers inoperable until manual application restarts.
A local PowerShell script triggered by Windows Event Viewer (Event ID 107 - system resuming from low-power state) cleanly terminates hanging processes and relaunches XMBC and SmoothScroll:
Stop-Process -Name "XMouseButtonControl" -Force
Start-Process -FilePath "C:\Program Files\Highresolution Enterprises\X-Mouse Button Control\XMouseButtonControl.exe"