Project

General

Profile

Actions

Feature #672

closed
DC DC

Reset a Lost Administrator Password on Windows Server 2012

Feature #672: Reset a Lost Administrator Password on Windows Server 2012

Added by Daniel Curtis about 10 years ago. Updated over 8 years ago.

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

100%

Estimated time:
0:30 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

DC Updated by Daniel Curtis about 10 years ago Actions #1

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

DC Updated by Daniel Curtis over 9 years ago Actions #2

  • Status changed from In Progress to Closed

DC Updated by Daniel Curtis over 9 years ago Actions #3

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

DC Updated by Daniel Curtis over 8 years ago Actions #4

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

Also available in: PDF Atom