This answer applies to Mac models where the following is true.
The Windows specifications are given below.
The specifications for my iMac (21.5-inch, Mid 2011) are given below.
The macOS is version 10.13.6 (High Sierra).
I have made the following assumptions.
Below are the installation steps.
Download the latest Windows Support Software for your Mac. For the 2011 iMac, this software can be found at Boot Camp Support Software 5.1.5621. On my Mac, these files were downloaded to the "BootCamp5" folder stored in my "Downloads" folder. This software can also be use with the Mac models given below.
- MacBook Air (11-inch & 13-inch, Mid 2011)
- MacBook Air (11-inch & 13-inch, Mid 2012)
- MacBook Pro (15-inch & 17-inch, Mid 2010)
- MacBook Pro (13-inch, & 15-inch, Early 2011)
- MacBook Pro (17-inch, Early 2011)
- MacBook Pro (13-inch,15-inch & 17-inch Late 2011)
- MacBook Pro (13-inch & 15-inch, Mid 2012)
- MacBook Pro (Retina, Mid 2012)
- MacBook Pro (Retina, 13-inch, Late 2012)
- MacBook Pro (Retina, 13-inch & 15-inch Early 2013)
- Mac Pro (Early 2009)
- Mac Pro (Mid 2010)
- Mac Pro (Mid 2012)
- Mac mini (Mid 2011)
- Mac mini (Late 2012)
- iMac (27-inch, Mid 2010)
- iMac (21.5-inch & 27-inch, Mid 2011)
- iMac (21.5-inch, Late 2011)
- iMac (21.5-inch & 27-inch, Late 2012)
Note: The Boot Camp Assistant on my 2011 iMac can be used to download the Window Support Software. Look for the "Action" pulldown on the Boot Camp Assistant menu bar. On my 2011 iMac, these files were downloaded to the "WindowsSupport" folder" stored in my home folder. When installing Windows 10 on my 2011 iMac, this download can be substituted for the Boot Camp Support Software 5.1.5621 download.
Create a ExFAT formatted volume labeled "BOOTCAMP" on the 2nd, 3rd or 4th partition of the primary disk. If this volume already exists, then erase the contents.
Make sure the drive is using the GPT/MBR hybrid partitioning scheme. See my answer to the question "How to convert a drive from the GPT format to the hybrid GPT/MBR format when using High Sierra (macOS 10.13.2)" for a procedure that accomplishes this task.
User Semi has noted that the Boot Camp Assistant (BCA) will correctly GPT/MBR hybrid partition the drive. So, you may be able to the the BCA to partition the drive, then use the flash drive to install Windows.
Use the Disk Utility application to erase a 16 GB or larger flash drive. Choose the parameters shown in the image below.
Mount the Windows iso file. In my case, the label "CCCOMA_X64FRE_EN-US_DV9" was used to identify the mounted Windows iso file. If you encountered a different label, then make the appropriate modifications to the instructions given in the rest of this step.
Use the Finder application to perform the following operations.
Copy the contents of the mounted Windows iso file to the volume in the Windows partition. The mounted Windows iso file is the "CCCOMA_X64FRE_EN-US_DV9" volume and the Windows partition contains the "BOOTCAMP" volume.
Copy the contents of the mounted Windows iso file to the flash drive. The mounted Windows iso file is the "CCCOMA_X64FRE_EN-US_DV9" volume and the flash drive is the "WINSTALL" volume.
Copy the Boot Camp Support Software or the Windows Support Software to the flash drive. On my 2011 iMac, The Boot Camp Support Software was downloaded to the "BootCamp5" folder stored in my "Downloads" folder. The Windows Support Software was downloaded to the "WindowsSupport" folder stored in my home folder. The flash drive is the "WINSTALL" volume.
The image below shows the contents of the "BOOTCAMP" volume.
The image below shows the contents of the "WINSTALL" volume.
Next, you need to boot from the flash drive. Hold down the option key immediately after restarting your Mac. Release the option key when the Startup Manager window appears. Select the yellow USB external drive icon labeled "EFI boot". Next, select the arrow below the "EFI boot" label.
When a window similar to the one show below appears, open a Windows Command Prompt window by pressing shift+F10.
The result should be similar to the image shown below.
Use the commands
bootsect to make the "BOOTCAMP" volume BIOS bootable. The commands you need to enter are given below.
Note: Sometimes the
diskpart command can take a while to produce the first prompt. Be patient.
You should see output similar to what is shown below. If there is a
* character in the
Gpt column for the
Disk 0 entry, then you have not successfully converted the internal drive to use the GPT/MBR hybrid partitioning scheme, as described in step 3. If there is a
* character in the
Gpt column for the
Disk 1 entry, then you did not select "Master Boot Record" as the scheme in step 4.
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 565 GB 0 B
Disk 1 Online 14 GB 0 B
Disk 2 No Media 0 B 0 B
* characters appear in the
Gpt column, then proceed and enter the command given below.
From the output of the command
list volume, determine the number (###) for the volume with the Label "BOOTCAMP". Also, determine the drive letter (Ltr) for this volume. In this example, I will assume the number is
1 and the letter is
C. Your number and letter could be different. The next command selects this volume. If you determined a different number for the "BOOTCAMP" volume, then make the appropriate substitution.
select volume 1
The next sequence of commands mark the volume active (bootable) and then quit
The next command writes the boot code to the MBR and the "BOOTCAMP" volume. If you determined a different drive letter for the "BOOTCAMP" volume, then make the appropriate substitution.
bootsect /nt60 C: /mbr
You need to finish the installation of Windows 10. Enter the command shown below to quit the Windows Command Prompt window.
Press Escape or click the red
X button to close the Windows installer. If the popup shown below appears, then click on the
Yes button. Immediately, hold down the option key while the Mac restarts. Release the option key when the Startup Manager window appears.
Select the internal drive icon labeled "Windows". Next, hold down the control key while choosing the circular arrow below the "Windows" label.
Continue with the installation of Windows 10. When asked: "Where do you want to install Windows?", proceed as follows. First select the "BOOTCAMP" partition. Next, click on the
Format button, then the
OK button. Finally, click on the
Proceed until you reach the screen where you are prompted for your region. For the 21H1 version (OS build 19043.928) of Windows 10, your the screen will appear as shown below.
For other versions of Windows 10, the screen could appear different. As an example, the screen, for the 1507 version (OS build 10240) of Windows 10, would appear as shown below.
Note: At this point, prohibiting your Mac access to the internet is generally a good idea. For example, unplug any ethernet cables or disable Wi-Fi access that does not require encryption.
Next, press the control+shift+F3 keys to restart Windows 10 in Audit mode. If you are using a wireless keyboard, then you may have to utilize the On-Screen Keyboard. See
Ease of access on the lower left of the screen.
Note: An unusually long amount of time must pass before the Boot Camp installer and/or desktop appears.
If the Boot Camp installer automatically launches, then your screen should appear similar to the image shown below.
If this does not occur, use the Windows File Explorer to open the Boot Camp installer application named "Setup". This application can be found in the "BootCamp" folder on the "WINSTALL" drive. Install Boot Camp by following the displayed steps. After the installer application completes, allow the computer to restart.
You will return to the Administrator's desktop. If you are using a wireless keyboard, check to see if the keyboard is paired with the Mac. If not, then add the wireless keyboard to the existing Bluetooth devices.
Note: When pairing my Apple wireless keyboard, I needed to hold down the power button on the keyboard before trying to add the device. I released the button, when the keyboard was discovered by the Mac.
If you prohibited your Mac access to the internet in an earlier step, you will now want to allow access. In other words, plug in the ethernet cable or connect by Wi-Fi.
Run the Apple Software Update application and install all updates.
Note: When first executing "Apple Software Update" you may be asked to update "Apple Software Update" itself. If you happens, you should uncheck all other updates and just update "Apple Software Update". Otherwise, you may get an error message saying another update can not be installed. I my case, there were two updates of the "Apple Software Update" to download and install.
(Optional) Download and install Windows updates, including perhaps any optional updates. You may want to skip this step for now if you believe the updates will be large in number and/or size. However, skipping this step may result in some hardware drivers not being updated.
Note: If the
Restart now button appears while downloading and installing updates, then this button should not be selected until all displayed updates have finished installing or reached a status of "Pending restart".
From the Windows Start menu, select to restart the Mac. You will return to the Administrator's desktop. If the "System Preparation Tool" window is not displayed, then open the
sysprep application found in the
C:\Windows\System32\Sysprep folder. In this window, select "Shutdown" under the "Shutdown options", as shown below.
Note: Your screen may also include a window titled "Boot Camp", which can be ignored.
Next, select "OK" to shutdown the Mac. At this point, you have completed the installation of Windows 10.
Next time you turn on your Mac, Windows will start in the "Out of the Box Experience" mode. This is basically the way a newly purchased PC starts up, when Windows 10 is already installed.
Note: When asked, be sure to select an Apple keyboard.
If asked, I can clarify any of the above steps.