Privilege grants through the command line

You can administer a network server through the command prompt just as though you were using the GUI. Obviously performing administrative tasks is a lot easier using the GUI, so you may never have to use the command prompt to grant a user certain privileges. But becoming familiar with some of the commands available may rescue you from a difficult situation just when you least expect it.

With the Ntrights.exe command (available from the Windows 2000 resource kit) an administrator can, for example, grant a user (with appropriate approval of course) the right to manage the auditing and security log.

Issuing the following command can do this:
Ntrights +r SeSecurityPrivilege -u "Username" -m\\servername

+r granting user right privilege
-u username that will be that will be managing the auditing and security logs.
-m indicates that the changes will be performed on a remote server.

For a detailed listing of all the privileges available visit the Microsoft Web Site and enter 279664 (which is the Knowledgebase article) in the Search Field.

Adesh Rampat has 10 years experience with network and IT administration. He is a member of the Association Of Internet Professionals, the Institute For Network Professionals, and the International Webmasters Association. He has also lectured extensively on a variety of topics.

Requires Free Membership to View

This was first published in February 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.