Help - Search - Members - Calendar
Full Version: Add an user from cmd
MSFN Forums > Microsoft Software Products - Discussion & Support > Windows NT4/2000/2003

   


Google Internet Forums Unattended CD/DVD Guide
demontager
I want to add an user to Win2003 sever, but in command line way. For example, I need add user: super and also add him to Remote desktop users, so I will be able to connect to server from other PC by using "super" account. Please explain me how to do that. I know how to add in GUI, but very interesting console method.
chilifrei64
Yes.. MS offers the dsadd utility. I only used it in a MS class like 7 years ago and never used it since so I dont know the exact command line for you but here's the spec sheet and options

http://technet.microsoft.com/en-us/library...279(WS.10).aspx
demontager
Please, could you explain, what is wrong, i tried to add user, but something wrong with syntax

C:\Documents and Settings\Administrator>dsadd user super -pwd 100100 -memberof Ad
ministrators "Remote Desktop Users" -pwdneverexpires yes
dsadd failed:Value for `Target object for this command' has incorrect format.
type dsadd /? for help.
C:\Documents and Settings\Administrator>









Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.