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. Run application in Safe Mode

Run application in Safe Mode

Scheduled Pinned Locked Moved System Admin
c++announcement
3 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.
  • R Offline
    R Offline
    rohit dhamija 0
    wrote on last edited by
    #1

    Dear All, I am developing an application in MFC VC++ Version 6.0 for Windows 2000. I start my application as soon as the system logs on, by giving the path of my exe in Run field i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run I want to run my program in safe mode also. But unfortunately my program doesnot starts in the safe mode automatically because Run entry in registy doesnot work in this case. Please suggest any way to run my application in safe mode also. Feel free to ask any further queries in this regards, Thanks Rohit Dhamija

    M R 2 Replies Last reply
    0
    • R rohit dhamija 0

      Dear All, I am developing an application in MFC VC++ Version 6.0 for Windows 2000. I start my application as soon as the system logs on, by giving the path of my exe in Run field i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run I want to run my program in safe mode also. But unfortunately my program doesnot starts in the safe mode automatically because Run entry in registy doesnot work in this case. Please suggest any way to run my application in safe mode also. Feel free to ask any further queries in this regards, Thanks Rohit Dhamija

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      Run does not work because Safe Mode is for repairing your system and for diagnosing problems, not for running applications. If you're worried that users can reset the system and start in Safe Mode to avoid your program, don't give them the 'shut down system' privilege, and don't give them physical access to the computer. Oh, hang on, they need to do that to use it... If you really need your program to run all the time, write it as a service. However, Windows still won't run your service if it boots in Safe Mode, IIRC - there's a limited set of required services that are started. See Inside Windows 2000 (Solomon, Russinovich) for more information.

      1 Reply Last reply
      0
      • R rohit dhamija 0

        Dear All, I am developing an application in MFC VC++ Version 6.0 for Windows 2000. I start my application as soon as the system logs on, by giving the path of my exe in Run field i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run I want to run my program in safe mode also. But unfortunately my program doesnot starts in the safe mode automatically because Run entry in registy doesnot work in this case. Please suggest any way to run my application in safe mode also. Feel free to ask any further queries in this regards, Thanks Rohit Dhamija

        R Offline
        R Offline
        Roger Wright
        wrote on last edited by
        #3

        Try running it from AUTOEXEC.BAT. That should cause it to run even in a DOS mode boot. "Your village called -
        They're missing their idiot."

        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