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. CreateProcessWithLogonW

CreateProcessWithLogonW

Scheduled Pinned Locked Moved C / C++ / MFC
jsonhelpquestion
9 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.
  • A Offline
    A Offline
    Ajay L D
    wrote on last edited by
    #1

    Hi All, I am trying to use the API CreateProcessWithLogonW in my app. I get an error message which says "The specified service does not exist as an installed service" with error code 1060. Does anyone has any idea why this is happenning? Thank you, AJ

    R 1 Reply Last reply
    0
    • A Ajay L D

      Hi All, I am trying to use the API CreateProcessWithLogonW in my app. I get an error message which says "The specified service does not exist as an installed service" with error code 1060. Does anyone has any idea why this is happenning? Thank you, AJ

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      which OS you are working on, Check whether the RunAs service is started; on Windows XP it is named "Secondary Logon service, possibly for security reason, this service may be disabled in your machine(by admin), check the runas command also.

      A R 2 Replies Last reply
      0
      • R Rajkumar R

        which OS you are working on, Check whether the RunAs service is started; on Windows XP it is named "Secondary Logon service, possibly for security reason, this service may be disabled in your machine(by admin), check the runas command also.

        A Offline
        A Offline
        Ajay L D
        wrote on last edited by
        #3

        :) Thanks a lot!! I was running it on XP Embedded. That explains why it isn't running! Thanks again, AJ

        R 1 Reply Last reply
        0
        • R Rajkumar R

          which OS you are working on, Check whether the RunAs service is started; on Windows XP it is named "Secondary Logon service, possibly for security reason, this service may be disabled in your machine(by admin), check the runas command also.

          R Offline
          R Offline
          Rajkumar R
          wrote on last edited by
          #4

          I would like to know the reason why this post is voted down.

          A 1 Reply Last reply
          0
          • A Ajay L D

            :) Thanks a lot!! I was running it on XP Embedded. That explains why it isn't running! Thanks again, AJ

            R Offline
            R Offline
            Rajkumar R
            wrote on last edited by
            #5

            so, i think you need to add the RunAs service component[^] to the runtime OS image

            1 Reply Last reply
            0
            • R Rajkumar R

              I would like to know the reason why this post is voted down.

              A Offline
              A Offline
              Ajay L D
              wrote on last edited by
              #6

              I don't know who has voted down...and how do you vote?

              A 1 Reply Last reply
              0
              • A Ajay L D

                I don't know who has voted down...and how do you vote?

                A Offline
                A Offline
                Ajay L D
                wrote on last edited by
                #7

                rectified now!!

                R 1 Reply Last reply
                0
                • A Ajay L D

                  rectified now!!

                  R Offline
                  R Offline
                  Rajkumar R
                  wrote on last edited by
                  #8

                  Thanks Buddy.

                  A 1 Reply Last reply
                  0
                  • R Rajkumar R

                    Thanks Buddy.

                    A Offline
                    A Offline
                    Ajay L D
                    wrote on last edited by
                    #9

                    Can the performance of this API be improved in any way? I tried out the API and it is way too slow. I guess this might be because of the fact that it has to logon with the credentials that I provide and then launch the process.

                    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