Solved

AutoAdminLogon Gone wrong

Posted on 2004-09-24
8
439 Views
Last Modified: 2008-02-01
ok here goes, i wrote a replacment Gui for the windows 2000 logon dialog box, it works replacing the default gina and by having AutoAdminlogon enabled and then entering the correct username and password into the registry when a user clicks on a username(looks somewhat similar to xp's logon screen).  The two registry keys are DefaultUserName and DefaultPassword.

Now here is the problem, this works fine on most of the computers its running on. But some seem to develop a problem over time.  The account that causes the problem has no password.  But on the affected pc's when the logon fails and the windows 2000 dialog box pops up telling you that the username and password are incorrect the password box has characters in it.  

I know these characters where not entered into the registry so where are they coming from.  

I assumed this was my program causing the problems so i disabled it and tried a normal autologon but the problem remained.  It just seems to be a side affect of long term autologon.  

So basically i need to know why some of theses pc's start to develop this problem, how to reverse it, and how to stop it happening again?


Thanks
0
Comment
Question by:seitou
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 12146550
According to the following articles, what it comes down to is that the account you're using needs to have a password, you need to set the ForceAutoLogon key as well in W2k, and then there's an issue with the msgina.dll.

HOW TO: Enable Automatic Logon in Windows 2000 Professional
http://support.microsoft.com/?kbid=234562

HOW TO: Enable Automatic Logon in Windows
http://support.microsoft.com/?kbid=310584

Automatic logon is not successful in Windows 2000
http://support.microsoft.com/?kbid=833880
0
 
LVL 1

Author Comment

by:seitou
ID: 12150260
We are running this program on about 50 computers and only about 5 of them have these problems.  Enabling the password on the account would be a last resort as the account is still used without the graphical interface and would just cause hassle with a password.

The issue with msgina you have the link for deals with the domain key, it doesnt seem to have anything to do with the password.

The fact that the majority of the computers are running this succesfully suggests that the password is not required. But the small number develop a problem and thats what i need to find out how to reverse.
0
 
LVL 84

Expert Comment

by:oBdA
ID: 12150324
Do the machines that show this behaviour have a different service pack level than the other ones, and did you try to set the ForceAutoLogon key?
0
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 
LVL 1

Author Comment

by:seitou
ID: 12153019
I actually always had the forceautologon set. That is the same on all the machines.  
And the its service pack 3 installed on  all the machines.

0
 
LVL 84

Expert Comment

by:oBdA
ID: 12155260
Have you compared the versions of msgina.dll on a machine where it works and on another one?
Other than the "empty password" explanation, I'm pretty much out of ideas at the moment, sorry.
0
 
LVL 1

Author Comment

by:seitou
ID: 12155788
Didnt think to check the msgina versions yet, will check it tomorrow morning and see what happens.  Other than that i guess ill have to try it with a password and hope this fixes it. But another solution would be much better. Thanks
0
 
LVL 1

Author Comment

by:seitou
ID: 12159432
ok The versions of msgina are exactly the same version 5.0.2195.4733.  I have tried installing sp4 with no change.

Anybody have any other suggestions, im running out of ideas.
0
 
LVL 1

Author Comment

by:seitou
ID: 12213011
ok, not exactly the solution i was trying to get, but i guess ill have to enable the password.  Thanks oBda, the points are yours.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Not everyone has adapted to a rapid advancement in technology; there are people who are reluctant or afraid to delve into this brave new world of IT. If you have a friend or a family member who suffers from the so-called technophobia, here is how yo…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question