Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

-help-my domain accounts are gettng LOCKED every few seconds 4

Status
Not open for further replies.

notShai

IS-IT--Management
May 16, 2006
35
US
--my accounts are gettng LOCKED every few seconds--

have two 2003 domain servers - one primary the other not.

earlier today i was asked to apply for the second time (first time wasnt successful, policy just worked on local accounts etc) an account lock out policyt and password complexity policy. i used the Domain security policy and Domain controller security policy (wasnt sure which one would apply to the domain - yes it isnt so clear to me).

soon after, my SQL server (using windows auth) jobs started fialing and users called in to complain. this is a few hours later and i still cant reset everything.

I think the domain user DB gone corrupt? i chencged the domain and controler policies back to none / disabled etc and it is still locking (ACCOUNT LOCKED is checked) my users with high frequency. i also tried do not inherit in the domain global settings that didnt help.

i wrote a quick bat file to unlock the primary SQL users so the jobs keep run [net user userloginname /active:yes]but the domain admin in charge of running the schedule taks also gets locked. its a mess.



any advice can help.

i dont know how to use vbs etc but willing to do anything to fix this.
 
There can only be a single password policy in an Active Directory domain. For the policy to work it has to be linked to the root of the domain. If you are going to define this policy using the default policies setup for the domain, then you would only configure the 'Default Domain Policy'. However, Microsoft does not recommend editing these default policies as disastrous events can happen if not edited properly (as you are now aware). Rather, they recommend creating a new GPO and linking it to the root container for the domain and setting a higher priority if you need to configure settings different than the default. Make sure the settings you changed are properly changed back to the way they were or to their defaults before this issue happened. Below will be some links to valuable information that describe the default settings for these policies and best practices for configuring the settings you are wanting to do.

The following link provides the default values for the 'Default Domain Policy' and the 'Default Domain Controller Policy'. Compare your settings to the values listed in the article.

- Account Policy Settings


Here are some links to informative articles on properly configuring the settings you are after.

(The first article below shows the old way of configuring Group Policy using 'ADUC'. I assume you are using 'GPMC' to accomplish this task.)

- Enforcing Strong Password Usage Throughout Your Organization


- Implementing and Troubleshooting Account Lockout




Joey
CCNA, MCSA 2003, MCP, A+, Network+, CWTS
 
If I remember , conficker virus, sometimes make this issues.
Are you clean? :)
 
[hi, good thought about the conficker, but no...
we actually had conficker in the past and its all flushed now.]

Joey - thank you very much. restoring everything to the MS defaults per that link and also per the DC sec policy mmc seems to have fixed the issue. At least it has been almost an hour and no account locks happened.

Based on that i am guessing the changes i made to that policy must have looped into each other somehow and caused a locking.

My next task is to figure out how to implement the required security policy - 8 chars passwords, complexity level, and the biggest problem - 15 minutes idle account lockout.

the issue with that is that i need some domain accounts which run some services and jobs to never lock. do i need to create a new group policy, enter the entire domain accounts into it and exclude only the accounts i want to not be affected? is that even possible? (i dont know HOW to exclude).

thank you again :)
 
notShai,

Are you seriously wanting to lockout idle accounts??? This would have the effect that you experienced earlier. Did you want the screen saver to kick in after 15 minutes instead?

John
 
As was mentioned earlier, you can have only 1 password policy in a 2003 forest. That's been changes in 2008.

Also as mentioned, create a new GPO, and set the required settings, and link it to the root. Set your service accounts to never expire.

As Titleist mentions, I wouldn't recommend locking out idle accounts (just because I'm away from my desk doesn't mean I should get locked out). Setting up the old screensaver method of logging them off might work.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
i see, i think i confused the lock account policy with the screen saver password rule.

is that local setting (screen saver password) manageable via the domain? (gpo)
or perhaps can be scripted for a push to all workstations?

whats an acceptable procedure for when a user forgets her password when her workstation locks up? can an admin push an unlock command? or does the admin needs to remote session (vnc etc) to unlock the user / reset password?
 
notShai,

The screen saver timeout can be controlled through a GPO. We have ours set at the domain level(a new policy not the default domain policy). It's found at User Config\Admin Templates\Control Panel\Display

To answer the second part of your question, the user account not the workstation gets locked out and usually a quick call to the Helpdesk can have the account unlocked (using ADUC).

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top