![]() |
|
|
|
#1 |
|
Hi,
In Active Directory is there any way to disable a user if the user don't use his user account for 60 days and also delete the same user if day become 120 days. For Information Server: Windows 2000 Server + SP4 Clients:Windows 2000 Professional + SP4 Regards, Tayfun Keresteci Tayfun Keresteci |
|
|
|
|
#2 |
|
Posts: n/a
|
Tayfun
you can run a query using dsquery and pipe it to dsmod to search for and disable accounts not used for x days. I don't think you can use this to delete accounts. syntax is something like dsquery user -inactive 9 (weeks) | dsmod user -disabled yes you'll have to test the syntax Dave "Tayfun Keresteci" <> wrote in message news:bca201c3b96c$e127e300$... > Hi, > > In Active Directory is there any way to disable a user if > the user don't use his user account for 60 days and also > delete the same user if day become 120 days. > > For Information > Server: Windows 2000 Server + SP4 > Clients:Windows 2000 Professional + SP4 > > Regards, > > Tayfun Keresteci |
|
|
|
#3 |
|
Posts: n/a
|
You can set an account expire date..& account will be removed, don't know if
you can check if used then delete automatically Jose "Dave" <> wrote in message news:... > Tayfun > you can run a query using dsquery and pipe it to dsmod to search for and > disable accounts not used for x days. I don't think you can use this to > delete accounts. > > syntax is something like dsquery user -inactive 9 (weeks) | dsmod > user -disabled yes > > you'll have to test the syntax > > Dave > > "Tayfun Keresteci" <> wrote in message > news:bca201c3b96c$e127e300$... > > Hi, > > > > In Active Directory is there any way to disable a user if > > the user don't use his user account for 60 days and also > > delete the same user if day become 120 days. > > > > For Information > > Server: Windows 2000 Server + SP4 > > Clients:Windows 2000 Professional + SP4 > > > > Regards, > > > > Tayfun Keresteci > > |
|
|
|
#4 |
|
Posts: n/a
|
Using the tools only supplied with Windows, no not automatically. Your best
bet is to script it as Dave pointed out....however these are all Windows Server 2003 tools that he mentions. Best, Will www.mcseworld.com "Tayfun Keresteci" <> wrote in message news:bca201c3b96c$e127e300$... > Hi, > > In Active Directory is there any way to disable a user if > the user don't use his user account for 60 days and also > delete the same user if day become 120 days. > > For Information > Server: Windows 2000 Server + SP4 > Clients:Windows 2000 Professional + SP4 > > Regards, > > Tayfun Keresteci |
|
|
|
#5 |
|
Posts: n/a
|
An expired account isn't deleted.
"Jose" <> wrote in message news:e$... > You can set an account expire date..& account will be removed, don't know if > you can check if used then delete automatically > > Jose > > "Dave" <> wrote in message > news:... > > Tayfun > > you can run a query using dsquery and pipe it to dsmod to search for and > > disable accounts not used for x days. I don't think you can use this to > > delete accounts. > > > > syntax is something like dsquery user -inactive 9 (weeks) | dsmod > > user -disabled yes > > > > you'll have to test the syntax > > > > Dave > > > > "Tayfun Keresteci" <> wrote in message > > news:bca201c3b96c$e127e300$... > > > Hi, > > > > > > In Active Directory is there any way to disable a user if > > > the user don't use his user account for 60 days and also > > > delete the same user if day become 120 days. > > > > > > For Information > > > Server: Windows 2000 Server + SP4 > > > Clients:Windows 2000 Professional + SP4 > > > > > > Regards, > > > > > > Tayfun Keresteci > > > > > > |
|
|
|
#6 |
|
Posts: n/a
|
There's no automagic way to do this that I know of. I used the below script
and tweaked it to output to a file and hardcoded my domain name in. The outputted text file is loaded into Excel and sorted. Then I manually disabled stale ID's. http://www.myitforum.com/articles/11/view.asp?id=2960 Grog "Tayfun Keresteci" <> wrote in message news:bca201c3b96c$e127e300$... > Hi, > > In Active Directory is there any way to disable a user if > the user don't use his user account for 60 days and also > delete the same user if day become 120 days. > > For Information > Server: Windows 2000 Server + SP4 > Clients:Windows 2000 Professional + SP4 > > Regards, > > Tayfun Keresteci |
|