General discussion

Locked

Accessing Standby

By cabledude ·
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

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Accessing Standby

by saihib In reply to Accessing Standby

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/

Collapse -

Accessing Standby

by saihib In reply to Accessing Standby

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

Collapse -

Accessing Standby

by saihib In reply to Accessing Standby

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.

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums