>Unlocking a User Account from Command Line

>

Today I fat-fingered a password many times while trying to log into one of our project servers. Our domain accounts have been put into the Administrators group on that server but through Group Policy (or some other mechanism) we cannot load any MMC snap-ins. To get around that we’ve been given a single local administrator account. That’s the account I locked up. I sent off a request to get the account unlocked but being impatient I started looking for a way to unlock a user account through the command line. Here’s how (replace <username> with the actual username):

C:> net user /Active:YES <username>

Advertisements

6 thoughts on “>Unlocking a User Account from Command Line

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s