wrong user or password when using automatic logon!
I'm having problem with automatic logon on a Windows 7 Professional, it's member of a domain. I have tried to set it up to automaticly logon. What I have done in registry is: AutoAdminLogon is set to 1 DefaultUserName: test DefaultPassword: Password1 DefaultDomainName: MyDomainName When then computer is started up, it'll give me a error message saying username or password is wrong. If I then click ok, and just type in the password of the user it'll logon just fine. I have tried to make some test users, to see if that would help, but it did not.
December 25th, 2009 2:19pm

Why not just configure it differently? Press Windows R. A command box should appear. Type control userpasswords2 and hit the enter key. This should display the User Accounts screen in Windows 7. Select the user account in the main table and uncheck the “Users must enter a user name and password to use this computer. A click on the Apply button will open the Automatically Log On window. Enter the password and confirm it to add the password to the system so that it does not need to be entered during logon.MCSE, MCSA, MCDST [If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]
Free Windows Admin Tool Kit Click here and download it now
December 25th, 2009 2:49pm

Well, how do I choose a domain user ?
December 25th, 2009 8:47pm

It seems like it's not possible to do it the way cdoobs suggested. When a computer is in a domain it's no problem adding a user that is a domain user, but the option "Users must enter a user name and password to use this computer" is not there. Any other suggestions ?
Free Windows Admin Tool Kit Click here and download it now
December 27th, 2009 11:14am

Please read the following article. As in Windows XP, the second method is not applied for domain clients. How to turn on automatic logon in Windows XP When we configure auto logon in client with the Registry method, this method will not work if Logon Banner is defined in the server side. You may refer the following article. How to turn on automatic logon in Windows You may check it from the server side.Arthur Xie - MSFT
December 28th, 2009 10:14am

I have used the first method in that article. Logon Banner is not defined on the server.
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2009 9:41pm

bump
December 29th, 2009 7:40pm

I suggest you remove the “DefaulDomainName”, and change the value of “DefaultUserName” to “yourdomainname\test”.Arthur Xie - MSFT
Free Windows Admin Tool Kit Click here and download it now
December 31st, 2009 5:43am

I suggest you remove the “DefaulDomainName”, and change the value of “DefaultUserName” to “yourdomainname\test”. Arthur Xie - MSFT Sorry for this extremly late reply. I have tried removing the DefaultDomainName value, and changed the value of defaultusername to domainname\user and I have also tried in the form of username@domainname, but it does not matter. It will still report wrong username or password! Any other suggestions ?
January 18th, 2010 11:20pm

Bump! Noone has any ideas ? Only chance is to format the computer ?
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2010 8:37pm

We have been having a similar problem, and have made some progress. It seems the DefaultPassword entry in the registry is the 2nd place it checks for a password, but only if it cannot find a password in the 1st location. The 1st location is the LSA secret area (HKLM\Security\Policy\Secret\DefaultPassword). It seems, in our case, that there was a LSA secret password. This was being used to autologin, but it was the wrong password. Any attmepts to fill in the DefaultPassword key were useless because it never checked there. Using the control userpasswords2 allowed us to change the password... you may not be able to do this on the domain, but I assume this is due to group policy, since we are on the domain and don't have that issue. I managed to use a tool called autologon.exe (from the MS Shell team) to supply the correct password from the DefaultPassword key to the LSA. Unfortunately I know of no real way to clear the LSA password without an extra tool. You can test if this is the problem by: 1) Creating a local account and setting the registry manually to autologon with the DefaultPassword key. This should fail. 2) Now using userpasswords2, set the local account in the way described (if you can). This should remove the DefaultPassword key from the registry (proof that it is using the LSA). Now let it autologon. Good luck! I will be creating a new thread about clearing the LSA in Win7.
July 6th, 2010 6:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics