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 Email and Password
5 years ago
2 years ago