Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Modifying the "Local security settings" programmatically?

Modifying the "Local security settings" programmatically?

Scheduled Pinned Locked Moved .NET (Core and Framework)
windows-adminalgorithmssecurityjsontutorial
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Francois Gasnier
    wrote on last edited by
    #1

    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.

    F 1 Reply Last reply
    0
    • F Francois Gasnier

      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.

      F Offline
      F Offline
      Francois Gasnier
      wrote on last edited by
      #2

      I actually found a way to do this using a SDK tool called NTRight.exe Use command line: ntrights.exe -u [UserName] +r SeServiceLogonRight

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups