Solved

AutoAdminLogon Gone wrong

Posted on 2004-09-24
8
434 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
  • 5
  • 3
8 Comments
 
LVL 82

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 82

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
 
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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 82

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
A Short Story about the Best File Recovery Software – Acronis True Image 2017
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now