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 / C++ / MFC
  4. Problem to run service on Windows 2008 Server

Problem to run service on Windows 2008 Server

Scheduled Pinned Locked Moved C / C++ / MFC
helpsysadminwindows-adminquestionlearning
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.
  • M Offline
    M Offline
    Mahesh Kulkarni
    wrote on last edited by
    #1

    Hi all, I have a windows service which I am trying to run under local system account. It fails with the "error 1053:did not respond in timely manner." This service runs well on Windows 2003 Server. I found Service Hardening enhancemnets made in Windows 2008. It states that if no privilges mentioned for that service means service has all the privilges available for that account. It is given to support backward compatibility. When I attach the service to application verifier tool it runs propely when I check LuaPriv. Once a while when it failed when attached to Apllication Verifier it gave following error. <avrf:message>Access was restricted to trusted users only.</avrf:message> <avrf:formatmessage>RegOpenKeyExA: Key (\REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters) only grants requested 'KEY_SET_VALUE' to 'BUILTIN\Administrators, NT AUTHORITY\SYSTEM'</avrf:formatmessage> The service is already running under Local System Accoun(NT AUTHORITY\SYSTEM). Can someone give me hint or pointers to solve this problem? I am really stucked here. I already googled for lot of information but no luck. Thanks and Regards, Mahesh R. Kulkarni

    The secret of life is not enjoyment but education through experience. - Swami Vivekananda.

    M 1 Reply Last reply
    0
    • M Mahesh Kulkarni

      Hi all, I have a windows service which I am trying to run under local system account. It fails with the "error 1053:did not respond in timely manner." This service runs well on Windows 2003 Server. I found Service Hardening enhancemnets made in Windows 2008. It states that if no privilges mentioned for that service means service has all the privilges available for that account. It is given to support backward compatibility. When I attach the service to application verifier tool it runs propely when I check LuaPriv. Once a while when it failed when attached to Apllication Verifier it gave following error. <avrf:message>Access was restricted to trusted users only.</avrf:message> <avrf:formatmessage>RegOpenKeyExA: Key (\REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\WinSock2\Parameters) only grants requested 'KEY_SET_VALUE' to 'BUILTIN\Administrators, NT AUTHORITY\SYSTEM'</avrf:formatmessage> The service is already running under Local System Accoun(NT AUTHORITY\SYSTEM). Can someone give me hint or pointers to solve this problem? I am really stucked here. I already googled for lot of information but no luck. Thanks and Regards, Mahesh R. Kulkarni

      The secret of life is not enjoyment but education through experience. - Swami Vivekananda.

      M Offline
      M Offline
      Mahesh Kulkarni
      wrote on last edited by
      #2

      Hi All, Please give some inputs. I am waiting for some clues to move forward. Regards, Mahesh R. Kulkarni

      The secret of life is not enjoyment but education through experience. - Swami Vivekananda.

      E 1 Reply Last reply
      0
      • M Mahesh Kulkarni

        Hi All, Please give some inputs. I am waiting for some clues to move forward. Regards, Mahesh R. Kulkarni

        The secret of life is not enjoyment but education through experience. - Swami Vivekananda.

        E Offline
        E Offline
        Emilio Garavaglia
        wrote on last edited by
        #3

        Give a look here[^]

        2 bugs found. > recompile ... 65534 bugs found. :doh:

        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