Jump to content

Where the password is saved for Autologin?


Recommended Posts

I am making a script that copies the autologin data (if activated), change them for logging in with a special user, reboot, and this user reput old setting.

So far so good, but unluckly it seems that the password is NOT always stored where it should. Reading around in the Internet I found this:

"Implement AutoLogon using RegEdit:

To do this, click Start, Run, type "regedit", and press Enter. Navigate to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Double-click DefaultDomainName and set it to the necessary value.

Now double-click DefaultPassword and make sure it contains your current password. Do not enter a new password here.

Next, double-click DefaultUserName and make sure it is set correctly.

Again, do not make a change here. If you're logging in as administrator,

then administrator is what you need in the key.

Finally, double-click AutoAdminLogon and set its value to 1. Choose Registry, Exit and then restart the computer.

From this point on, you will not be prompted for logon information."

And it is true, but if you active the autologin with Tweak ui or others tools the pass is not saved in that key, but elsewhere. Do someone know where?

Edited by ezzetabi
Link to comment
Share on other sites

Already tried... If regshot could solve my problem I would not post here... :D

The only key that seems change is

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\RNG\Seed as Binary

but even with the same password it changes differently and also even without login it changes without apparent reason.

Do someone know what this key is supposed to keep?

Edited by ezzetabi
Link to comment
Share on other sites

HK_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

For the autologin to work you need to set AutoAdminLogon to 1, DefaultUserName to whomever, the DefaultDomainName to your domain and create or modify a sting value DefaultPassword and set the value to the password.

www.regedit.com has loads of tips and tricks

Cheers :D

Nobby

CheersNobby

Link to comment
Share on other sites

  • 1 year later...

try first this script(probably both 2 keys needed to be changed,cause it works)

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ForceAutoLogon","REG_SZ","1")
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon","REG_SZ","1")

If doenst work must do what regedit.com says (add some info on registry)

But this sucks cause password is in a string revealed!

Edited by Amen
Link to comment
Share on other sites

I have had this winlogon key working on NT4 and 2k, but not on XP and I had to do it through the user CP, I guess you can do it because some software that I have installed has made it happen on XP but I don't know how

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...