Disclaimer: I suck at Windows.
Now that's out of the way..
Yesterday, I got the BCD BSOD on my Windows 10 Alienware 17 laptop. It's the second time this has happened in the last year or so. I wasn't able to remember exactly how I fixed it the last time aside from using the BOOTREC commands (/rebuildbcd, /fixboot, /fixmbr) and a Windows 10 ISO on a USB drive made using Rufus.
After staring at the screen for hours and hours, running CHKDSK (everything was fine) and other common solutions, I stumbled on a bit of command line code that I thought would make everything right again. Unfortunately for me, being tired and a Windows novice, it did not dawn on me that what I was typing through DISKPART was to clean the partitions until it was too late.
This is what I entered:
select disk 0 clean create partition primary size=3000 id=27 format quick fs=ntfs label="Recovery" assign letter="R" create partition primary size=300 format quick fs=ntfs label="System" assign letter="S" active create partition primary format quick fs=ntfs label="Windows" assign letter="C" exit
Fast forward to the next reboot and voila! No operating system to give me the BSOD. I did a little reading and found out the data on the system is possibly recoverable and that I might be able to get myself out of this hole I've made deeper.
In my tinkerings, I assigned the letter "F:" to my Windows partition which was previously without a letter. Here's what the LIST DISK looks like:
Disk ### - Status - Size - Free - Dyn - Gpt
Disk 0 Online 698GB 0 B
Disk 1 Online 7646 MB 0 B
Here are the volumes:
Volume 0 G DVD-ROM 0 B No Media
Volume 1 E Recovery NTFS Partition 3000MB Healthy
Volume 2 C System NTFS Partition 300MB Healthy
Volume 3 F Windows NTFS Partition 695GB Healthy
Volume 4 D ESD-ISO NTFS Removable 7645MB Healthy
In panic mode, I downloaded Mini Tool Power Recovery" software on a second PC, took apart my Alienware and used a SATA adapter to get into the hard drive. Unfortunately for me, the "Power Tool" took seven hours to scan and show me the just the partitions and I don't have $89 to spend on software that ultimately might not help me.
Now that I've got the Alienware back together and am running the command line from the USB again, /rebuildbcd finds 0 Windows installations and BOOTREC /fixboot still gives me "Access is denied," as it did before I went and screwed everything up.
I'd be eternally grateful if anyone can help me un-ass this problem I've made worse.