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