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. C#
  4. Getting the log on information for a windows service

Getting the log on information for a windows service

Scheduled Pinned Locked Moved C#
3 Posts 2 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.
  • K Offline
    K Offline
    kalyanPaladugu
    wrote on last edited by
    #1

    Iam trying to get the log on information for a windows service. does any body know how to get this. I know you can use serviceinstaller to create a service and define the username and password for it.but how does one get the username for already existing service

    P 1 Reply Last reply
    0
    • K kalyanPaladugu

      Iam trying to get the log on information for a windows service. does any body know how to get this. I know you can use serviceinstaller to create a service and define the username and password for it.but how does one get the username for already existing service

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Look at the service in Control Panel > Administrative Tools > Services. Select the service you want, right click it and select properties. Look under the Log on tab and you will see who it logs in as (either the local system account or the named account).

      Deja View - the feeling that you've seen this post before.

      K 1 Reply Last reply
      0
      • P Pete OHanlon

        Look at the service in Control Panel > Administrative Tools > Services. Select the service you want, right click it and select properties. Look under the Log on tab and you will see who it logs in as (either the local system account or the named account).

        Deja View - the feeling that you've seen this post before.

        K Offline
        K Offline
        kalyanPaladugu
        wrote on last edited by
        #3

        well iam trying to get that programatically in C#

        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