Click here to Skip to main content
11,496,146 members (469 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
See more: Win2003

i know how to enable and disable the user account in the AD.

But i need to know how to lock the user account manually in the AD.
Posted 3-Jul-12 22:57pm
A peruse of AD with ADSIedit[^] turned up the Lockout-Time[^] attribute, which appears work with the Lockout-Duration[^] attribute
lock the user account manually in the AD.
Just type wrong password for 'n' number of times for a user account to lock it.

n: number of times admin has configured for typing wrong password before it gets locked.
aimdharma at 4-Jul-12 4:26am
But i can't able to set the account lock down and password policy..
its locked.

the editing is disabled

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 10,401
1 OriginalGriff 8,910
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600

Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 4 Jul 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100