Windows won’t boot after changing MSCONFIG BOOT Advanced options

After changing the “Number of processors”, “Maximum Memory”, “PCI Lock” settings in the MSCONFIG Advanced Boot Options dialog, Windows may not start correctly. In some cases, you’ll see the “HAL INITIALIZATION FAILED” or other blue screen errors at startup.

Resolution

You can undo the changes you made in msconfig.exe via Windows RE.

Step 1: Boot into Windows RE

After three unsuccessful boot attempts, Windows will allow you to load the Windows Recovery Environment (RE). If not, you can use a bootable USB Windows setup disk to enter Windows RE.

In Windows RE, click Troubleshoot → Advanced Options → Command Prompt.

For more information, see How to access Windows Recovery Environment (WinRE).


Step 2: Fix the BCD

To revert the changes you made in the MSCONFIG “Advanced Boot Options” dialog, run these commands:

bcdedit /deletevalue {default} numproc
bcdedit /deletevalue {default} truncatememory
bcdedit /deletevalue {default} usefirmwarepcisettings

Press Enter after typing each command.



Note: You should see the message “The operation completed successfully.” for each command.

The above commands will undo your faulty MSCONFIG Advanced Boot Options settings.

To restart the computer, run the following:

wpeutil reboot

See if you’re able to start Windows normally.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time.

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a ten-time recipient of the Microsoft MVP award in Windows Desktop Experience (Windows Shell), from 2003 to 2012. Ramesh founded Winhelponline.com in 2005.

3 thoughts on “Windows won’t boot after changing MSCONFIG BOOT Advanced options”

  1. I was scared, I thought I messed up my computer after messing with the memory settings on msconfig.
    Whoever you are, you’re a life saver

    Thank you

    Reply
  2. I second that comment, I stupidly changed the processor amount after some idiots video suggested it would help with performance. I tried reformatting and everything and this was the only way to fix it! Thank you so much!!

    Reply

Leave a Comment