How to put Windows 8.1 in Hibernate using Remote Desktop?

billsteiner

New Member
Messages
6
I had a PC running Windows 7 Pro with SP1, in a remote location, that I would wake up using WOL and then operate using Remote Desktop. At the conclusion of the session I would shut down the pc until I needed it again. I upgraded that PC and now find that WOL using Windows 8.1 will only work if the PC is in the Hibernate mode. That’s fine but I can’t find a way to put it in Hibernate using Remote Desktop. While using Remote Desktop my choices are limited to Disconnect and Sign out. There is no command line command to put the Windows 8.1 pc in hibernate mode.

Can anyone tell me how I can put the remote Windows 8.1 pc into hibernate at the end of a remote desktop session so I can restart it with WOL when needed again?
 

My Computer

System One

  • OS
    Windows 8 Pro
PsShutdown
The -h command is what you want.

Feel free to browse sysinternals, they have great utilities, like PsExec, which allows to execute processes remotely under whatever user you want, and all the networking utilities : Sysinternals Networking Utilities

I tried that but kept getting the following message:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.


C:\ psshutdown -h


PsShutdown v2.52 - Shutdown, logoff and power manage local and remote systems
Copyright (C) 1999-2006 Mark Russinovich
Sysinternals - Windows Sysinternals: Documentation, downloads and additional resources


Couldn't install PsShutdown service:
Access is denied.


If The local system is already performing a shutdown operation you must
abort it before issuing a different command.
 

My Computer

System One

  • OS
    Windows 8 Pro
Copy psshutdown.exe to your windows folder. Open a command prompt as administrator. Type psshutdown. Accept the license prompt. The PC will reboot and the service should now be running. Then you can enter commands. Keep in mind psshutdown -h will put your current pc in hibernation (not the remote). For a remote you'll have to specify its name and like so : psshutdown.exe \\remotepcname -h -u remoteadminuser -p remoteadminpassword
Replace remotepcname, remotedaminuser, remoteadminpassword with the correct info of course.
Using \\* will affect all computers on the domain.

More info :
PsShutdown | Joris's Blog
*** FAQ: Common PSTools Issues *** - Sysinternals Forums
Using PsShutdown and Shutdown Commands in Corporate Networks - Tips & Tricks
 
Last edited:

My Computer

System One

  • OS
    Windows 8.1 (x64)
    Computer type
    PC/Desktop
Back
Top