Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for something like Bootsafe but with option to be run silently. Anyone aware of such utility or any special command to be run?

share|improve this question

2 Answers 2

Use EasyBCD with Vista/7 it allows a lot of different ways to modify your bootrecord, it's easy to use.

http://neosmart.net/dl.php?id=1

share|improve this answer
    
easybcd does not work on my xp intall. is there anything that will reboot to safe just by running it and no need to install custom bootloaders –  james Aug 20 '10 at 7:30
    
@James: You should have probably specified the platform as a part of the question. @Sandeep: As I mentioned in the comment for @John's answer, you're probably better off creating a completely new boot record with the safe option set rather than modifying the old one, so that you can escape to normal boot using F8 if things go wrong. –  Billy ONeal Sep 26 '10 at 3:23

One way to trigger the machine to boot into safe mode on Windows XP and below is via the boot.ini file. You can write a simple script or program that can swap out your current boot.ini file with one that contains the /safeboot switch.

example of a regular boot.ini:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

example of a safe mode enabled boot.ini:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /SAFEBOOT:MINIMAL

note the addition of /SAFEBOOT:MINIMAL to the end of the file. In order to edit the boot.ini however, you need to remove the read only attribute and run your script as an administrator.

NOTE: I'd strongly advise you to make a backup of your boot.ini file before attempting this.

share|improve this answer
    
this will work, but only for 2000/xp/2003 and if the windows installation is not on C drive but another it will fail –  james Aug 20 '10 at 7:23
1  
@James Pretty sure boot.ini has been around since ~98. And Yes, this is assuming you have a standard windows install on the C: drive. If you have a different configuration, you should put it into your question so we know your operating system and how your disk is set up. We don't read minds here. –  John T Aug 20 '10 at 12:31
    
Your example of a regular boot.ini also includes /SAFEBOOT:MINIMAL. –  Velociraptors Sep 25 '10 at 21:59
    
whoops! thank you @Velo –  John T Sep 26 '10 at 3:19
    
Note that, in general, this is a horrendously bad idea. If safeboot is screwed up, you're left with a doorstop. You'd probably be better to create a new boot line completely, with the new line being the default and safebooted. Then you can "escape" back to normal booting using F8 if something goes wrong. –  Billy ONeal Sep 26 '10 at 3:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.