General discussion


Auto login and lock

By SmilingSheep ·
Awhile back on one of the numerous TechRepublic e-mails I receive, an article was posted about how to set-up a system to automatically login and immediately lock a windows XP computer when it restarted. Can someone point me to or re-post the article?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by lowlands In reply to Auto login and lock

Don't know about the article.
But here is a link that describes how to set up autlogin on a XP workstation:

And this simple vbscript will lock the workstation, create it and put it in the startup folder.

On Error Resume Next

Set objShell = CreateObject("Wscript.Shell")
objShell.Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"

Collapse -


by info In reply to does autologon then lock automatically :-)

Related Discussions

Related Forums