You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Boot Camp - issues with installing Windows 10 on 2017 iMac

When using Boot Camp Assistant on my iMac, partition gets created and Windows support files downloaded - when it reboots to install Windows I get "Windows cannot locate the disk and partition specified in the unattended answer file’s <ImageInstall> setting. Make sure the setting references a valid partition and restart the installation".


  • I have downloaded the Windows 10 IOS from the Windows website
  • reset NVRAM
  • reset SMC
  • no external drives connected
  • Time Machine not on and there are no local snapshots
  • FireVault is turned off
  • Tried this multiple times in Catalina - did not work
  • Upgraded to Big Sur - tried multiple times - did not work
  • Tried installing with bootable USB, able to get a step further and system asks where I want to install Windows. I select the Bootcamp partition, then receive error "We couldn't create a new partition or locate an existing one. For more information see Setup log files." When I return to Mac OS - it deletes the OSXRESERVE partition.


The Boot Camp Assistant does not give me any options other than following the process. Partition the drive, download software then restart to install Windows.


I have been trying to install this for two days and I don't know what else I can try. Each time I try this I have to reset the hard drive, re-create the partition it, re-download the files. Any other suggestions.


iMac Line (2012 and Later)

Posted on Mar 10, 2021 2:02 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 10, 2021 9:41 PM

You will need to

Similar questions

23 replies
Question marked as Top-ranking reply

Mar 10, 2021 9:41 PM in response to BlissFam

You will need to

Mar 10, 2021 6:29 PM in response to Loner T


Windows cannot locate the disk and partition specified in the unattend answer file’s <ImageInstall> setting. Make sure the setting references a valid partitition and restart the installation.


The only step that I had not completed previously was ejecting/deleting the ISO.

Mar 10, 2021 4:23 PM in response to Loner T

Alexanders-iMac:~ alexanderjohnblissgag$ diskutil list

/dev/disk0 (internal, physical):

  #:           TYPE NAME          SIZE   IDENTIFIER

  0:   GUID_partition_scheme            *1.0 TB  disk0

  1:            EFI ⁨EFI⁩          209.7 MB disk0s1

  2:        Apple_APFS ⁨Container disk2⁩    696.0 GB disk0s2

  3:   Microsoft Basic Data ⁨BOOTCAMP⁩        304.0 GB disk0s4


/dev/disk1 (internal, physical):

  #:           TYPE NAME          SIZE   IDENTIFIER

  0:   GUID_partition_scheme            *28.0 GB  disk1

  1:            EFI ⁨EFI⁩          314.6 MB disk1s1

  2:        Apple_APFS ⁨Container disk2⁩    27.7 GB  disk1s2


/dev/disk2 (synthesized):

  #:           TYPE NAME          SIZE   IDENTIFIER

  0:   APFS Container Scheme -           +723.7 GB disk2

                 Physical Stores disk1s2, disk0s2

  1:        APFS Volume ⁨Macintosh HD - Data⁩  170.2 GB disk2s1

  2:        APFS Volume ⁨Preboot⁩        326.0 MB disk2s2

  3:        APFS Volume ⁨Recovery⁩        613.8 MB disk2s3

  4:        APFS Volume ⁨VM⁩           2.1 GB  disk2s4

  5:        APFS Volume ⁨Macintosh HD⁩      15.1 GB  disk2s5

  6:       APFS Snapshot ⁨com.apple.os.update-...⁩ 15.1 GB  disk2s5s1


/dev/disk3 (disk image):

  #:           TYPE NAME          SIZE   IDENTIFIER

  0:              CCCOMA_X64FRE_EN-US... +6.2 GB  disk3

Mar 10, 2021 10:46 PM in response to BlissFam

I was able to create the exFAT partition and copy the contents of the ISO and the Windows support files to it. When I rebooted I did not have the option of selecting the exFAT partition. I could not find a way to make that partition bootable. If I tried booting up to Windows BC installer I get the “we couldn’t create a partition or locate an existing one ...” error.

Mar 13, 2021 1:00 AM in response to Loner T

Well that was a bust. I had to go back to High Sierra and Bootcamp wouldn't even run. I upgraded to Mohave and got exactly the same issue I started with "Windows cannot locate the disk and partition specified in the unattended answer file’s <imageinstall> setting.  Make sure the setting references a valid partition and restart the installation.". It deleted the OSXRESERVE partition when it restarted so I manually created that partition. Redownloaded everything and saved it to that partition. I still do not see any Autounattend.xml files that I could edit. Is there somewhere that there is a sample coding for that? People have gotten this to successfully install, right?

Mar 13, 2021 6:32 AM in response to BlissFam

This is from a iMac 17,1 (late 2015 5K) - https://pastebin.com/ynKm9Du0 . Newer BC Assistants generate this file at run time, which seems to be causing problems.


Do you have access to a Windows PC? If yes, you can use a USB2 Flash drive, and use Windows Media Creation Tool to create a USB Installer, which would be a replacement for the OSXRESERVED method that BCA uses.

Boot Camp - issues with installing Windows 10 on 2017 iMac

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