Re: DSQuery in 2003 Please help
- From: Jeromy <Jeromy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jul 2005 06:58:03 -0700
Yes True. Can edit the xml file to pull data in the time that I want. But I
don't want to have to select all users in the query to disable the user or
users. I just want it to automataclly disable. Unless I am reading your
post incorrectly.
What I am reading from your post is create a query and export it to a xml.
Then change the number of days and import it back into Saved Queries. When
it finds a user that hasn't logged in for the numbers of days specified it
will show that user. then you would have to select all and right click to
disable.
This is what I am getting from your query.
Great Answers everyone This helps so much
I did try that oldcmp this works pretty well and I would be able to
schedule a job to run at night.
"Paul Bergson" wrote:
> Only have to import and export ONCE. That is to change the days to 1
> (Sounds like you want it 7 now). The default is 30 60 90 or 120 so to get
> it to 7 is the export/import need. Once you have done this you never need
> to do it again. Everytime you look at the query it is up to date and has
> the details for 7 days or older.
>
> --
>
>
> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Jeromy" <Jeromy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:60A0607C-D4D2-4415-BF7B-671710B28447@xxxxxxxxxxxxxxxx
> >I am in 2003 Native for forest and domain. If you are in 2000 native this
> > query won't work because 2000 native does not support this type of query.
> >
> > I am only asking for one week because I don't have any other accounts that
> > are inactive for more than a day. I created one account and I have not
> > used
> > it for a week but it doesn't return that user. I will wait one more week
> > to
> > see if I do a query for two weeks and see if it brings back a value that I
> > want.
> >
> > Laura and Joe I will have to try that oldcmp.
> >
> > Paul that would seem to be a work around but it seems to be to much work.
> > I
> > would like to run a script or task every morning and me having to manual
> > do
> > it and export it seems to be to much work. Microsofts famous words "Least
> > amount of administrative effort"
> >
> > Thanks for all your input if you have anymore suggestions please let me
> > know.
> >
> > Thanks a bunch
> >
> > "Paul Williams [MVP]" wrote:
> >
> >> What mode is your domain running in?
> >>
> >> Some of the DS* commands only work in 2003 functional mode.
> >>
> >> The other question is what happens if you use a value greater than one?
> >> Say, four weeks?
> >>
> >> --
> >> Paul Williams
> >> Microsoft MVP - Windows Server - Directory Services
> >> http://www.msresource.net | http://forums.msresource.net
> >>
> >>
> >>
>
>
>
.
- Follow-Ups:
- Re: DSQuery in 2003 Please help
- From: Paul Bergson
- Re: DSQuery in 2003 Please help
- References:
- DSQuery in 2003 Please help
- From: Jeromy
- Re: DSQuery in 2003 Please help
- From: Paul Williams [MVP]
- Re: DSQuery in 2003 Please help
- From: Jeromy
- Re: DSQuery in 2003 Please help
- From: Paul Bergson
- DSQuery in 2003 Please help
- Prev by Date: Re: Setting Content Advisor via Group Policy
- Next by Date: Searching for an AD attribute value
- Previous by thread: Re: DSQuery in 2003 Please help
- Next by thread: Re: DSQuery in 2003 Please help
- Index(es):
Relevant Pages
|