Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Microsoft Windows NT/2000/2003 (http://forum.oszone.net/forumdisplay.php?f=5)
-   -   [решено] Как создать учетные записи с помощью скрипта? (http://forum.oszone.net/showthread.php?t=54378)

fm72 27-09-2005 16:38 359086

[решено] Как создать учетные записи с помощью скрипта?
 
Хочу найти возможность создать автоматически пользватей на Win 2003.
помогите найти решение этой задачи.
зарание благодарин.

SkyF 27-09-2005 18:24 359132

для начала встроенные команды:

net help user
dsadd user /?
csvde /?
Ldifde /?


Цитата:

Цитата Встроенная справка:
Managing Active Directory from the command lineThe following command-line tools can be used to manage Active Directory.

Name Description
Csvde Import and export Active Directory data using comma-separated format.
Dsadd Add users, groups, computers, contacts, and organizational units to Active Directory.
Dsmod Modify an existing object of a specific type in the directory. The types of objects that can be modified are: users, groups, computers, servers, contacts, and organizational units.
Dsrm Remove objects of the specified type from Active Directory.
Dsmove Rename an object without moving it in the directory tree, or move an object from its current location in the directory to a new location within a single domain controller. (For cross-domain moves, use the Movetree command-line tool.)
Dsquery Query and find a list of objects in the directory using specified search criteria. Use in a generic mode to query for any type of object or in a specialized mode to query for for selected object types. The specific types of objects that can be queried through this command are: computers, contacts, subnets, groups, organizational units, sites, servers and users.
Dsget Display selected attributes of specific object types in Active Directory. Attributes of the following object types can be viewed: computers, contacts, subnets, groups, organizational units, servers, sites, and users.
Ldifde Ceate, modify, and delete directory objects. This tool can also be used to extend the schema, export Active Directory user and group information to other applications or services, and populate Active Directory with data from other directory services.
Ntdsutil General purpose Active Directory management tool. Use Ntdsutil to perform database maintenance of Active Directory, to manage single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled.

Additional command-line tools are available in the Support tools folder of the product compact disc and from the Resource Kit


Dennis 27-09-2005 21:42 359222

А еще можно воспользоваться WHS...
http://www.microsoft.com/technet/scr...r/default.mspx (в частности http://www.microsoft.com/technet/scr...e/default.mspx)
http://www.winguides.com/scripting/

Vadikan 27-09-2005 21:42 359223

Примеры для net user
http://oszone.net/display.php?id=2776#netuser

fm72 29-09-2005 14:01 359986

спосибо ребята за ответы но есть проблема нет актив дайректори.
Вадикан тебе особое спосибо с помощью материала на твоем сайте автоматезировал почти все установки в сети.


Время: 04:08.

Время: 04:08.
© OSzone.net 2001-