Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to set user rights in command line?

Posted on 2006-10-20
3
Medium Priority
?
193 Views
Last Modified: 2010-04-18
hi how do i set user rights to Administrator using command line? (windows 2003)
0
Comment
Question by:dynamicrevolutions
3 Comments
 
LVL 14

Assisted Solution

by:inbarasan
inbarasan earned 1000 total points
ID: 17772273
0
 
LVL 9

Accepted Solution

by:
SamuraiCrow earned 1000 total points
ID: 17774910
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
 
LVL 41

Expert Comment

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question