shutdown /h nircmd hibernate psshutdown - h wizmo hibernate Turn off the monitor screen nircmd monitor off wizmo monoff Log off the current user nircmd exitwin logoff psshutdown -o wizmo logoff Lock screenĮven though pressing Win + L is much easier, you can still do it with the command lines. Well, the Windows built-in command line Shutdown does come with an option to hibernate a computer. Put a Windows into Sleep nircmd standby psshutdown - d wizmo standby Put a Windows into hibernate Wizmo – another extremely useful command line utility.Īnd now let’s see how they work in action.It’s part of the excellent Sysinternals suite. PSShutdown – a small command line utility that is similar to Windows built-in shutdown utility.NirCmd – a small but powerful command line utility by NirSoft that also provides tons other useful utilities.There are two places that you can usually go to put your PC into sleep or hibernate mode, either the Shutdown option in the Start menu or the Shut Down Windows dialog box by pressing the Alt + F4 key combination on the desktop.īut if you want to do it from a command line so you can put it in a scheduled job or a batch file, you are out of luck but to look for the other alternatives.