Suspend computer after backup is finished


Author
Message
JustDave
JustDave
New Member
New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)
Group: Forum Members
Posts: 3, Visits: 9
Hello everyone,
I added a bit of code to my .vbs files to suspend the computer after the backup is finished. Here is the code:

objShell.Run "rundll32.exe powrprof.dll,SetSuspendState 0,1,0"

I'm not sure where I got the code, but it worked until I installed Windows 10. Or maybe when I upgraded to Macrium V.6
Could someone please look at the code and tell me why it no longer works or just supply the correct code to make the computer 'sleep'
Thanks
JustDave






GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search