Tuesday, September 13, 2011

Account Lock Out problems in a domain enviroment

STATUS_ACCOUNT_LOCKED_OUT
The user account has been automatically locked because too many invalid logon attempts or password change attempts have been requested.

We can run the LockoutStatus.exe on domain controller to identify and investigate the account lockout issue.
Troubleshooting tools:
By using this tool, we can gather and displays information about the specified user account including the domain admin's account from all the domain controllers in the domain. In addition, the tool displays the user's badPwdCount value on each domain controller. The domain controllers that have a badPwdCount value that reflects the bad password threshold setting for the domain are the domain controllers that are involved in the lockout. These domain controllers always include the PDC emulator operations master.
You may download the tool from the link
Once we confirm the problematic computer, we can perform further research to locate the root cause. Actually, there are many possible causes for bad password, such as cached password, schedule task, mapped drives, services, etc. Please remove the previous password cache which may be used by some applications and therefore cause the account lockout problem.
Troubleshooting steps:
1. Click Start, click Run, type "control userpasswords2" (without the quotation marks), and then click OK.
2. Click the Advanced tab.
3. Click the "Manage Password" button.
4. Check to see if these domain account's passwords are cached. If so, remove them.
5. Check if the problem has been resolved now.
Please download the Account Lockout and Management Tools:
Account Lockout and Management Tools
Please Note: Aloinfo.exe included in the above package helps display all local services and the account used to start them.
Please logon the problematic client computer as the Local Administrator and run the following command:
Aloinfo.exe /stored >C:\CachedAcc.txt
Then check the C:\CachedAcc.txt file. If there is any application or service is running as the problematic user account, please disable it and then check whether the problem occurs.
For your convenience, I'd like to list the common troubleshooting steps and resolutions for account lockouts as the following:
Common Causes for Account Lockouts
To avoid false lockouts, please check each computer on which a lockout occurred for the following behaviors:
Programs:
Many programs cache credentials or keep active threads that retain the credentials after a user changes their password.
Service accounts:
Service account passwords are cached by the service control manager on member computers that use the account as well as domain controllers. If you reset the password for a service account and you do not reset the password in the service control manager, account lockouts for the service account occur. This is because the computers that use this account typically retry logon authentication by using the previous password. To determine whether this is occurring, look for a pattern in the Netlogon log files and in the event log files on member computers. You can then configure the service control manager to use the new password and avoid future account lockouts.
Bad Password Threshold is set too low:
This is one of the most common misconfiguration issues. Many companies set the Bad Password Threshold registry value to a value lower than the default value of 10. If you set this value too low, false lockouts occur when programs automatically retry passwords that are not valid. Microsoft recommends that you leave this value at its default value of 10. For more information, see "Choosing Account Lockout Settings for Your Deployment" in this document.
User logging on to multiple computers:
A user may log onto multiple computers at one time. Programs that are running on those computers may access network resources with the user credentials of that user who is currently logged on. If the user changes their password on one of the computers, programs that are running on the other computers may continue to use the original password. Because those programs authenticate when they request access to network resources, the old password continues to be used and the users account becomes locked out. To ensure that this behavior does not occur, users should log off of all computers, change the password from a single location, and then log off and back on.
Stored user names and passwords retain redundant credentials:
If any of the saved credentials are the same as the logon credential, you should delete those credentials. The credentials are redundant because Windows tries the logon credentials when explicit credentials are not found. To delete logon credentials, use the Stored User Names and Passwords tool. For more information about Stored User Names and Passwords, see online help in Windows XP and the Windows Server 2003 family.
Scheduled tasks:
Scheduled processes may be configured to using credentials that have expired.
Persistent drive mappings:
Persistent drives may have been established with credentials that subsequently expired. If the user types explicit credentials when they try to connect to a share, the credential is not persistent unless it is explicitly saved by Stored User Names and Passwords. Every time that the user logs off the network, logs on to the network, or restarts the computer, the authentication attempt fails when Windows attempts to restore the connection because there are no stored credentials. To avoid this behavior, configure net use so that is does not make persistent connections. To do this, at a command prompt, please type net use /persistent:no. Alternately, to ensure current credentials are used for persistent drives, disconnect and reconnect the persistent drive.
Active Directory replication:
User properties must replicate between domain controllers to ensure that account lockout information is processed properly. You should verify that proper Active Directory replication is occurring.
Disconnected Terminal Server sessions:
Disconnected Terminal Server sessions may be running a process that accesses network resources with outdated authentication information. A disconnected session can have the same effect as a user with multiple interactive logons and cause account lockout by using the outdated credentials. The only difference between a disconnected session and a user who is logged onto multiple computers is that the source of the lockout comes from a single computer that is running Terminal Services.
Service accounts:
By default, most computer services are configured to start in the security context of the Local System account. However, you can manually configure a service to use a specific user account and password. If you configure a service to start with a specific user account and that accounts password is changed, the service logon property must be updated with the new password or that service may lock out the account.
Internet Information Services:
By default, IIS uses a token-caching mechanism that locally caches user account authentication information. If lockouts are limited to users who try to gain access to Exchange mailboxes through Outlook Web Access and IIS, you can resolve the lockout by resetting the IIS token cache. For more information, see "Mailbox Access via OWA Depends on IIS Token Cache" in the Microsoft Knowledge Base.
MSN Messenger and Microsoft Outlook:
If a user changes their domain password through Microsoft Outlook and the computer is running MSN Messenger, the client may become locked out. To resolve this behavior, see "MSN Messenger May Cause Domain Account Lockout After a Password Change" in the Microsoft Knowledge Base.
For more information, please refer to the following link:
Troubleshooting Account Lockout
Account Passwords and Policies in Windows Server 2003

Monday, July 4, 2011

Stupidity at its best .. Darwin award coming soon

I saw today pure idiocy. We were near Val-Cartier military base in Quebec.

A young guy on his motorcycle with his girlfriend on back pulled in between two cars at a stop light on the road. He was talking to the other that wasn't the idiotic move that comes next.

Once the light turned green he guns it racing in between the 2 vehicles a car and a truck. As he gets past at 30 k or so pulling away faster he pops a wheeley still accelerating up to at least 80 km/h for at least 300 M.

Next Darwin award will be awarded to this young man soon if he keeps it up.

How would he have lived with himself if he lost control or the girl fell off is what I wonder as I am writing this. Some people just don't think that is for sure.

I just pray my son doesn't do anything like that because I don't, know what I would do


Stephen Duncan
Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

Friday, June 17, 2011

You know an all in one is old when

If you take a close look you see there is a floppy

The other part is there is no NIC nor does it have capabilities for it.

Monday, June 6, 2011

Front Garden

Here is a little pic of our front garden
It finally looks finished now that the driveway is in

But like any garden it is a work in progress

Monday, May 30, 2011

Having fun at the park in Paris

On Saturday we went to the park and had a little fun with Mattis

He loved the slides and being on the yellow bug
Stephen Duncan









He loved it when we were on the bug with him as well.

Wednesday, May 25, 2011

Camping May 24 2011 at Charleston Lake

On May 24 we met Mel's Parents and Aunt Carol and Uncle Marc-Andre at Charleston Lake near Kingston. Mattis had a blast here he is working on or destroying not quit sure his first sand castle



The 3 of us


Tristan (Nephew Mel and I) Mattis and Melanie


The crew on our own temporary island having lunch

Charleston lake has many little islands