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. ATL / WTL / STL
  4. Logging as windows system account

Logging as windows system account

Scheduled Pinned Locked Moved ATL / WTL / STL
c++sysadminalgorithmshelptutorial
2 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.
  • R Offline
    R Offline
    rana74
    wrote on last edited by
    #1

    We have written a windows ATL server application which runs as a windows service(system account). Since the system account does not have file-write prmissions,we are searching for a way how to introduce logging mechanism into this application(either to file or event log). Any help on this will be appreciated. FYI, this program launces a browser to perform certain actions and so the servicei s configured with 'Interact with desktop' permission.

    L 1 Reply Last reply
    0
    • R rana74

      We have written a windows ATL server application which runs as a windows service(system account). Since the system account does not have file-write prmissions,we are searching for a way how to introduce logging mechanism into this application(either to file or event log). Any help on this will be appreciated. FYI, this program launces a browser to perform certain actions and so the servicei s configured with 'Interact with desktop' permission.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      I have never had difficulty writing to the event log from a service running in system account. Are you getting an error or what?

      led mike

      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