Wil
December 5th 03, 08:08 PM
How to created a shortcut in my desktop for locking or
log off my computer in Win XP Pro?
Torgeir Bakken (MVP)
December 5th 03, 08:09 PM
Wil wrote:
> How to created a shortcut in my desktop for locking or
> log off my computer in Win XP Pro?
Try
%SystemRoot%\System32\rundll32.exe user32.dll,LockWorkStation
(same as Window Key-L). Note that the part after the comma is case sensitive.
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.