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
question
5 Posts 3 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
    A T I F
    wrote on last edited by
    #1

    I am calling CreateProcessWithLogonW to spawn a new process in WinXP and it takes about 45 seconds on my computer to load the new process....any idea why this is happening....?? It takes about 2 to 3 seconds for the same call to spawn a new process on Win 2000 machine.

    V D 2 Replies Last reply
    0
    • A A T I F

      I am calling CreateProcessWithLogonW to spawn a new process in WinXP and it takes about 45 seconds on my computer to load the new process....any idea why this is happening....?? It takes about 2 to 3 seconds for the same call to spawn a new process on Win 2000 machine.

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      ARe you spwaning the same process (exe) on both OS? Kuphryn

      A 1 Reply Last reply
      0
      • V valikac

        ARe you spwaning the same process (exe) on both OS? Kuphryn

        A Offline
        A Offline
        A T I F
        wrote on last edited by
        #3

        Yes...it seems that the exe is not taking the time...it is the CreateProcessWithLogonW call that is taking the time....

        1 Reply Last reply
        0
        • A A T I F

          I am calling CreateProcessWithLogonW to spawn a new process in WinXP and it takes about 45 seconds on my computer to load the new process....any idea why this is happening....?? It takes about 2 to 3 seconds for the same call to spawn a new process on Win 2000 machine.

          D Offline
          D Offline
          darkbyte
          wrote on last edited by
          #4

          How different are the login profiles of both accounts ? (i.e., the one on winXP and the one on win2K) If one has more processes under HKCU->...->Run, then its normal that is requires more time. Just a thought DarkByte

          A 1 Reply Last reply
          0
          • D darkbyte

            How different are the login profiles of both accounts ? (i.e., the one on winXP and the one on win2K) If one has more processes under HKCU->...->Run, then its normal that is requires more time. Just a thought DarkByte

            A Offline
            A Offline
            A T I F
            wrote on last edited by
            #5

            It is a good thought indeed but for my case the user on both XP and 2000 are newly created standard users. They have been created from the User Management console in both OS.

            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