Linguafoeda Posted August 29, 2021 Share Posted August 29, 2021 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. Quote Link to comment
lordfiSh Posted December 30, 2021 Share Posted December 30, 2021 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> Quote Link to comment
PitRejection2359 Posted January 16, 2022 Share Posted January 16, 2022 Looking for an answer to this too - just working out what I can do with VMs and what's possible. Cheers. Quote Link to comment
tjb_altf4 Posted January 17, 2022 Share Posted January 17, 2022 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. Quote Link to comment
Linguafoeda Posted April 7, 2022 Author Share Posted April 7, 2022 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? Quote Link to comment
tjb_altf4 Posted April 7, 2022 Share Posted April 7, 2022 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. Quote Link to comment
Recommended Posts
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.