Solved

how to set user rights in command line?

Posted on 2006-10-20
3
184 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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