No announcement yet.

Modify User Rights

  • Filter
  • Time
  • Show
Clear All
new posts

  • Modify User Rights

    Is there any way to change the user rights on many computers at once? For example, I need to give domain users the "change system time" right on all pc's in the domain.

    Thanks in advance!

  • #2
    Re: Modify User Rights

    You can use Hyena to create a batch file that will run the ntrights.exe utility from the Windows NT Resource Kit. The batch file would look like:

    ntrights -m \\computera +r SeSystemtimePrivilege -u username
    ntrights -m \\computerb +r SeSystemtimePrivilege -u username
    ntrights -m \\computerc +r SeSystemtimePrivilege -u username

    The Generate Macro function can help by allowing you to select all of the computers that you want to issue this command against, by running the Generate Macro function under Tools->Generate Macro, and typing in the Macro Command String box:

    ntrights -m \\%E% +r SeSystemtimePrivilege -u username

    Then type in an output filename such us c:\update.bat and click OK.

    Hyena will then create your batch file with one entry per computer, replacing the %E% with each computer.

    You can then go to the Command Prompt and type c:\update.bat and ntrights will make these changes for you.