remote desktop lock

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.
2 answers Last reply
More about remote desktop lock
  1. 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/scriptcenter/default.mspx
  2. 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/scriptcenter/default.mspx
Ask a new question

Read More

Remote Desktop Microsoft Windows XP