Orions Cache

A Treasure Trove of Technology Tidbits

  • Hardware
  • Software
  • Books
  • Subscribe
  • Bio
  • Archives
  • Virtualization
  • Windows
  • Exchange
  • Apple
  • Domains
  • Ironic
  • Linux
  • SQL
  • IIS
  • Tools

Resetting a Locked Out User Account

November 23, 2013 by Julia Morgan

resetting locked out user account

I am always remoting into servers and using complex passwords. This combination often causes problems because the timing of the Shift key is not always correct and I often find myself logged into a server but unable to use remote desktop to hop to another server because my account has been locked out. One way of unlocking a domain account is to use the “Active Directory Users and Computers” GUI from a domain controller. But, that’s not the fastest method, as I will demonstrate by showing the command line version of unlocking user logins.

  1. Open a command line prompt:
    • Open a DOS command prompt using Start | Run | CMD
      (Note: you must run this from a 2008 server or Windows 7/8. It won’t work on XP or 2003.)
  2. Type the unlock command:
    • Type command: net user login /domain /active:YES
      (Remember to replace the word “login” with the actual name of the user to be unlocked.)
  3. Validate the account is now usable:
    • Type command: net user login
    • Validate the user now responds as active

You will need to be logged in as a domain administrator to successfully reset a locked user account. So, if you run this and receive an error message it probably means you have insufficient privileges.



Filed Under: Domain Controllers Tagged With: CLI to unlock user account, command line unlocking login, make user active again, reset locked out user login, reset user account, unlock domain user, unlocking user without logging into domain server, using the net command

Search

Google
WWW orionscache.com

Blogroll

  • Amazon
  • Apple
  • Citrix
  • Dell
  • HP
  • Microsoft
  • Netapp
  • Oracle
  • Redhat
  • Splunk
  • VMware

Recent Posts

  • Exchange: Deleting Auditlog Mailbox
  • Restart Hub Services in Exchange 2010
  • Get the AD Forest Level
  • Patch your Adobe Flash for vulnerability CVE-2018-5002!
  • Making OS X Silent

Handcrafted with by Kendall Giles.
© 2018 Julia Morgan.
Privacy Policy | Affiliate Disclosure