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?
LVL 1
midfdeAsked:
Who is Participating?
 
HeliumhighConnect With a Mentor Commented:
"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!
0
 
midfdeAuthor Commented:
"/domain" switch is essential.
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.