Jump to content
Sign in to follow this  
SlowCoder74

Resolved - AutoLogon in Windows 7

Recommended Posts

SlowCoder74

I wrote a security tool that reads the autologon keys within HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon. The values are DefaultUsername, DefaultPassword, DefaultDomainName, AutoAdminLogon and ForceAutoLogon. It works great in WinXP, but not in Win7. So, I found Wow6432Node and added the values there and it reads from there.

But that doesn't fix the problem. I deleted the values from the non-Wow6432Node path, and Win 7 no longer auto-logs in.

Therefore, I'm stuck ...

1. It seems I can have Win 7 auto-login, but not be able to read the values.

or

2. I can change the values in Wow6432Node, but Win 7 ignores them.

What are my options?

Edited by SlowCoder74

Share this post


Link to post
Share on other sites
SlowCoder74

I found some information that may be the answer, but how to implement in AutoIT?

http://msdn.microsoft.com/en-us/library/aa384129%28v=VS.85%29.aspx

Share this post


Link to post
Share on other sites
JFX

Just add a 64 to main key, see the helpfile --> RegRead remarks

Share this post


Link to post
Share on other sites
SlowCoder74

Just add a 64 to main key, see the helpfile --> RegRead remarks

That worked a gem. Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.