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. How to run a application in safe mode also?

How to run a application in safe mode also?

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestionannouncement
2 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.
  • 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

    A 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

      A Offline
      A Offline
      Antti Keskinen
      wrote on last edited by
      #2

      I would say that what you're trying to achieve is impossible. You'd need to re-create your application as a service, then rebuild the Windows Kernel to start up your service when it boots to safe mode. And actually, I am happy that this is the way it works. Think for a moment what would happen if a virus got to your Windows and made itself start no matter where you booted ? In Windows XP/2000, this problem would be pretty shitty indeed :) Greets, Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

      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