Discussion Locked

Auto login and lock

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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?

Thanks
JJB

2 replies

by lowlands

Don't know about the article.
But here is a link that describes how to set up autlogin on a XP workstation:
http://support.microsoft.com/kb/315231

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"

This discussion is closed to new replies.