error when installing Windows using Bootcamp
“Windows cannot locate the disk and partition specified in the unattend answer file's <ImageInstall› setting. Make sure the setting references a valid partition and restart the installation.”
I am distraught beyond the point of physical pain by the amount of times I seen this cursed text on the screen of my MacBook.
I have MacBook A2141 (MBP 16 2019 1Tb i9) and for the past 40 hours I have attempted every single solution I could find on internet to my problem and not a single one worked.
First things first, there’s some background that has to be explained: I already HAD a bootcamp installed, but I needed to reinstall it due to the fact that I created a 60 GB C disk and it was not enough. Other than that, I was using two other ExFAT partitions in order to supply my Windows with enough space, but when your windows constantly has only 1 GB of free space on C and you constantly have to clean it, find apps you can move to other drives and sit on %AppData% each day eliminating the biggest folder that appeared in 24 hours, it is hard to call it a pleasant user experience. I had two other partitions: one for 150 GB and another for 100 GB. And it appears the fact I didn’t first delete the partitions prior to erasing bootcamp is what caused all of this to happen.
I didn’t delete partitions because I had some important program files on 150 GB one, and it would soothe program recovery process later on if I saved them up. I went into the Bootcamp assistant and after I erased the 100 GB one, started restoring process. But, to my surprise, my Macintosh HD drive didn’t just get additional memory: it was just gone. Literally. I was entering disk utility, and all I saw was a 150 GB disk and 700 GB space I had left for Mac - other 150 was nowhere to he found. I managed to recover the lost space when I moved info from the partition I saved to Mac folder and formatted it to APFS - I was left with “Unknown container 4”. I was able to delete the partition and recovered my full disk space. Now, this is where the fun starts.
No matter what in the world I tried, Windows installation would always end with the error I described above. Here’s the full list of things I tried:
- Several windows ISOs numbering 6 were used and changing iso would not influence the issue completely, obviously not a ISO issue
- I have tried to install bootcamp before full reset and after full reset - didn’t help (I tried it two times, first using the reset option in settings and second by going into internet recovery utility, formatting the disk and reinstalling the mac)
- I have cleaned NVME and CMS - this shown no change to the issue
- I tried installing it using a flash drive, but when installing it would show an error about missing drivers for installation or it would show that it cannot find the drive where to install
- I tried finding the AutoUnattend.xml file while in windows installation using cmd - could not find it. (that’s were the problematic parameter is supposed to be)
From what I see, Windows installer cannot see the partition where to install itself to, question is can I fix that? I am desperate. I tried every single fix that I was able to find and nothing unfortunately helped.
MacBook Pro (2017 – 2020)