Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to force an XP machine on a domain to login as a certain user and then lock upon boot?

share|improve this question

Use the AutoAdminLogon feature for an automatic logon. Locking could be accomplished by either setting up a screen saver which would fire after a short period of time and lock the workstation or by using psshutdown -l upon logon. Note that psshutdown requires administrative rights, so you would need to use the Task Scheduler to create a task that is run at interactive logon in the security context of the SYSTEM user. This is especially useful if you can't trust the user to have logon scripts run without interruptions (i.e. if you expect someone at the console who would be preventing script execution).

share|improve this answer

Yes, autologon and lock.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.