Skip to content

Instantly share code, notes, and snippets.

@thecliguy
Created March 10, 2018 12:53
Show Gist options
  • Save thecliguy/92790b6aef3c0537a806db877ae8754c to your computer and use it in GitHub Desktop.
Save thecliguy/92790b6aef3c0537a806db877ae8754c to your computer and use it in GitHub Desktop.
Grant user 'Log on as batch job' rights
=======================================
NTRIGHTS.EXE:
* NTRIGHTS.exe is part of the Windows Server 2003 Resource Kit.
Once installed, NTRIGHTS.exe resides in 'C:\Program Files (x86)\Windows Resource Kits\Tools\'.
* I have tested it on Windows Server 2012 R2 x64, works fine.
* [ ] Run the following command: ntrights -u <USERNAME> +r SeBatchLogonRight
SECPOL.MSC:
* [ ] Start > Run > secpol.msc /s.
* [ ] Select 'Local Policies'.
* [ ] Select 'User Rights Assignment'.
* [ ] Select 'Log on as a batch job'.
* [ ] Add the account.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment