how to set user rights in command line?

hi how do i set user rights to Administrator using command line? (windows 2003)
LVL 5
dynamicrevolutionsAsked:
Who is Participating?
 
SamuraiCrowConnect With a Mentor Commented:
This can also be done with the Restricted Groups group policy:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_scerestrictgroups.mspx?mfr=true

Keep in mind this will remove anyone from the group who is not in the policy (Learned this the hard way).  You can also use the net localgroup command from a computer startup script to add it to all computers under the policy.  Here is the syntax:

net localgroup "Administrators" "domainname\username" /add

Let me know if you have any questions or need clarification
Crow
0
 
inbarasanConnect With a Mentor Commented:
0
 
grayeCommented:
What do you mean by "user rights"?    Are you talking about changing the read/write permissions on files?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.