How to Enable Windows Build-in Administrator Account From Windows Recovery Environment
How to Backup Registry

    Warning
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. I cannot guarantee that problems resulting from modifications to the registry can be solved. These problems might require that you reinstall the operating system. Modify the registry at your own risk.


Before enabling Windows build-in Administrator account while Windows offline, learn how to backup and restore Windows registry.

When you invoke the Export function from "File > Export", you are given a choice of different file types that can be saved :


  • Registration Files (*.reg)
  • Registry Hive Files (*.*)
  • Text Files (*.txt)


If you export the registry as a Registration File with an REG file extension you can restore this backup by double clicking on it or from File > Import menu. Exporting to hive files is my choice most of the time. There is a undesirable disadvantage when you backup registry as Registration File reason is that the Registration File backup does not delete values or keys that has been created after you export registry as a Registration File backup it will only restores what has been backup but if you export registry as a hive file its much more accurate than either type of REG file. They are the same format as the Windows working hive files, so they represent settings exactly the same way. Also, when you import a hive file, Registry Editor deletes the branch it's replacing before importing the settings. In other words, the editor removes any settings that exist in the working registry but not in the hive file you're importing. When restoring keys from a backup after an unsuccessful registry edit, this is exactly the behavior you want. Their is only one  drawback that is you can't view them in Notepad.

Before making any changes in registry you should backup the SAM registry hive key settings.

From Registry Editor select the registry key which you want to backup and from menu bar click “File > Export”, select a location where you want to backup registry and give the registry backup a file name.

When you backup the registry as a hive file without file extension, you can undo the changes you have made in registry by clicking “File > Import” from Registry Editor menu bar and select the registry backup file.



How to Enable Windows Build-in Administrator Account

Windows has a hidden Administrator user account which is disabled by default this account can be enable within Windows Recovery Environment (WinRE) using Registry Editor and after enabling the Administrator user account any Windows user account password can be resetted or change from Command Prompt by typing Net User UserName * command, replace the “UserName” with name of the user account  that you want to change the user account login password and pressing Enter key twice for each prompt for to enter a password, this will reset the user account password.

Here's how to enable build-in Administrator user account from Windows Recovery Environment:

1. Open the Registry Editor by typing regedit into Command Prompt and press Enter key.

2. First select the HKEY_LOCAL_MACHINE key and click File > Load Hive.., load the SAM registry hive file from Windows\System32\Config directory.

3. You will be prompted to enter a temporary name for the loaded hive file, type Temp and click OK button.

How to Enable Windows Build-in Administrator Account From Windows Recovery Environment OVYFzy7

4. Navigate to “Temp\SAM\Domains\Accounts\Users\Names\Administrator” key.

How to Enable Windows Build-in Administrator Account From Windows Recovery Environment 1WKaD0S

5. The Type column of the Default value data indicates the registry key name under the “\Temp\SAM\Domains\Accounts\Users” key, select the key indicated by the Type column.

5. Edit the "F" value data navigate to position 0038 move the cursor to the beginning of position 0038 and press Del key and then type 10, click OK button and then unload the SAM hive by selecting the temporary key name where SAM is loaded, then from the menu bar click File > Unload Hive.

How to Enable Windows Build-in Administrator Account From Windows Recovery Environment E06wu8u

After you have reboot the system, you can log on and use the built-in Administrator user account.



Disable Build-in Administrator Account

Windows build-in Administrator account has full system privileges to make any changes to Windows, this account should not be use as regular user account for security reasons and should be disabled after you have finish your work within Administrator account.

1. To disable build-in Administrator account login to any user account that is member of the Administrators group.

2. Open the Command Prompt by typing cmd.exe into Start Screen or Start Menu, right-click on cmd.exe, and open it as an administrator.

3. Type following command and press Enter key.

Code:

Net User Administrator /active:no


Above command will disable the build-in Administrator user account. If needed you can enable it by entering following command.

Code:

Net User Administrator /active:yes