﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
18549,Windows host wakes from standby mode constantly => Fixed in SVN,Daniel Karsubka,,"I already posted this elsewhere, but it was recommended I open a ticket.

Virtualbox in its current versions 5 and 6 wake up Windows hosts from standby mode.

Executing
powercfg -lastwake
shows that VBoxSVC.exe is the cause.


The root cause for this is here in line 192:
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Main/src-server/win/HostDnsServiceWin.cpp#L192

SetWaitableTimer is called with the last parameter being ""true"". The last parameter is whether or not to resume the system when in standby mode. There is no reason to wake up the host every few seconds. It is also the only occurrence in the project.
Change it to ""false"", recompile, republish and the problem should be gone.

https://docs.microsoft.com/en-us/windows/desktop/api/synchapi/nf-synchapi-setwaitabletimer

Thank you very much!",defect,closed,other,VirtualBox 6.0.4,fixed,sleep suspend wake resume standby,,all,Windows
