Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I cannot boot into my Windows version due to a virus, I was able to boot into another partitioned copy of Windows and access msconfig, which I then selected the virus ridden partitioned and checked "safeboot minimal" but DID NOT select "make change permanant". However now when I boot up it always boots to the Windows 8 partition with the virus, and doesn't even give me the option of selected a different partition (boot manager). So I stuck in a Windows 7 installation disk and hit, Repair you computer, selected the virus'ed partition and opened up command prompt. I tried:

bcdedit {default} /deletevalue safeboot

but no avail, and I'm not sure why. I get an error to do with '/?'

full output of bcdedit is below. F:/ is the virus ridden im trying to remove safeboot from.

identifier {bootmgr}
device partition=C:
inherit {globasettings}
desc windows boot manager
bit and pieces irelevant
identifier {default}
device partition=F:
path \Windows\system32\winload.exe
desc windows 8
inherit {bootloadersettings}
recoveryenabled yes
osdevice partition=F:
systemroot \Windoiws
safeboot Minimal
safebootalternatshell No

so {default} safeboot is registered and bcdedit is found and runs ok. what would be the command to remove the safeboot value as the above didnt work?


share|improve this question

2 Answers 2

up vote 1 down vote accepted

The format of the command is a little different, the actual use would be bcdedit /deletevalue {default} safeboot.

share|improve this answer

It happened to my HP G60, but after lot of these trials and suggestions I recalled a course taken in operating System about system and temp logs and Recycling Temp. Then I cleaned up all d logs and regain about 20 gig of space and deleted all logs, then restarted my system, and my PC started normally without having to select start windows normally!

It's just a simple step. Boot to your Windows CLIQ ON COMPUTER or my computer Right click on the drive of your booting windows (i.e C:/) then properties click on disk cleanup. Enjoy!

share|improve this answer
This does not answer the question at all ! Please have a look at the following link to understand how this site works, prior to post over here. –  Ob1lan Jun 2 at 9:27

Your Answer


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.