August 29, 20214 yr Hello - i successfully installed the Windows 11 VM but haven’t been able to figure out how to automatically sleep/hibernate the VM so that my server resources can be freed up for other uses when I’m not actively accessing the VM. Is there such a setting available either within Unraid or Windows VM itself (i.e. After 30 mins of inactivity, the VM either sleeps or hibernates)? The goal is simply to prevent power usage + free up my RAM/CPU/disk usage when i’m not actually using the VM. After i’ve figured out the above - the next thing i want to figure out is how to then wake up the machine again using my remote desktop software (Anydesk). I believe Anydesk has the ability to send a WOL packet, but i want to first figure out how to sleep the VM before i do this next step.
December 30, 20214 yr Same Question, I tried this but not showing up. Also tried to add this to the xml <pm> <suspend-to-mem enabled='yes'/> <suspend-to-disk enabled='yes'/> </pm>
January 16, 20224 yr Looking for an answer to this too - just working out what I can do with VMs and what's possible. Cheers.
January 17, 20224 yr On 8/29/2021 at 9:58 AM, Linguafoeda said: After i’ve figured out the above - the next thing i want to figure out is how to then wake up the machine again using my remote desktop software (Anydesk). I believe Anydesk has the ability to send a WOL packet, but i want to first figure out how to sleep the VM before i do this next step. If you want WOL functionally for the VM, you need to install: Wake On Lan support plugin (prereq for #3) NerdPack plugin - to select and install Python 2 (prereq for #3) Virtual Machine Wake On Lan plugin VM sleep works out of the box (once user agent is installed), I've not had any issues using it... well other than the same flakiness windows exhibits in bare metal when waking sometimes. Not tried hibernate, but I know there was a setting in the VM Manager to change the default shutdown action, if that helps. I would have expected hibernate to work if fully enabled in the OS itself.
April 7, 20224 yr Author On 1/16/2022 at 7:09 PM, tjb_altf4 said: If you want WOL functionally for the VM, you need to install: Wake On Lan support plugin (prereq for #3) NerdPack plugin - to select and install Python 2 (prereq for #3) Virtual Machine Wake On Lan plugin VM sleep works out of the box (once user agent is installed), I've not had any issues using it... well other than the same flakiness windows exhibits in bare metal when waking sometimes. Not tried hibernate, but I know there was a setting in the VM Manager to change the default shutdown action, if that helps. I would have expected hibernate to work if fully enabled in the OS itself. @tjb_altf4 I installed "python-2.7.11-x86_64-2.txz" as well as both WoL / VM WoL plugins. Do i need to do anything else?
April 7, 20224 yr 2 minutes ago, Linguafoeda said: @tjb_altf4 I installed "python-2.7.11-x86_64-2.txz" as well as both WoL / VM WoL plugins. Do i need to do anything else? For physical machines, you may need to enable WOL, which sometimes gets obfuscated under different named settings. For VMs, WOL should work once those prereqs are in place. Under Settings > Wake On LAN, you will find a network scan tab to find computers... if yours doesn't show you can add the MAC address manually.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.