Enable local Administrator account (Win7 / Vista)
![]()
Of course, an administrator account can be enabled quite easily by standard route, through control panels and subsequent management of local accounts, but usually a person encounters a blocked administrator account only if he has no other option than to log in to the system (or no longer has any authorization account administrator).
Then all standard roads are inaccessible and to solve the problem it is necessary to descend one floor below.
In the following text, we will describe a total of three methods of how to enable a blocked account.
In a situation where it is no longer possible to log in to the station, or to log in using accounts without administrator authority, only method III will help. using recovery mode.
Fast navigation
Method I – standard click path
For the sake of completeness, we will start with a completely standard path of permitting or blocking the administrator account.
It is advisable to know it, because it can be used to block the account after solving the given problem – it is not advisable for the administrator account to be allowed during normal work.
{Googleads Left}
Let’s start the console Local users and groups One of the following ways:
Start -> run -> and enter lusrmgr.msc (console snap-in name).
Start -> control panel -> user accounts -> manage user accounts.
in dialogue User accounts on the tab refinement We select the button Specify.
Local users and groups (console)
Down arrow icon near the account Administrator (A Guest) indicates that the account is blocked.
Tap the selected account to see its details, and uncheck the account can be enabled.
Administrator account – Properties
Method II – Command Prompt
The command line can serve as a faster alternative to the first click path, but it comes mainly in cases where we can no longer log into the system by default and are in one of the safe modes (see below).
The Net User command is used for account manipulation and its use is as follows:
- NET USER – Lists local users.
- Net User Administrator – Lists the user information about the Administrator.
- Net User Administrator * – Changes the password of the Administrator account.
- Net User Administrator / Active: YES – Enables the administrator account.
It is important to have the console running with administrator privileges (if we are logged in as a regular user), because otherwise the information will be displayed, but it will not be possible to change it (unblock the account).
Method III – Recovery mode
We have to use this method if it is no longer possible to log into the system in the usual way.
Recovery mode is a special mode, or A tool that serves to repair a broken system.
From it, we will use the command line, which will allow us to unblock the administrator account directly (see Method II) or using the register editor, which we will start from the command line.
{Googleads Left}
If we want to get into recovery mode, we will need an installation DVD with Windows 7, or we will create a repair disk for this purpose (System Repair Disc).
The problem is, of course, that we need functional Windows 7 to create a service disk. We also take care of the system architecture, and therefore we will repair the x86 (or x64) architecture with the corresponding installation or service disk of the same architecture.
Running the Repair Mode from the Installation DVD (Win7)
We insert the installation DVD into the drive and restart the computer.
We ensure that the computer loads the system from the DVD drive and thus starts the installation process of Windows 7.
After loading the initial files, it stops at the language selection phase and other presets, as shown in the following figure.
Recovery – Installing Windows 7
Already at this stage we can press Shift + F10, which is the keyboard shortcut that runs the command line.
Recovery – Installing Windows 7
After pressing Shift + F10, the command line will start.

Recovery – Command Prompt
At this stage, we have an environment in which we can perform system repairs, so we can enable the administrator account, among other things.
The advantage of this environment is that we have administrative rights available without to have to log into the system.
ToWe can also use the console to change the password of any (local) account, etc.
Attention, the console has limited options, do not expect full-fledged functions from it, as the command line offers in standard mode of running Windows.
{Googleads Left}
Now we have two options.
We either use commands NET USER (as described in the previous paragraph for the second method) and we enable the account like this.
If for some reason this method does not work, we can start enabling the account via registry modifications.
Unblocking by modifying the registry
From the command line, we can start the Registry Editor by entering the command:
regedit
A well-known editor will start as shown in the following image.
In it we mark the branch HKEY_LOCAL_MACHINE.

Recovery – editing the registry
We load a subregister from the file into this branch.
in the menu File We select the item Loading a hive …
Recovery – editing the registry
In the dialog box, we scroll SAM file:
<sys_unit>: \ Windows \ System32 \ config \ sam
Recovery – editing the registry
It is a file of the part of the registry in which, among other things, the settings of the built-in Administrator account are stored.
The system prompts us to name the branch into which the selected sub-register is loaded.
We choose anything reasonable (we choose sam_reg).
Recovery – editing the registry
in a branch HKEY_LOCAL_MACHINE The subregister branch (sam_reg) will appear, so we gradually flip the branch:
HKEY_LOCAL_MACHINE \ sam_reg \ sam\ domains \ account \ users \ 000001f4
And in the right part of the window, we select the item F (reg_binary) And we choose the option To change.
Recovery – editing the registry
In the following window, we are interested in the line starting 0038 And that immediately his The first column.
If the administrator account is blocked, there is a value 11.
Recovery – editing the registry
Our goal is to change this value to 10, thereby unblocking the administrator account.
Attention. Poorly edited registry edits can cause Windows damage.
Therefore, make changes very carefully and only where you know that you really can!
So we click the mouse after the given number so that the blinking cursor appears and simply press the Backspace key to delete the value 11 and then write the value 10.
The result must look exactly as in the following picture:
Recovery – editing the registry
With this step, we unblocked the administrator account and now just restart the computer and let it boot into standard mode.
If we know the administrator password, there should be no more problem with local login.
If by chance we don’t know the password, we will also use the command line to change/set it before leaving the correction mode.
After that, we just close all the open windows and end the installation process itself by closing the installation window.
This will restart the computer.
Source:www.mrpear.net



















