Go Back   Velocity Reviews > Newsgroups > MCSE
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

MCSE - Account Security

 
Thread Tools Search this Thread
Old 12-03-2003, 07:12 AM   #1
Default Account Security


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
  Reply With Quote
Old 12-03-2003, 10:50 AM   #2
Dave
 
Posts: n/a
Default Re: Account Security

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



  Reply With Quote
Old 12-03-2003, 04:11 PM   #3
Jose
 
Posts: n/a
Default Re: Account Security

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

>
>



  Reply With Quote
Old 12-03-2003, 04:58 PM   #4
MCSE World
 
Posts: n/a
Default Re: Account Security

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



  Reply With Quote
Old 12-03-2003, 05:02 PM   #5
Dave
 
Posts: n/a
Default Re: Account Security

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

> >
> >

>
>



  Reply With Quote
Old 12-03-2003, 09:59 PM   #6
Grog in Ohio
 
Posts: n/a
Default Re: Account Security

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



  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump