Share via


Windows 10 1607 Autologon fails with Incorrect username and password

Question

Tuesday, November 6, 2018 10:56 AM

Hello Team,

we were working to automate the login process in windows 10 devices But When we changed the Registry value for auto logon at this location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon where entered DefaultUsername, DomainName,Password. But It Seems that It's not working as expected after restarting it stuck at login screen.

Please let me know how can we configure devices for auto logon.

Thanks!! 

All replies (9)

Tuesday, November 6, 2018 1:02 PM

Have you tried the Sysinternals tool to configure it?

Autologon

With this, the password is encrypted in the registry ;-)

Gérald


Tuesday, November 6, 2018 1:38 PM

Autologon requires a REG_SZ key called AutoAdminLogon . The values are 1 to enable AutoLogon and 0 to disable. Try it.


Tuesday, November 6, 2018 4:56 PM

Hey Gerald, How can we automate login in multiple devices with this tool ? Is there any way to tweak registry.


Tuesday, November 6, 2018 4:57 PM

Hello, I have already set the registry value to 1 but Still getting the same issues


Wednesday, November 7, 2018 9:35 AM

Hello JiteshKumar,

Thank you for your question.

There are three methods available in this link: https://win10faq.com/auto-login-windows-10/#prettyPhoto 

Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Are your devices in a domain or workgroup environment? 

Some methods can be implemented in batches through scripts. But the third, that is, the method provided by Gerald. If the account name and password of each device are different, even if you use a script, it still needs a large workload.

Best Regards,

Leon

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


Wednesday, November 7, 2018 12:43 PM

Hello Leon,

Thanks for the link. I have already gone through all the process which is mentioned in that Blog. As we need to automate this process from Backend that's why I think that's not possible to run any tools or methods. Is there any way to automate the login process? Please let me know!!

Apart from this I tried to follow the Registry method but didn't worked for me?


Thursday, November 8, 2018 1:24 PM

Hello JiteshKumar,

There should be such scripts for automatic login, you can go to the power shell forum to find such scripts. If the script works, you can use that script in batches on your multiple machines to implement automatic login.

Best Regards,

Leon

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


Thursday, November 8, 2018 4:27 PM

Thanks Leon! 

Let me Try to execute this powershell **Scripts  **


Wednesday, November 14, 2018 3:32 AM

Hello JiteshKumar,

Just checking in to see if the information provided was helpful. 
Please let us know if you would like further assistance.

Best Regards,

Leon

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