How to recover my deleted administrator account? -Windows 10

When installing the Windows 10 operating system on our computer , it is essential to create an administrator account which will allow us to make the pertinent changes that will affect other users of the system, that is, it will allow us to access and modify the actions to be carried out within our operating system.

 

 

Sometimes special administrator permissions are required to carry out certain changes or configurations in our system, at the software and even hardware level. Therefore, if you got to delete this account and do not know how to recover it, today we will teach you the existing methods and the way in which you can recover it .

Index( )

  1. What methods are there to recover your administrator account?
    1. Using admin ‘command prompt’
    2. From the group policy editor
  2. How to recover your accidentally deleted administrator account?
    1. With commands in CMD
    2. Recover it from security options in group policies

What methods are there to recover your administrator account?

There are ways in which you can recover your administrator account, but it is important that before solving the problem you take into account certain considerations, you should verify the number of accounts on your team and make sure the type of account you deleted, Microsoft or local account .

One of the methods that are commonly used for this type of case is the use of the command prompt in administrator mode , and the gpedit.msc or the group policy editor. Here are two solutions that can help you recover the administrator account.

Using admin ‘command prompt’

It is a text-based program that has a graphical user interface that is used to execute the commands entered from the keyboard and thus perform different types of administrative functions in an advanced mode. So it is a safe method to recover or restore your account.

You can enter the Windows command prompt in different ways, either through the Windows search bar by entering the word ‘CMD’ or through the combination of the ‘Windows’ + ‘R’ keys, where you must enter CMD in the bar to open programs.

From the group policy editor

It is a powerful tool that allows you to make configurations on your machine or computer, with it you can modify those system options that are hidden or are not available to any user.

How to recover your accidentally deleted administrator account?

By deleting the administrator account you will no longer have superuser privileges , preventing you from making changes or configuring the software and even hardware of the computer. Therefore, you will not be able to modify the system to your liking. Next, we will indicate the guidelines to follow to recover the administrator account of your machine.

With commands in CMD

You must access the command prompt (CMD) in administrator mode, once you have opened the command window , then you must perform the following steps:

  1. Once the CMD is executed in administrator mode, you must execute the following command: net user administrator /active:yes
  2. The integrated administrator account will be activated,you must change your standard account to a local administrator account by executing: net localgroup administrators user /add
  3. You will need to create a new administrator account to be able to disable the account entered for security. You should go to: Start – Settings – Accounts

Once the new account is created, you must disable the previous account by executing the following from the console: net user administrator /active:no And finally you will have access to an administrator account.

Recover it from security options in group policies

You can make use of this administrative tool through the keyboard shortcut, by pressing the Windows + R keys , you must press the keys at the same time. A new ‘Run’ window will open, where you must write the word ‘gpedit.msc’ and select the ‘OK’ option, which will take you to the Directive Editor.

Being in the Windows Policy Editor, you must access ‘Computer Configuration’. The ‘Windows Settings’ folder will open, when you are there you must select the ‘Security Settings’ folder, then choose the ‘Local Policies’ option and finally ‘Security Options’.

While in the ‘Security Options’ folder, you must select the ‘Accounts: Administrator account status’ option .

Followed by the name, on the right side, the state it is in will appear, if it appears as ‘Disabled’ you must double click on it, to finally change its option to ‘Enabled’ where you must accept the changes made to conclude with the configuration.

In the event that none of these methods work for you, you can reset your computer to work better so that the administrator account is restored to its initial state. For this you must go to ‘Start’ > ‘Settings’ , while there you must select the ‘Update and security’ option and click on the ‘Recovery’ option.