How to set auto logon on windows registry
HTML-код
- Опубликовано: 11 июл 2024
- How to set auto logon on windows registry
To use Registry Editor to turn on automatic logon, follow these steps:
1. Click Start, and then click Run.
2. In the Open box, type Regedt32.exe, and then press Enter.
3. Locate the following subkey in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
4. Double-click the DefaultUserName entry, type your user name, and then click OK.
5. Double-click the DefaultPassword entry, type your password, and then click OK.
Note If the DefaultPassword value does not exist, it must be
added. To add the value, follow these steps:
a. On the Edit menu, click New, and then point to String Value.
b.Type DefaultPassword, and then press Enter.
c. Double-click DefaultPassword.
d. In the Edit String dialog, type your password and then click
OK.
Note If no DefaultPassword string is specified, Windows
automatically changes the value of the AutoAdminLogon key
from 1 (true) to 0 (false), disabling the AutoAdminLogon
feature.
6. On the Edit menu, click New, and then point to String Value.
7. Type AutoAdminLogon, and then press Enter.
8. Double-click AutoAdminLogon.
9. In the Edit String dialog box, type 1 and then click OK.
10. Exit Registry Editor.
11. Click Start, click Shutdown, and then type a reason in the Comment text box.
12. Click OK to turn off your computer.
13. Restart your computer. You can now log on automatically.
Note:
- To bypass the AutoAdminLogon process and to log on as a different user, press and hold the Shift key after you log off or after Windows restarts.
- This registry change does not work if the Logon Banner value is defined on the server either by a Group Policy object (GPO) or by a local policy. When the policy is changed so that it does not affect the server, the autologon feature works as expected.
- When Exchange Active Sync (EAS) password restrictions are active, the autologon feature does not work. This behavior is by design. This behavior is caused by a change in Windows 8.1 and does not affect Windows 8 or earlier versions. To work around this behavior in Windows 8.1 and later versions, remove the EAS policies in Control Panel.
- An interactive console logon that has a different user on the server changes the DefaultUserName registry entry as the last logged-on user indicator. AutoAdminLogon relies on the DefaultUserName entry to match the user and password. Therefore, AutoAdminLogon may fail. You can configure a shutdown script to set the correct DefaultUserName entry for AutoAdminLogonAs. Наука
After 3 hours of struggling this video sort out my problem in 3 minutes. Big thanks!
THANK YOU, for sharing this info! After unsuccessfully a few other approaches using media related solutions(USB and CD), I was getting nowhere. Then I remembered, that in this instance, using regedit carefully, I could probably eliminate my login issue. I had success on my first try. But just for safety's sake, I imported the original registry entry into my Documents. Thanks again.
@Fabian this is very good to hear it solved your issue. Yes, always we should get a back up of the regedit before applying the changes.
tried this now and still works. thx!
This channel needs more subscribers. It's helping me-a-server-noob so much.
Thank you, this was very helpful! 🤗👌🏻😁
Thanks. mine didnt have any autologon or default user string. but i did the add new like you did and it all worked great
Thanks bro this video should be the top most liked in windows auto logon bro because it worked for me if u guys didnt work leave comment here because the tutorial did worked for me i gave like for the help
Great vidro man thanks 👍
More content, make more videos. Great job thx
Amazing video, thanks a lot!! all the other UI options dont work for shit haha
How to disable the same in gpedit , which policy need to disable to enable autologin
Merci et Bon courage
Thank you
If the server is in domain how to do
I have tried in 1 vm with same steps but additionally I have added defaultdomain also but it is not refecting
Hi, if your computer is part of a domain you can use GPO too.
Hi sir, i couldn't find any of these keys on that folder. could you pls help?
tq for nice sharing bro
those options arent showing in my registry editor what do i do?
none of those keys are available sometimes.you have to create them
Those values were on my Windows 10 machine and didn't have to be added. Just the password value.
I dont have Autoadminlogon
ANDREW I NEED YOUR HELP!!!!! HOW TO REVERT IT BACK? MY COMPUTER IS LOOKING TOTALLY NEW ! NOT ABLE TO FIND MY FILES!!!!
reset your settings
@@Stefan2255 thanks Stefan but i have done it by myself!
Sorry for the delay in responding to your message, did you created a new user? To revert it just need to change the auto log in to 0.
I don't have DefaultUserName.
It's strange. You can create manually.
For everyone that does not have password just leave it blank and click ok😁
my AutoLogon SID is blanc
Hi, you can add number 1 on it.
Is andrew you local account