You may want to take a look at ADmodify.net

http://www.gotdotnet.com/workspaces/workspace.aspx?id=f5cbbfa9-e46b-4a7a-8ed8-3e44523f32e2

 

Nice tools for batch AD modifs.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Linan
Sent: Friday, August 25, 2006 2:16 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] disable 200 users

 

Hi,

 

I have been given a list of 200 users to disable, and move to another OU.

The users are not currently in the same OU but in many different OU.

 

I am trying to use the txt file that contains the list of users to be disable.

 

How can I do this?

 

 

I was trying to use the query tool that comes with AD users and computer to select the users but got nowhere with

 

(&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14))))(objectCategory=user)(cn=user1)))

(&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14))))(objectCategory=user)(cn=user2)))

etc

 

 

Thanks

Rezuma

Reply via email to