Delete user from command line

by admin on May 24, 2009

Use the below commands to delete a user from command line.

To delete a local user account:

net user username /DELETE

To delete a user from domain:

net user username /DELETE /DOMAIN

You need to have domain administrator previliges to perform this operation. Note that we do not need to specify the domain name in this command.

Related Posts:
Add new user account
Get user names from command prompt

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: