Privileges can also be manipulated/assigned to users in bulk using the secedit tool

  1. Dump system privileges: secedit /export /cfg config.inf.
  2. Edit config.inf, appending the user you want to have a given privilege to that privilege’s assignment line (comma-delineated list).
  3. Re-import the system privileges: secedit /import /cfg config.inf /db config.sdb & secedit /configure /db config.sdb /cfg config.inf