ClanKiller.com
http://forums.clankiller.com/

Rebuilding System Partition
http://forums.clankiller.com/viewtopic.php?f=8&t=4383
Page 1 of 1

Author:  Peltz [ Wed May 27, 2020 10:23 am ]
Post subject:  Rebuilding System Partition

https://www.diskpart.com/articles/syste ... -3889.html
Leaving this for future reference as it worked in my case.
All the other tutorials failed.

These steps in particular:

bcdboot c:\windows /s c:

diskpart
list disk
select disk n (where n is the disk number of the system drive)
list partition
select part 1
active (the correct message should be: DiskPart marked the current partition as active)
exit (leave diskpart)

Looks like a fresh install is still necessary as the antivirus doesn't load and I cant seem to uninstall it. Just loads forever.

Author:  Satis [ Wed May 27, 2020 8:09 pm ]
Post subject:  Re: Rebuilding System Partition

Interesting. I've used diskpart making bootable USB drives to install disk images and stuff. Have you tried booting in safe mode to see if you can remove the antivirus? Still, if things are that wrecked, a clean install is usually best.

Author:  Peltz [ Thu May 28, 2020 11:19 am ]
Post subject:  Re: Rebuilding System Partition

Well the problem i had to circumvent was that:

bootrec /fixboot returned access denied.
bootrec /rebuildbcd returned 0 windows installations found.

attrib bcd -s -h -r had no effect as well. the attrib bcd part was a bit longer but i cant recall it.
Basically what this does is remove read-only and hidden from the boot partition drive.
The drive is now visible under "This PC".

So the commands from my previous post had the effect that the system partition is now used to boot windows.
In the end it is not really a fix. It is a method to bypass broken bcd. At least that is what i believe it is.

Author:  Satis [ Thu May 28, 2020 6:48 pm ]
Post subject:  Re: Rebuilding System Partition

Ah, ok. Thanks for the explanation. It's been a long time since I've messed around with Windows boot files.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/