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. Database & SysAdmin
  3. System Admin
  4. Running application as windows shutdowns

Running application as windows shutdowns

Scheduled Pinned Locked Moved System Admin
windows-admintoolsquestion
4 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.
  • M Offline
    M Offline
    Mikke_x
    wrote on last edited by
    #1

    Hi all! I have a queistion. I would like to run an application every time that my windows (XP) is shutting down. Is it possible to register a batch script that executes every shutdown in the registry? Best Regards Mikke

    D 1 Reply Last reply
    0
    • M Mikke_x

      Hi all! I have a queistion. I would like to run an application every time that my windows (XP) is shutting down. Is it possible to register a batch script that executes every shutdown in the registry? Best Regards Mikke

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No, it's not. Once the Shutdown begins, the loader will not start new executables. You can launch stuff in the LogOff part of the shutdown, where the user is logged off before the Windows shutdown process begins, but not after.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      M 1 Reply Last reply
      0
      • D Dave Kreskowiak

        No, it's not. Once the Shutdown begins, the loader will not start new executables. You can launch stuff in the LogOff part of the shutdown, where the user is logged off before the Windows shutdown process begins, but not after.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        M Offline
        M Offline
        Mikke_x
        wrote on last edited by
        #3

        ok, that sounds fair.. Can you guide me how to do that? Is it possible to run .Net applications during LogOff? The .Net runtime is active even during user logoff? Best Regards Mikke

        V 1 Reply Last reply
        0
        • M Mikke_x

          ok, that sounds fair.. Can you guide me how to do that? Is it possible to run .Net applications during LogOff? The .Net runtime is active even during user logoff? Best Regards Mikke

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          http://support.microsoft.com/kb/198642[^]

          Vasudevan Deepak Kumar Personal Homepage Tech Gossips

          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