This post has been edited by demontager: 15 October 2009 - 06:37 PM
Page 1 of 1
Add an user from cmd Windows2003 server
#1
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.
#2
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
http://technet.microsoft.com/en-us/library...279(WS.10).aspx
#3
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>
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



Help
Back to top









