Modifying the "Local security settings" programmatically?
.NET (Core and Framework)
2
Posts
1
Posters
0
Views
1
Watching
-
I have been searching for a few hours how to assign the right to "log on as a service" to a user I created. Does anyone know if there is an API or some registry keys to modify? Thank you in advance.
-
I have been searching for a few hours how to assign the right to "log on as a service" to a user I created. Does anyone know if there is an API or some registry keys to modify? Thank you in advance.
I actually found a way to do this using a SDK tool called NTRight.exe Use command line: ntrights.exe -u [UserName] +r SeServiceLogonRight