This application is 2 parts:
- No Sleep with Running VM runs on the host and will prevent your host from entering sleep mode when a VM is running and also listens for volume adjustments sent from 2nd app running on client.
- GuestKeyHooker runs on the client which monitors multimedia keyboard volume control input and passes them to the host.
Add "Microsoft Visual Studio Installer Projects" extension to Visual Studio so you can use the Setup projects.
Build "SetupNoSleep" project, then right-click the project and click install (or, if host will be a different computer, copy the setup.exe or SetupNoSleep.msi file to the intendend host and install).
Build "SetupGuestKeyHooker", then browse to the compiled Setup.exe or SetupGuestKeyHooker.msi file and copy/install it on client.
Start No Sleep with Running VM on host, right-click icon on taskbar and open settings. Select options you want enabled, if using SignalR to monitor for volume keys you may need to restart app after saving changes.
Start Guest Key Hooker on client, right-click icon on taskbar, set the ip/port to include IP of host machine that you can ping from client and the port specified for SignalR on the host.