Share via


How to stop Windows 10 from booting to Administrator Account?

Question

Thursday, April 21, 2016 1:50 PM | 1 vote

My user/local account has administrator privileges, however I had to enable the hidden administrator account to make several changes.  Following the instructions for the command prompt, I subsequently successfully disabled the administrator account.

Since then the PC first tries to boot to the Administrator Account, and then says the account is disabled and contact the administrator.  I can then log on using my MS/local account and continue.

I simply want to get the system back to the initial default where it boots to my account in the first place, and does not try to boot to the Administrator Account. 

I have not yet found any instructions on how to do this.  Please help. 

 

All replies (7)

Monday, April 25, 2016 2:29 PM âś…Answered

Thanks to all who replied. Problem resolved.   I re-enabled the hidden admin account and then again disabled it from my user admin account.  Then I again selected log on as a local account and this time it worked.  The administrator account is not in the boot sequence.  Not sure why this time worked and the previous attempts dis not, but at least the problem is gone (for now).  I never did find nn autoadminlogon or autoadmincount registry value, by the way. 


Thursday, April 21, 2016 2:13 PM | 1 vote

Check in your registry in you didn't enabled autologon:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

AutoAdminLogon should be set to 0

Gerald


Thursday, April 21, 2016 2:24 PM | 2 votes

PowerShell command Get-ChildItem -Path registry::'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ -Recurse -Include winlogon

if autologoncount is greater than 0 then

Set-ItemProperty -Path 'registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -name Autologoncount -Value 0

Best Sam Please mark as answered if this solves your issue


Thursday, April 21, 2016 3:32 PM

There is no registry entry for AutoAdminLogon.  The only register entry at the winlogon location is AutoLogonChecked with "value not set" in the data column.


Thursday, April 21, 2016 3:35 PM

I do not have a register entry for Autologoncount.  The register entry at the Autologon location is AutoLogonChecked, with "value not set" in the data column.

My edition of Windows 10 is the Home Edition.


Thursday, April 21, 2016 3:57 PM

it's AutologonCOUNT. i think you might be looking in the wrong place. i have Win10 as well. just search for it in regedit or use the powershell script

Best Sam Please mark as answered if this solves your issue


Friday, April 22, 2016 7:46 AM

Hi jbsman01,

Please try this:
Run "control userpasswords2", choose "Administrator" account then check "Users must enter a user name and password to use this computer".

or try the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\
create a Reg_dword with name "dontdisplaylastusername " and configure a value "1".

Best regards

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].