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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. RUNNING SERVICES ON REMOTE MACHINE [modified]

RUNNING SERVICES ON REMOTE MACHINE [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
helpsysadminjsonquestion
4 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.
  • S Offline
    S Offline
    shadrach_india
    wrote on last edited by
    #1

    Hi I have written one application . it will connect to the remote server and create one service on the server (WINDOWS 2000) . My problem is while calling the CreateService(), this API get hanging in this function call on server. It is neither returning back nor throwing error code. Then I have to terminate application from task man. The same problem for running service on remote machine I have Administrator rights. All services are running on (RPC) on service What will be issue ? :^) -- modified at 9:06 Monday 5th June, 2006

    S 1 Reply Last reply
    0
    • S shadrach_india

      Hi I have written one application . it will connect to the remote server and create one service on the server (WINDOWS 2000) . My problem is while calling the CreateService(), this API get hanging in this function call on server. It is neither returning back nor throwing error code. Then I have to terminate application from task man. The same problem for running service on remote machine I have Administrator rights. All services are running on (RPC) on service What will be issue ? :^) -- modified at 9:06 Monday 5th June, 2006

      S Offline
      S Offline
      sunit5
      wrote on last edited by
      #2

      Do u have SC_MANAGER_CREATE_SERVICE access right on remote Server never say die

      S 1 Reply Last reply
      0
      • S sunit5

        Do u have SC_MANAGER_CREATE_SERVICE access right on remote Server never say die

        S Offline
        S Offline
        shadrach_india
        wrote on last edited by
        #3

        yes. i have ( SC_MANAGER_ALL_ACCESS)

        S 1 Reply Last reply
        0
        • S shadrach_india

          yes. i have ( SC_MANAGER_ALL_ACCESS)

          S Offline
          S Offline
          sunit5
          wrote on last edited by
          #4

          Check the machine name u provided in OpenSCManager before Create Service() never say die -- modified at 0:56 Tuesday 6th June, 2006

          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