[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

AutoAdminLogon Gone wrong

Posted on 2004-09-24
8
Medium Priority
?
444 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 85

Accepted Solution

by:
oBdA earned 1500 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 85

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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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 85

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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

650 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