3.bat先关闭休眠,再睡眠,再打开休眠,打开关闭休眠需要管理员权限
C:\Windows\System32\powercfg.exe /hibernate off
C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0
C:\Windows\System32\powercfg.exe /hibernate on
http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/b3abcca3-f24b-467a-8418-4327414e80f3
As per this thread , have you tried typing "powercfg /hibernate off" into an elevated Command Prompt?
Also, try " rundll32.exe powrprof.dll,SetSuspendState 0,1,0" with the numbers at the end. This specifically tells Windows Vista to sleep rather than to hibernate.
亲测有效
必须先运行下
powercfg /hibernate off
再运行
rundll32.exe powrprof.dll,SetSuspendState 0,1,0