Okay.. I found my old copy of the 2000 server resource kit and it looks like
addusers is still in it.
The correct switch is addusers /d do not use /e unless you want to delete
your accounts.
------------------------------------------------
C:\Temp1\I386\NETMGMT>addusers /?
Command-line account manipulation utility version 3.0.0.1
Copyright Microsoft Corporation 1997. All rights reserved.
Adds, Writes, or Erases accounts as specified by a delimited file.
ADDUSERS {/c|/d{:u}|/e} filename [/s:x] [/?] [\\computername|domainname]
[/p:{l|
c|e|d}]
/? Display this help screen.
/c Create accounts specified in the file.
/d: Write current accounts to the specified file, opt. followed by {:u}.
u Write current accounts to the specified file in Unicode text format.
/p: Set's account creation options, followed by an comb. of {lced}
l Users do not have to change passwords at next logon.
c Users cannot change passwords.
e Passwords never expire. (implies l option)
d Accounts disabled.
/e Erase user accounts specified in the file.
/s:x Sets the separator character for the input/output file. Replace the
x with the character to be used for separating fields. (e.g. /s:~)
Note: The separator character is a comma ',' by default.
For detailed information please refer to the Resource Kit Help file.
C:\Temp1\I386\NETMGMT>
-----------------------------------------------------------------------
----- Original Message -----
From: "Jose Medeiros" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 11, 2005 12:11 AM
Subject: Re: [ActiveDir] user dump
Take a look at:
http://www.microsoft.com/windows2000/techinfo/planning/activedirectory/bulksteps.asp
This is now the recommened method by Microsoft for an AD dump ( As per the
2000 AD class that I took at Quickstart Technologies back in 2000 ) ,
however I used adduser ( An old tool from the NT 3.51 & NT4 resource
kit ) and it worked for me in setting up a test enviroment. Just type the
adduser /? for the variables, but I believe the switch is /e ( Sorry it's
been several years since I have used it.
Jose
----- Original Message -----
From: "Freddie Coleman III" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 10, 2005 8:14 PM
Subject: Re: [ActiveDir] user dump
thanks, i need it to dump the profile locations also. is this possible
w/
these tools? know anything about add user?
dsquery/dsget will do the trick as well.
Phil
On 8/10/05, Coleman, Hunter <[EMAIL PROTECTED]> wrote:
ADFind: http://www.joeware.net/win/free/tools/adfind.htm
Example 6 from the command line help (adfind.exe /?) should be a good
starting point for you.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Freddie
Coleman
III
Sent: Wednesday, August 10, 2005 8:19 PM
To: [email protected]
Subject: [ActiveDir] user dump
how can i dump a list of all of my ad users?
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/