Windows can't find specified partition - iMac 2017 27"

Trying to install Windows 10 on my 27" iMac 2017 and I keep coming across the error: "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.

This occurs with the following:

  • Completely fresh install of macOS High Sierra
  • A 1TB fusion drive, with only one partition (before bootcamp) using the full two drives
  • No USB or Thunderbolt devices connection
  • Windows 10 Anniversary, Creators Update, Fall Creators Update ISOs (yes I've tried a fair few!)


Apple have no clue, and I'm still waiting for an answer back from them. Any clues?


User uploaded file

iMac (Retina 5K, 27-inch, 2017), macOS High Sierra (10.13.1)

Posted on Nov 27, 2017 1:34 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 27, 2017 6:08 PM

The missing <ImageInstall> tag is due to a corrupted AutoUnattend.xml file. If you are on a 2017 Mac, it is rebuilt overtime you try to install Windows. There are several reasons why this happens. Your source ISO may be corrupt, the BC Windows Software download failed silently. BCA failed to merge the ISO and the BC drivers.


In Terminal, can you run


diskutil list


and check if you have a OSXRESERVED partition? If you do, the file is on that partition. It can be opened in TextEdit and reviewed. You can search for the tag value and check what in there. Also, you should see a list of valid partitions, which depend on the value of another tag in the same file. See Re: Re: Re: Bootcamp install windows to black screen for an example, which can be edited, but your model does not allow that. See Windows cannot locate the disk and partition specified in the unattend answer file's <ImageInstall> setting. as an example.


Can you disconnect all external storage and hubs and run


How to reset the System Management Controller (SMC) on your Mac - Apple Support

How to reset NVRAM on your Mac - Apple Support


and then retry BC Assistant? Previously failed installations are an issue, in this case.

8 replies
Question marked as Top-ranking reply

Nov 27, 2017 6:08 PM in response to Connor1234

The missing <ImageInstall> tag is due to a corrupted AutoUnattend.xml file. If you are on a 2017 Mac, it is rebuilt overtime you try to install Windows. There are several reasons why this happens. Your source ISO may be corrupt, the BC Windows Software download failed silently. BCA failed to merge the ISO and the BC drivers.


In Terminal, can you run


diskutil list


and check if you have a OSXRESERVED partition? If you do, the file is on that partition. It can be opened in TextEdit and reviewed. You can search for the tag value and check what in there. Also, you should see a list of valid partitions, which depend on the value of another tag in the same file. See Re: Re: Re: Bootcamp install windows to black screen for an example, which can be edited, but your model does not allow that. See Windows cannot locate the disk and partition specified in the unattend answer file's <ImageInstall> setting. as an example.


Can you disconnect all external storage and hubs and run


How to reset the System Management Controller (SMC) on your Mac - Apple Support

How to reset NVRAM on your Mac - Apple Support


and then retry BC Assistant? Previously failed installations are an issue, in this case.

Dec 13, 2017 7:35 AM in response to Loner T

Hello, I am having the same issue.

Error '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 did not locate 'OSXRESERVED partition' when inputting into Terminal.

macOS 10.13.2 > 1TB Fusion Drive > iMac (Retina 4K, 21.5 in., 2017)

I do not know how to open the 'AutoUnattend.xml file' and make changes to the portion below:

<ImageInstall>

<OSImage>

<InstallToAvailablePartition>true</InstallToAvailablePartition>

</OSImage>

</ImageInstall>

<DiskConfiguration>

<WillShowUI>Never</WillShowUI>

</DiskConfiguration>

(Don't know if it is Never or Always since I do not know how to open it.)


Have reset SMC and NVRAM > disconnected all external drives.

Ended up loosing quickbooks in the process of all of this. I restored time machine back up. Now I'm starting over with the bootcamp assistant.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Windows can't find specified partition - iMac 2017 27"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.