Discussion Locked

Accessing Standby

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

I am trying to create a shorcut somewhat like the "Lock Workstation" shortcut in windows 2000, except I'm using XP and I put my Laptop in standby a lot and want to create a shortcut to do it on the fly, the one I use for lock is this:

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

I tried replacing the "LockWorkStation" with "Standby" but that didn't work. Does anyone have any suggestions?

Thanks in Advance

3 replies

by saihib

I understand what you're trying to do. I'm trying to do the same thing myself but I don't know which .dll to invoke to make the machine Standby. There is a free utility that will do what you want in two clicks. Check it out.

http://www.winutility.com/qsd/

by saihib

Actually, it will do it in one click. I like it so much I installed it on my laptop.

by saihib

OK, I got it. Right click on your desktop and select New/Shortcut. In the path section type, EXACTLY (you don't need to type a full path here):

rundll32 powrprof.dll,SetSuspendState

Call the shortcut whatever you want. Now, and this is very important, make sure that Hibernation is disabled in Power Options/Hibernate. If you double-click it with the Hibernate option checked, it will immediately enter Hbernation. Leaving Hibernation disabled forces XP into Standby.

This discussion is closed to new replies.