Project

General

Profile

Feature #672

Updated by Daniel Curtis almost 8 years ago

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: 
 <pre> 
 secpol.msc 
 </pre> 

 * 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+ 

 h3. 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: 
 <pre> 
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] 
 "LimitBlankPasswordUse"=dword:00000000 
 </pre> 

 * Or from the command line while the system is running: 
 <pre> 
 Reg.Exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 1 /f 
 </pre> 

 h2. Resources 

 * http://www.yancylent.com/blog/2012/09/10/how-to-disable-password-complexity-requirements-in-windows-server-2012/ 
 * http://superuser.com/questions/106917/remote-desktop-without-a-password 
 * http://www.speedguide.net/faq/how-to-connect-using-remote-desktop-without-a-password-435

Back