• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5815
  • Last Modified:

How do I unlock a user account from command line prompt?

Assuming I am a domain administrator, how can I see and unlock a user account in my domain by means of Windows command line either in CMD shell or in PowerShell?
2 Solutions
"net user" will show you all the current users and "net user USERNAME /active:yes" will activate it. More user account commands can be by running "net help user"

Happy unlocking!
midfdeAuthor Commented:
"/domain" switch is essential.

Featured Post

Exciting career futures for women in IT

Education has the power to transform lives and open the door to new career opportunities. By earning an IT degree from WGU, you can become a highly skilled IT professional. Get the credentials and certifications you need to become a leader in this rewarding field.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now