To restart: shutdown -r -t 0To log off: shutdown -l -t 0To hibernate XP: rundll32.exe PowrProf.dll, SetSuspendState HibernateTo put Vista to sleep: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Having failed to find a backup package that will do this, I aminvestigating using a script to do it for me. I have found a VBScript"command" that was said to do the hibernate function I'm looking for,as follows:Set objshell = CreateObject("Wscript.Shell")objshell.Run "rundll32.exe PowrProf.dll SetSuspend State Hibernate"but when I run this script, I get an error box titled "RUNDLL" withthe text:Error in PowrProf.dllMissing entry:SetSuspendStateand, of course, nothing else happens.Can anyone help me solve this problem?
rundll32 exe powrprof dll setsuspendstate hibernate
DOWNLOAD: https://urluso.com/2vHgXG
The command [shutdown /h] did not work on my XP as well. However the command[%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState] works just fine (as of now [10/27/2016]). I login as the admin all the time on my home PC. Thanks! 2ff7e9595c
Comments