Toon posts:

[win2k3] gebruiker toevoegen in command prompt

Pagina: 1
Acties:

Verwijderd

Topicstarter
Weet iemand hier een methode om een gebruiker toe te voegen met de command prompt is win2k3?
Ik heb in de help files alleen maar methodes gezien die niet via de command prompt gaan.
Maar aangezien er heel veel andere dingen ook met de command prompt gaan, lijkt me dit ook wel iets dat zo zou moeten kunnen?

Weet iemand wat?

  • Arno
  • Registratie: Juli 2000
  • Laatst online: 27-03 14:28

Arno

PF5A

Ja kan, met tools als csvde en bulkaddfrom excel.

Maar zoals het onder unix/linux kan is het niet mogelijk onder Windows (2003).

"Supercars are made to mess around with G-forces, hypercars are made to mess around with G-strings"
Jeremy Clarkson


Verwijderd

Topicstarter
ik had al iets gevonden..
Maar als ik die gebruik krijg ik:
dsadd failed: Value for 'Target object for this command'has incorrect value.
Dit gebeurt als ik intyp:
dsadd user holic -samid d_holic -pwd GOT

  • elevator
  • Registratie: December 2001
  • Niet online

elevator

Officieel moto fan :)

code:
1
 net user test /add

  • mutsje
  • Registratie: September 2000
  • Laatst online: 24-03 15:48

mutsje

Certified Prutser

je kunt in Windows Server 2003 gebruik maken van DSADD.exe DSMOD.exe etc.
Note: (advies van Elevator) voor DSADD en dergelijke moet je Active Directory hebben draaien. Heb je dit niet lees dan de posting van Elevator.

DSADD /? geeft je volgende output.
C:\Documents and Settings\Administrator>dsadd
Description: This tool's commands add specific types of objects to the
directory. The dsadd commands:

dsadd computer - adds a computer to the directory.
dsadd contact - adds a contact to the directory.
dsadd group - adds a group to the directory.
dsadd ou - adds an organizational unit to the directory.
dsadd user - adds a user to the directory.
dsadd quota - adds a quota specification to a directory partition.

For help on a specific command, type "dsadd <ObjectType> /?" where
<ObjectType> is one of the supported object types shown above.
For example, dsadd ou /?.
Remarks:
Commas that are not used as separators in distinguished names must be
escaped with the backslash ("\") character
(for example, "CN=Company\, Inc.,CN=Users,DC=microsoft,DC=com").
Backslashes used in distinguished names must be escaped with a backslash
(for example,
"CN=Sales\\ Latin America,OU=Distribution Lists,DC=microsoft,DC=com").
Directory Service command-line tools help:
dsadd /? - help for adding objects.
dsget /? - help for displaying objects.
dsmod /? - help for modifying objects.
dsmove /? - help for moving objects.
dsquery /? - help for finding objects matching search criteria.
dsrm /? - help for deleting objects.

[ Voor 13% gewijzigd door mutsje op 25-12-2003 12:57 ]


Verwijderd

OEPS heel oude post..

excuse me dear mod's

[ Voor 95% gewijzigd door Verwijderd op 02-08-2005 10:48 ]

Pagina: 1