We help IT Professionals succeed at work.

how to set user rights in command line?

dynamicrevolutions used Ask the Experts™
hi how do i set user rights to Administrator using command line? (windows 2003)
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This can also be done with the Restricted Groups group policy:

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

What do you mean by "user rights"?    Are you talking about changing the read/write permissions on files?