How to install Windows 7 on a MacBook from 2015

A tutorial on how to install Windows 7 on a 2015 MacBook.


· 4 min read
How to install Windows 7 on a MacBook from 2015

Last week I posted an article about my dual boot setup. Today, I'm gonna write a guide about how to install Windows 7 on a MacBook Pro, Retina, 13-inch, early 2015. No, this is not an April Fools joke.

Important: As far as I'm aware, older MacBook Pros have the built-in capability of running Windows 7, while there's no way newer ones can even remotely think about it. If you're unsure if it's supported, please don't try this.

The things you need are:

  • A Windows 7 ISO of your choice (must be 64-Bit, one of Professional, Enterprise or Ultimate).
  • A macOS Install drive or a Time Machine partition (on an external hard drive is preferred).
  • An 8GB or more pendrive.
  • A copy of Apple's Bootcamp Drivers (version 5 is required for the Bootcamp Control Panel to work).
  • Another computer with Windows on it or Windows on your computer.
  • A Windows 7 Product Key or another activation method (unsupported if using Ultimate, so stick with the key).
  • VGAShim.
  • Intel's USB 3.0 Drivers.
  • Hotfix KB2775511.
  • do_boot.wim.bat.
  • do_install.wim.bat.
  • The Wi-Fi drivers (for MacBook Pro 13" early 2015 only!).
  • The Graphics Driver for your CPU.

First, prepare the installation disk. From Windows:

  1. Create C:\inject, C:\inject\drivers and C:\inject\hotfixes.
  2. Copy the Hotfix KB2775511 to C:\inject\hotfixes (don't rename it).
  3. Unzip the USB 3.0 Drivers and copy USB 3.0 Drivers\Drivers\HCSwitch\x64 and USB 3.0 Drivers\Drivers\Win7\x64 to C:\inject\drivers.
  4. Open the Windows 7 ISO and copy ISO:\sources\boot.wim and ISO:\sources\install.wim to C:\inject.
  5. Move do_boot.wim.bat and do_install.wim.bat to C:\inject.

The structure is ready. Take note of your boot.wim and install.wim. They'll be useful later. Format the pendrive with your favorite software as: GPT, Fat32.

  1. Run do_boot.wim.bat as administrator.
  2. Run do_install.wim.bat as administrator. Select the version of Windows 7 you want to install.
  3. Check that C:\Users\<yourname>\Desktop\bootmgfw.efi exists.
  4. Check that C:\inject\boot.wim and C:\inject\install.wim both increased by about 9-10 MB in size.

Now, prepare the pendrive.

  1. Extract the contents of the ISO into the pendrive.
  2. Copy boot.wim.bat and install.wim.bat from C:\inject to PENDRIVE:\sources.
  3. Copy C:\Users\<yourname>\Desktop\bootmgfw.efi to PENDRIVE:\efi\microsoft\boot.
  4. Create PENDRIVE:\efi\boot.
  5. Copy VgaShim.efi and VgaShim.bmp to PENDRIVE:\efi\boot. Rename them, respectfully, bootx64.efi and bootx64.bmp.
  6. Copy the Wi-Fi drivers to PENDRIVE:\.
  7. Copy the graphics driver to PENDRIVE:\.

Create a NTFS partition for Windows 7 with the software of your choice, then boot into the pendrive and install Windows into that partition. When it's done, boot into the macOS Install Drive/Time Machine partition.

  1. Open Terminal.
  2. Type mkdir /Volumes/ESP.
  3. Type diskutil list and identify the ESP (I'll use /dev/disk0s1).
  4. Type mount -t msdos /dev/disk0s1 /Volumes/ESP.
  5. Type cp -rf /Volumes/PENDRIVE/efi/boot /Volumes/ESP/efi/ where PENDRIVE is the name of your pendrive.
  6. Type cp -f /Volumes/PENDRIVE/efi/microsoft/boot/bootx64.* /Volumes/ESP/EFI/microsoft/boot where PENDRIVE is the name of your pendrive.
  7. (If SIP is enabled) Type csrutil disable.
  8. (If SIP is enabled) Reboot into the macOS Install Drive/Time Machine partition
  9. Type sudo bless --mount /Volumes/ESP --setBoot.
  10. Reboot.

Complete the configuration of Windows. When you're on the Desktop, install the Wi-Fi drivers and the graphics driver. This will set a resolution that's good for your computer. Open Control Panel -> Display and select a resolution that's half the width and half the height. This will allow you to read.

Install all the drivers in Bootcamp Drivers\Bootcamp\Drivers\Apple and Bootcamp Drivers\Bootcamp\Drivers\Broadcom. Install WinRAR. Copy Bootcamp Drivers\Bootcamp\Drivers\Apple\AppleMultiTouchTrackPadInstaller64.exe and Bootcamp Drivers\Bootcamp\Drivers\Apple\AppleKeyboardInstaller64.exe to your desktop, and open them with WinRAR. Extract them in their respective folders on your desktop.

Open an administrative Command Prompt window.

  1. Type bcdedit.exe -set TESTSIGNING ON.
  2. Type bcdedit.exe -set nointegritychecks ON.
  3. Type bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS.
  4. Type bcdedit.exe -set nointegritychecks ON again.
  5. Close out of the window.

Press CMD+R and type gpedit.msc.

  1. Navigate to User Config/Administrative Templates/System/Driver Installation.
  2. Find Code Signing for Devices Drivers.
  3. Double-click it and select Disable.
  4. Click Apply and then OK.
  5. Close out of the window.

Restart. Press F8 until yellow text appears. Press enter, then immediately press F8 again. Select Disable Driver Integrity Checks.

Open an administrative Command Prompt window.

  1. Type cd C:\Users\%USERPROFILE%\Desktop\AppleMultiTouchTrackPadInstaller64.
  2. Type DPinst.exe /f /LM.
  3. Install the drivers.
  4. Type cd ..\AppleKeyboardInstaller64.
  5. Type DPinst.exe /f /LM.
  6. Install the drivers.

Reboot one last time. Congratulations! Your Windows 7 system is ready!

Credits (I took inspiration from their guides).

[GUIDE] Install Windows 7 in MacBook Pro Early 2015 with almost fully support(include track pad)!!
Apple has shut down the support for Win7 in the newest Macs, What if you still want it? How to install Windows 7 in a Early 2015 MBP with 99% support P.S The way to install Windows 7(I mean just put in into your disk) I introduce is the fastest way I can find, and it’s sort of unpredictable...
[GUIDE] Install Windows 7 on Air 2015
Foreword As far as I am aware this is the first successful attempt at getting Windows 7 to natively run on Air Early 2015.What I present here really is a case of standing on the shoulders of giants and would not be even remotely possible without several projects and individuals credited at the...

Of course, if you have any problem, don't hesitate to tell me down below. See ya next time!

You might also enjoy