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.
  • НаукаНаука

Комментарии • 33

  • @zolitimo5482
    @zolitimo5482 3 года назад +4

    After 3 hours of struggling this video sort out my problem in 3 minutes. Big thanks!

  • @1macruc1an
    @1macruc1an 4 года назад +3

    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.

    • @andrewrosen3524
      @andrewrosen3524  4 года назад +1

      @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.

  • @ra6865
    @ra6865 3 года назад +1

    tried this now and still works. thx!

  • @koeunlim1842
    @koeunlim1842 2 года назад

    This channel needs more subscribers. It's helping me-a-server-noob so much.

  • @ijelic1604
    @ijelic1604 2 года назад

    Thank you, this was very helpful! 🤗👌🏻😁

  • @oneglimmer
    @oneglimmer Год назад

    Thanks. mine didnt have any autologon or default user string. but i did the add new like you did and it all worked great

  • @grshift
    @grshift 4 года назад +1

    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

  • @sayanpandey1767
    @sayanpandey1767 2 года назад

    Great vidro man thanks 👍

  • @cipherion
    @cipherion 3 года назад

    More content, make more videos. Great job thx

  • @darthkurama784513
    @darthkurama784513 4 года назад +1

    Amazing video, thanks a lot!! all the other UI options dont work for shit haha

  • @sajingangadharan733
    @sajingangadharan733 3 года назад +1

    How to disable the same in gpedit , which policy need to disable to enable autologin

  • @mohamedaminenajah9315
    @mohamedaminenajah9315 2 года назад

    Merci et Bon courage

  • @mobayguy
    @mobayguy 2 года назад

    Thank you

  • @saiy9353
    @saiy9353 5 лет назад +1

    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

    • @andrewrosen3524
      @andrewrosen3524  4 года назад

      Hi, if your computer is part of a domain you can use GPO too.

  • @VijayJosephm
    @VijayJosephm Год назад

    Hi sir, i couldn't find any of these keys on that folder. could you pls help?

  • @muhammadakhmal3475
    @muhammadakhmal3475 4 года назад +1

    tq for nice sharing bro

  • @Totalrandomness2011
    @Totalrandomness2011 Год назад

    those options arent showing in my registry editor what do i do?

  • @WV591
    @WV591 5 лет назад +2

    none of those keys are available sometimes.you have to create them

    • @silentdeath126
      @silentdeath126 5 лет назад +2

      Those values were on my Windows 10 machine and didn't have to be added. Just the password value.

  • @unsaidink454
    @unsaidink454 3 года назад +1

    I dont have Autoadminlogon

  • @akc.2189
    @akc.2189 4 года назад +1

    ANDREW I NEED YOUR HELP!!!!! HOW TO REVERT IT BACK? MY COMPUTER IS LOOKING TOTALLY NEW ! NOT ABLE TO FIND MY FILES!!!!

    • @Stefan2255
      @Stefan2255 4 года назад

      reset your settings

    • @akc.2189
      @akc.2189 4 года назад

      @@Stefan2255 thanks Stefan but i have done it by myself!

    • @andrewrosen3524
      @andrewrosen3524  4 года назад +2

      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.

  • @FinnishArmy
    @FinnishArmy 4 года назад +1

    I don't have DefaultUserName.

  • @ognjenstanojevic6914
    @ognjenstanojevic6914 2 года назад

    For everyone that does not have password just leave it blank and click ok😁

  • @manuelfreitas4526
    @manuelfreitas4526 4 года назад +1

    my AutoLogon SID is blanc

  • @yunusbagban2766
    @yunusbagban2766 Год назад

    Is andrew you local account