How can I disable a user account from the command line?
In Windows XP or 7.
net user [username] /ACTIVE:NO [/DOMAIN]
Hint: only add the /DOMAIN flag if you're not dealing with local users.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
5 years ago
1 year ago