Lala

Páginas: 85 (21111 palabras) Publicado: 3 de abril de 2012
ADDUSERS.exe (Resource Kit)
Automate the creation of a large number of users
Syntax

Create Users:
AddUsers /c filename [/s:x] [/?] Domain Password_options
Dump to file:
AddUsers /d{:u} filename [/s:x] [/?] Domain Password_options
Erase Users:AddUsers /e filename [/s:x] [/?] Domain Password_options
key

Filename - The comma-delimited file that AddUsers uses for data.

/s:x - Change the delimiter character used in filename to x.
e.g. /s:~ would make the delimiter "~"Domain - Query the Primary Domain Controller (PDC) of domain.
You can also use \\Servername to specify the machine where user accounts are created or read.
AddUsers will use the local computer by default (if you do not specify Domain)

/c - Create user accounts, local groups, andglobal groups as specified by filename.

/d{:u} - Dump user accounts, local groups, and global groups to filename.
The (:u) is an optional switch that causes current accounts to be written to the specified file in Unicode text format. Choosing to dump current user accounts does not save the account's passwords or any security information for the accounts.Note: Password information is not saved in a user account dump and if you use the same file to create accounts, all passwords of newly created accounts will be empty. To back up security information for accounts, use a Tape Backup.
/e - Erase the user accounts specified in the file name.
CAUTION: Be careful when erasing user accounts,as it is not possible to recreate
an account with the same SID. This option will not erase built-in accounts.

Password_options
/p: - Set account creation options, used along with any combination of the following:
* 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.
By default, all created users are required to change their password at logon.
Example
Create a comma-delimited text file, which contains the new users to be created. Following theSyntax as follows:
[Users]
User Name,Full name, Password, Description, HomeDrive, Homepath, Profile, Script
e.g.
[User]
jimmye,James Edward Phillip II,,,,,,
alexd,Alex Denuur,,,E:\,E:\users\alexd,,
ronj,Ron Jarook,ChangeThis,,E:\,E:\users\ronj,,
sarahs,Sarah Smith,,,,,,
u0123,Mike Olarte,,,,,,
ADmodcmd.exe
Active Directory Bulk Modify Tool (Command Line Version) There is also a GUI forthis tool called admodify.exe
Syntax
admodcmd [-dn BaseDN] [-p pagesize] [-s] [-server servername]
[-f LDAPFilter] [modification]

Key
-dn BaseDN Base DN to begin the LDAP query.

modification Modification to perform:
Terminal Server Attributes | Exchange Related Attributes
Mailbox Rights | User Account Settings | CustomAttributes

-p pagesize LDAP Page size to use for query.

-s Perform a subtree search
(Default = one level search)

-server servername
The server to make the changes to.
by default, changes are made locally if on a DC.
If on a member, DNS is used to find a DC.

-f...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Lalo
  • Lala
  • Lala
  • Lala
  • Lala
  • lala
  • lala
  • lala

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS