本文提到了修复Windows 11/10上禁用的管理员帐户的各种方法。要访问大部分功能,您需要 PC 上的管理员权限。而且,如果您由于某种原因无法访问管理员帐户,它可能会阻止您在计算机上执行很多操作。如果您面临禁用管理员帐户(disabled administrator account)的问题,请不要再犹豫了。在这里,我将讨论一些解决此问题的解决方案。
管理员帐户(Administrator Account)已在 Windows 11/10 上禁用
Windows 11/10上访问管理员帐户,可以尝试以下方法:
- 以安全模式重新启动 Windows
- (Activate Administrator)通过命令提示符(Command Prompt)激活管理员帐户
- 使用注册表编辑器
- 通过组策略编辑器修复它
- 创建一个新的管理员帐户
- 使用 PowerShell(Use PowerShell)启用隐藏的管理员帐户(Hidden Administrator Account)
让我们详细讨论这些解决方案!
1]以安全模式重新启动Windows
检查您是否可以在安全模式下(Safe Mode)以管理员身份登录Windows ,即使您的管理员帐户已被禁用。以安全模式启动 Windows:(boot Windows in Safe mode:)
- 按Windows + I快捷键打开设置(Settings)应用程序,然后转到 Updates & Security > Recovery选项卡。
- 转到高级设置(Advanced Setup)部分,然后单击立即(now)重新启动(Restart) 按钮。
- 当Windows尝试重新启动系统时,您将在屏幕上看到一些选项,包括疑难解答(Troubleshoot);点击它。
- 然后,单击Advanced options > Startup Settings,您将看到一个名为启用安全模式( Enable Safe Mode)的选项。
- 按为启用安全模式(Enable Safe Mode)选项分配的键,然后Windows将以安全模式启动。
在那里,看看您是否可以登录。一进入,执行以下操作:
- 打开计算机管理
- 展开本地用户和组
- 单击 Users(Click Users) ,在右窗格中右键单击Administrator
- 单击属性。
- 单击以清除帐户已禁用(Account is disabled) 复选框,然后单击确定。
2]通过命令提示符(Command Prompt)激活管理员(Activate Administrator)帐户
尝试使用命令提示符激活管理员帐户,看看它是否能够解决问题。您可以按照以下步骤操作:
- 首先,按住Shift键,然后点击登录屏幕上的重新启动选项。(Restart)这将带您进入高级启动选项(Advanced Boot Options)。
- 现在,单击Troubleshoot > Advanced Options > Command Prompt选项
- 选择一个用户帐户并输入密码。
- 当命令提示符(Command Prompt)打开时,在其中执行以下命令:
net user administrator /active:yes
- 重新启动您的 PC 并检查。
如果您的管理员帐户已禁用,上述建议将对您有所帮助。
以下建议将要求您以管理员身份登录。所以如果是别人的管理员(Admin)账号被禁用了,你可以尝试使用通常的方法重新启用它或者尝试这些建议。
3]使用注册表编辑器
使用方法(2)中提到的步骤打开命令提示符。(Command Prompt)现在,输入regedit
CMD并按(CMD)Enter按钮(Enter)。这样做将打开注册表编辑器(Registry Editor)。
在注册表编辑器中,选择左侧面板中的HKEY_LOCAL_MACHINE,然后单击File > Load Hive选项。
接下来,在您的 PC 上浏览以下位置:C:WindowsSystem32config
.
在这里,您将看到一个名为SAM的文件;单击并打开它。
现在,您需要在注册表编辑器(Registry Editor)中转到以下路径:
HKEY_LOCAL_MACHINE\SAM\Domains\Account\Users
在此位置,您将看到需要选择的000001F4键。(000001F4)然后,双击右侧的 F 二进制值。
现在,检查0038条目并查看显示 11 的第一列。将此值替换为 11/10。
最后,按 OK 按钮,然后关闭注册表编辑器(Registry Editor)和CMD以重新启动您的 PC。
这应该可以解决Windows 11/10上禁用的管理员帐户问题。
相关(Related):如何在 Windows 11/10中启用或禁用内置管理员帐户。(Enable or Disable built-in Administrator account)
4]通过组策略编辑器(Group Policy Editor)修复它(Fix)
组策略编辑器(Group Policy Editor)允许您配置多个策略并可用于控制用户帐户。您可以按照以下步骤使用它来修复Windows 10 PC上禁用的管理员帐户:
Windows Key + R热键打开运行(Run)应用程序。输入gpedit.msc然后点击 OK 打开Group Policy Editor。
在组策略编辑器(Group Policy Editor)中,转到以下选项:
Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options
您现在将在右侧面板中看到一个帐户:管理员帐户状态选项。(Accounts: Administrator account status)双击此选项,将打开一个属性窗口。(Properties)
确保选择了启用(Enabled)选项。如果没有,请单击它,然后按Apply > OK按钮。
5]创建(Create)一个新的管理员帐户(Administrator Account)
如果您仍然遇到禁用管理员帐户的问题,请尝试在您的 PC 上创建一个新的管理员帐户。您可以创建一个用户帐户,然后将其转换为管理员(Administrator)帐户。按照以下说明使用“设置”应用创建新的管理员帐户:(Settings)
- 打开“设置”(Settings)应用,然后转到“Accounts > Family & other users选项。
- 现在,从右侧面板中选择将其他人添加到此 PC选项。(Add someone else to this PC)
- 在下一个提示中,选择我没有此人的登录信息(I don’t have this person’s sign-in information)选项。
- 接下来,选择添加没有 Microsoft 帐户的用户(Add a user without a Microsoft account),然后输入您的帐户的首选名称和密码,然后按下一步(Next )按钮。
- 您现在将在“帐户(Accounts)”页面上看到新添加的帐户。要使其成为管理员(Administrator)帐户,请单击它,然后选择其下方的帐户类型(Account Type)选项。
- 将(Set)帐户类型(Account Type)设置为管理员,(Administrator)然后按确定(OK)按钮。
这将创建一个您可以开始使用的管理员帐户。
6]使用PowerShell(Use PowerShell)启用隐藏的管理员帐户(Hidden Administrator Account)
解决禁用管理员帐户问题的另一个技巧是尝试使用Powershell启用隐藏的管理员帐户。
按Windows + X键打开快捷菜单并从中选择Windows Powershell ( Admin ) 选项。
或者,转到搜索框并键入PowerShell,然后使用以管理员身份运行(Run as administrator)选项打开Powershell应用程序。
接下来,在Powershell中键入并执行此命令:
Enable-LocalUser -Name "Administrator"
这样做应该使您能够访问Windows 11/10上的管理员帐户。
希望本指南在您无法在Windows 11/10上访问您的管理员帐户时有所帮助。
现在阅读:(Now read:) 您的 IT 管理员已禁用 Windows 安全性(Your IT administrator has disabled Windows Security)
Fix Administrator Account has been disabled on Windows 11/10
Τhis article mentions variouѕ methоds to fix your dіsabled adminiѕtrator аccount on Windows 11/10. To acсess most of the featurеs, уou need administrator privilege on your PC. And, if you are not able to access the admіnistrator account for some reason, it can prevent уou from doing a lot of thіngs on your сomputer. If yoυ are facing a disabled administrator account problem, look no further. Here, I will be discussing some solutions to resolve this issue.
Administrator Account has been disabled on Windows 11/10
Here are the methods that you can try if you are unable to access the administrator account on Windows 11/10:
- Restart Windows in Safe Mode
- Activate Administrator account through Command Prompt
- Use Registry Editor
- Fix it through Group Policy Editor
- Create a new Administrator Account
- Use PowerShell to Enable Hidden Administrator Account
Let’s discuss these solutions in detail!
1] Restart Windows in Safe Mode
Check if you can log on to Windows as an administrator in Safe Mode even when your administrator account is disabled. To boot Windows in Safe mode:
- Open the Settings app by pressing Windows + I shortcut key and then go to Updates & Security > Recovery tab.
- Go to the Advanced Setup section and click on the Restart now button.
- As Windows attempts to restart your system, you will see some options on the screen including Troubleshoot; click on it.
- Then, click on Advanced options > Startup Settings and you will see an option called Enable Safe Mode.
- Press the key assigned for Enable Safe Mode option and then Windows will start in safe mode.
Once there, see if you can log in. One in, do the following:
- Open Computer Management
- Expand Local Users and Groups
- Click Users, right-click Administrator in the right pane
- Click Properties.
- Click to clear the Account is disabled check box, and then click OK.
2] Activate Administrator account through Command Prompt
Try activating the administrator account using the command prompt and see if it is able to fix the problem. You can follow the below steps for that:
- First, press and hold the Shift key and then tap on the Restart option on your login screen. This will take you to Advanced Boot Options.
- Now, click on the Troubleshoot > Advanced Options > Command Prompt option
- Choose a user account and enter the password to it.
- When the Command Prompt opens up, execute this command in it:
net user administrator /active:yes
- Reboot your PC and check.
The above suggestions will help you if it is your admin account that has disabled.
The following suggestions will require you to be signed in as an administrator. So if it is someone else’s Admin account that has been disabled, you can try to re-enable it using the usual method or try these suggestions.
3] Use Registry Editor
Open Command Prompt using steps mentioned in method (2). Now, type regedit
in CMD and press Enter button. Doing so will open up Registry Editor.
In Registry Editor, select HKEY_LOCAL_MACHINE present in the left panel and then click File > Load Hive option.
Next, browse the following location on your PC: C:\Windows\System32\config
.
Here, you will see a file named SAM; click and open it.
Now, you need to go to the following path in Registry Editor:
HKEY_LOCAL_MACHINE\SAM\Domains\Account\Users
In this location, you will see a 000001F4 key which you need to select. And then, double-click on the F binary value present on the right side.
Now, check for 0038 entry and see the first column showing 11. Replace this value with 11/10.
Finally, press the OK button and then close both Registry Editor and CMD to reboot your PC.
This should fix the disabled administrator account issue on Windows 11/10.
Related: How to Enable or Disable built-in Administrator account in Windows 11/10.
4] Fix it through Group Policy Editor
Group Policy Editor allows you to configure several policies and can be used to control user accounts. You can use it to fix disabled administrator account on Windows 10 PC by following below steps:
Open Run app using Windows Key + R hotkey. Type gpedit.msc and then click on OK to open Group Policy Editor.
In the Group Policy Editor, go to the following option:
Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options
You will now see an Accounts: Administrator account status option in the right panel. Double click this option and a Properties window will open up.
Make sure the Enabled option is selected. If not, click on it and then press Apply > OK button.
5] Create a new Administrator Account
Try creating a new admin account on your PC if you still get a disabled administrator account problem. You can create a user account and then convert it to an Administrator account. Use the Settings app to create a new administrator account by following the below instructions:
- Open the Settings app and go to Accounts > Family & other users option.
- Now, select Add someone else to this PC option from the right panel.
- On the next prompt, select I don’t have this person’s sign-in information option.
- Next, select Add a user without a Microsoft account, then enter the preferred name and password for your account, and then press the Next button.
- You will now see the newly added account on the Accounts page. To make it an Administrator account, click on it and then select the Account Type option under it.
- Set the Account Type to Administrator and press the OK button.
This will create an administrator account that you can start using.
6] Use PowerShell to Enable Hidden Administrator Account
Another trick to fix the disabled administrator account issue is to try enabling the hidden administrator account using Powershell.
Press Windows + X key to open up the shortcut menu and select Windows Powershell (Admin) option from it.
Alternately, go to the search box and type PowerShell and then open the Powershell app using the Run as administrator option.
Next, type and execute this command in Powershell:
Enable-LocalUser -Name "Administrator"
Doing so should enable you to access your administrator account on Windows 11/10.
Hopefully, this guide was helpful in case you were unable to access your administrator account on Windows 11/10.
Now read: Your IT administrator has disabled Windows Security