top of page
  • Black Facebook Icon
  • Black YouTube Icon
  • Black Vimeo Icon
  • Black Instagram Icon
  • Black Twitter Icon

How to create a shortcut for rundll32 exe powrprof dll setsuspendstate hibernate

  • Writer: lestducpecoogokade
    lestducpecoogokade
  • Aug 18, 2023
  • 1 min read


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




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


 
 
 

Recent Posts

See All

Comments


© 2023 By Daria Hanks. Proudly created by WIX.COM

  • White Facebook Icon
  • White YouTube Icon
  • White Vimeo Icon
  • White Instagram Icon
  • White Twitter Icon
bottom of page