Solved

how to set user rights in command line?

Posted on 2006-10-20
3
182 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 250 total points
ID: 17772273
0
 
LVL 9

Accepted Solution

by:
SamuraiCrow earned 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now