NTRights Main Topic | Previous | Next

NTRights Examples


To grant the right to change the system time to the local users group, run the following command:

ntrights +r SeSystemtimePrivilege -u Users

To revoke the right of the group "Everyone" to access this computer from the network:

ntrights -r SeNetworkLogonRight -u Everyone

NTRights can also operate on remote computers across a network by specifying a target computer. For example, to grant the right to logon as a service on computer NTUSER007 for the user MyService001, you would run the following command:

ntrights +r SeServiceLogonRight -u MyService001 -m \\NTUSER007