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