How can I disable a user account from the command line?
In Windows XP or 7.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communitynet user [username] /ACTIVE:NO [/DOMAIN]
Hint: only add the /DOMAIN flag if you're not dealing with local users.