Project

General

Profile

Feature #672

Reset a Lost Administrator Password on Windows Server 2012

Added by Daniel Curtis almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
User Management
Target version:
Start date:
10/08/2015
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

I recently needed access to a Windows Server to administer the system, however the previous administrator failed to record the password anywhere and I am unable to get in touch with the previous admin. This is the procedure I used to reset the password.

  • Reboot the system and press F8 before Windows loads up, this will bring up a menu.
  • From the menu select Safe Mode with command prompt.
  • Once the command prompt appears, run:
    secpol.msc
    
  • When the Local Security Policy editor appears go to Account Policies -> Password Policy
  • Click on the Password must meet complexity requirements then disable
  • Then Ctl + Alt + Del and choose Change a Password

Registry Hack

Hiren's Boot CD is an excellent tool, however if you've accidentally cleared the password instead of changing it, this will prevent logging in to the server since blank passwords are not allowed.

  • To fix this use an offline registry editor and modify the following registry key:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
    "LimitBlankPasswordUse"=dword:00000000
    
  • Or from the command line while the system is running:
    Reg.Exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 1 /f
    

Resources

History

#1 Updated by Daniel Curtis almost 5 years ago

  • % Done changed from 0 to 50
  • Status changed from New to In Progress

#2 Updated by Daniel Curtis over 4 years ago

  • Status changed from In Progress to Closed

#3 Updated by Daniel Curtis over 4 years ago

  • % Done changed from 50 to 70
  • Description updated (diff)
  • Status changed from Closed to In Progress

#4 Updated by Daniel Curtis over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 70 to 100

Also available in: Atom PDF