short cut for locking windows

G

Guest

How do you get a short cut on your tool bar so you can click on it to lock
your pc instead of doing ctrl alt delte. Also if there is a short cut for
keyborad macros to do so as well . for OS windows XP

Thanks
 
D

Dave Patrick

Put this line in the shortcut's 'Target'
%systemroot%\System32\rundll32.exe user32.dll,LockWorkStation


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top