Computing.Net > Forums > Windows Server 2003 > Logon failure: user account restric

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Logon failure: user account restric

Reply to Message Icon

Name: coreybacklund
Date: December 14, 2004 at 13:48:56 Pacific
OS: Windows Server 2003
CPU/Ram: n/a
Comment:

OK, here goes...
We have a windows 2003 server that was working fine until some genius crashed it the other day. I'm not sure what they were doing when it crashed. Ever since this has happened we have this sparatic problem of accessing the server from the domain.

The clients appear to logon without an issue, but some times we cannot access the main server. When you browse through the network places you can access every single computer on the network except the server. When accesing the server you get the error "Logon failure: user account restriction".

Nothing was changed policy or permissions wise. As far as I can tell, everything looks normal. Now, here's where it gets REALLY wierd. If I'm on the client that can't access the server, and I reboot it a few times, suddenly everything will work. If I reboot a few more times again it will quit working. There really seems to be no structure to this problem. Sometimes you reboot once and it comes or goes, other times it takes 5 reboots to make to problem appear or disappear. One client ran 2 days without issue, and suddenly couldn't access anything again after I rebooted.

Now, here's the full meal deal: This is a server for one of our clients. The client has an in house person who CLAIMS to know I.T. I can't vouch one way or another for the person. I do know that they have been screwing around in the registry because every time I go to the server, it's the last thing typed in the RUN command. This genius has also managed to install a bunch of spyware on the server as well, since they use it to browse the web from time to time. We are running terminal services on the machine. The main user accounts are locked down policy-wise to keep them from being able to mess with anything, so I know the users didn't do it. I realized there was a spyware issue when one of the users asked me why they suddenly have a "mysearch.com" bar on IE. The supposed in house I.T. person is the only one with an administrative access account, so they are the only ones who could have installed that garbage. I ran ad aware to remove most of it, but I get a little worried doing this on a server. I've used ad aware on xp machines before, and it usually works pretty well, but occasionally you have that machine that just dies after removing stuff.

Anyway, I can't figure out what is causing the "Logon failure: user account restriction" error. My only guesses are Active directory, NTFS, or DNS corruption. I'm leaning towards DNS, because we had a backup DC at another location, and after the PDC crashed, all users were logging into the backup, even after the primary was restored. It was causing so much problems that we took the backup off line to see if it would fix the problem (which it didn't). We have decided to leave the backup offline until we get this mess sorted out. HELP!!



Sponsored Link
Ads by Google

Response Number 1
Name: qustions02
Date: December 15, 2004 at 07:54:11 Pacific
Reply:

hi,
even i am having a similar problem to corey's. my 2003 server crashed a few months ago and after that, i keep getting a user account restriction error when i try to access mapped drives. there is no pattern, just random occurences. the users however are able to authenticate and logon using the username and passwords. restarting the server helps (good old windows) but cant seem to figure out why it would do it. the share access rights etc have been checked and there is nothing wrong with them.
no changes have been made to the server settings and there are no spyware or anti-viruses. they have been scanned for. pls help!!


0

Response Number 2
Name: dave c
Date: December 16, 2004 at 05:16:48 Pacific
Reply:

I've heard of that happening before at a friend's company. I shot him an e-mail, and he said that for him, it was a DNS issue, but one of his coworkers had fixed it, so he couldn't provide me with a fix.

But it's a place to start, anyway.


0

Response Number 3
Name: coreybacklund
Date: December 30, 2004 at 12:03:28 Pacific
Reply:

SOLVED!!! Here we go guys! After extensive searching and pulling my hair out, I finally found the root of the evil in this server. I'm not 100% if it was causing the sparatic behavior, but here goes. When the server crashed, it had something to do with the security log being full in the event viewer. Basically, MS has put this awesome feature in there that gives you some completely unrelated cryptic errors for your users when they try to log on and has absolutely zero notification to the administrators of the issue, which only they can fix. That's right. MS really blows some times.

Basically, theres a fault protection in the security event viewer that when it is full and cannot add more entries, the system will halt. Yep, you heard me. It halts the system. Once this halt has happened a registry key will change and only allow Administrators to enter the system to clear the key, and the event log. This would be why the users on the server couldn't log in, and were receiving the access denied errors on the mapped drives to the server shares. I think things were happening sparatically, because we had a backup DC in another branch office of this business that the users were authenticating to. Either that, or they were logging on with locally cached credentials or something. Either way, the shares were on the server that crashed, so that makes sense why you wouldn't be able to access them when logging on to the other server.

So, I cleared the key, rebooted the server and now all works like a charm. Everyone can login, no more share problems, everything is back to normal. I don't understand why there is no error for something like this. You would think that if the system is going to deny access to all users except admins, it should at least pop up a message for system admins that explains this stuff. The funny thing about this mess is that the error we would receive when trying to connect to shares would have a part that actually says "Possible reasons include blank passwords, logon hour restrictions, or a policy restriction." Yet, none of these were the reason why the error was showing up. #*(@&*! Microsoft. Would it really be that hard to say "Your server event log is full. Please contact your system administrator to clear the logs and reset the registry key pertaining to this error." Guess so.

For those with the same problem, here's how to fix:

*open regedit

*browse to HKLM\SYSTEM\CurrentControlSet\Control\Lsa

*find the CrashOnAuditFail key

*check the value. If the value is 2, this is the root of your problem, as this is the key that gets changed and only allows admins in. If the value of your key is 1 or 0, you have other issues.

*Change the value from 2 to either 1 or 0. 0 turns off the feature that halts the system if the event log is full and allows your users to enter the system again (which we chose to set it to so we don't have this problem again). A value of 1 will keep the feature on, but also allow all usere to login again.

*Save and reboot. Users should now be able to login without admin access and all shares should be accessible.

*pray to god. buddha. golden cows. whatever. tomorrow will bring a new onslaught of BS! ;-)


0

Response Number 4
Name: etraboulay
Date: January 13, 2005 at 16:10:07 Pacific
Reply:

Thank you Corey! You are a life saver. That reg hack worked for me!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: Logon failure: user account restric

Logon failure: user account... www.computing.net/answers/windows-2003/logon-failure-user-account/8631.html

logon failure:user acnt restriction www.computing.net/answers/windows-2003/logon-failureuser-acnt-restriction/2478.html

Windows 2003 Server acess to win2k www.computing.net/answers/windows-2003/windows-2003-server-acess-to-win2k/4488.html