MSFN Forum: Add an user from cmd - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Add an user from cmd Windows2003 server Rate Topic: -----

#1 User is offline   demontager 

  • Group: Members
  • Posts: 5
  • Joined: 15-September 09

Posted 15 October 2009 - 06:36 PM

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.

This post has been edited by demontager: 15 October 2009 - 06:37 PM



#2 User is offline   chilifrei64 

  • How do you like your Chili?
  • PipPipPipPipPip
  • Group: Members
  • Posts: 995
  • Joined: 16-February 05

Posted 15 October 2009 - 07:02 PM

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

#3 User is offline   demontager 

  • Group: Members
  • Posts: 5
  • Joined: 15-September 09

Posted 16 October 2009 - 03:15 AM

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>

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy