Windows 7 machines falling into hibernation unable to be woken by RDP connect .

Andre P
Andre P used Ask the Experts™
on
I have a some of computers on the network which fall into hibernation mode such that they cannot be woken by anything except direct manipulation of mouse and keyboard . These need to be accessed remotely and represent a problem .  This is a relatively new phenomenon
and I was wondering if you guys heard of a patch or update that has been causing this .
In some cases I am able to ping but not rdp  i am unable to send a remote reboot either.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
Go to device manager, network adapters, right click go to properties of the adapter, Power Management Tab, and check the box "Allow this device to wake the computer. See if that helps.
Commented:
Check whether the network adapter on the target computer supports Wake On LAN. Enable the function in the network adapter settings or in any special management program that came with it. If the network adapter is integrated on the motherboard, enable Wake On LAN in the motherboard BIOS.
or
Download and install WakeOnLanGui from www.depicus.com.

https://blog.codinghorror.com/remotely-waking-up-your-pc/
Tom CieslikIT Engineer
Distinguished Expert 2017

Commented:
Wake On LAN it's a BIOS feature.
Check if in your BIOS you have this feature and if is enabled.
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

Edward PamiasTeam Lead RRS Desk
Top Expert 2016

Commented:
@Dj I think he wants it to wake up when he remotes into it.
@Andre do you want to wake it up when you RDP, if not Dj's solution will work for you.
Software & Systems Engineer
Commented:
The solution proposed by Edward is "Wake On Lan " and usually requires some BIOS settings...you need the specific model of the motherboard/ to check where is the feature to enable it.
Also you need Magic Packets to wake the machine in question....this can be done by a number of utilities floating on the Internet they are also available for smartphones...last but not least ...all this packets use port 9 so you need to make the necessary adjustments to the firewall..
If these are all too much you need to enter from elevated command line the following command
powercfg -h off 

Open in new window

Commented:
Thanks Edward
In that case
Check  Wake on Magic Packet under Advanced tab is set to Enabled.
also
check  all options under Power Management tab enabled

Author

Commented:
I would rather them not hibernate at all... As I said this just started happening recently .
The users left the computers on but for some reason they have begin to hibernate and not wake up remotely .
Edward PamiasTeam Lead RRS Desk
Top Expert 2016
Commented:
If that's the case you can go to control panel power management and turn it off.

Author

Commented:
Do we have a GPO setting that does this ? It may have been set in a GPO that has since been removed . Perhaps that is the cause .
Edward PamiasTeam Lead RRS Desk
Top Expert 2016
Commented:
Launch Local Group Policy Editor (gpedit.msc)
    Navigate to Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings.
    Open Policy called Allow Standby States (S1-S3) When Sleeping (Plugged In) and set value do Disabled.

Author

Commented:
Edward , This will then allow the computer to wake on  RDP or remote reboot etc ?
Edward PamiasTeam Lead RRS Desk
Top Expert 2016
Commented:
The PC won't be asleep any more, this disables sleep mode. So when you RDP in the PC will be waiting for you with a cup of coffee. :)
John TsioumprisSoftware & Systems Engineer

Commented:
With the command i posted hibernation is turned off so the machines won't hibernate
Edward PamiasTeam Lead RRS Desk
Top Expert 2016
Commented:
@John he wanted to use GPO for the disabling of the sleep mode. As for that command you supplied that will come in handy in my environment. Thank you! :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial