Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

i'm connecting from a windows xp sp2 to another windows xp sp2 thru remote
desktop. how can i send ctr+alt+del command to the remote pc to be able to
lock it. i dont want to use the screen saver of windows. thank in advance
for your help.

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

Jefrey Silang wrote:
> i'm connecting from a windows xp sp2 to another windows xp sp2 thru remote
> desktop. how can i send ctr+alt+del command to the remote pc to be able to
> lock it. i dont want to use the screen saver of windows. thank in advance
> for your help.
>
>
Hi,

You can use the following command:

rundll32.exe user32.dll,LockWorkStation

(note: the LockWorkStation part 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/s [...] fault.mspx

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

Thanks a lot!

"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:eXk2PqLqFHA.4036@TK2MSFTNGP10.phx.gbl...
> Jefrey Silang wrote:
>> i'm connecting from a windows xp sp2 to another windows xp sp2 thru
>> remote desktop. how can i send ctr+alt+del command to the remote pc to be
>> able to lock it. i dont want to use the screen saver of windows. thank in
>> advance for your help.
>>
>>
> Hi,
>
> You can use the following command:
>
> rundll32.exe user32.dll,LockWorkStation
>
> (note: the LockWorkStation part 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/s [...] fault.mspx

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > remote desktop lock
Go to:

There are 1196 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them