Installing windows 7 on mac book pro late 2013

Installing Windows 7 on Mac Book Pro Late 2013

Background

Mac Book Pro Late 2013 uses a USB 3.0 hub for the external ports, the keyboard and mouse devices.

Windows 7 does not have the drivers to support USB 3.0 ports so these must be integrated into the boot.wim and install.win files so that Win7 can be installed and used on a Mac. If these drivers are not integrated when win7 is booted up then the mouse and keyboard will not function.

Requirements:

Two USB Flash drives

Access to a Mac computer

Bootcamp Assistant application

Access to a Windows computer with windows 7 installed

Windows 7 install disk or ISO file

WinUSB application

Windows Automated Installation Kit for Windows 7 (WAIK)

Method

On a Mac

First prepare a USB Flash drive by formatting it using disk util app, found in Application Utility folder, to FAT format this will store the Apple drivers that can be downloaded from Apple using BootCamp.

This will be called USB1

Using Boot Camp Assistant select 'Download the latest windows support software from Apple' to get the files from apple for win7 for your particular machine these will be downloaded and copied to the USB Flash drive called USB1.

On a PC

Using a PC download a copy of WinUSB from www.joshcellsoftwares.comthis software can create a bootable USB with the win 7 files copied on to it.

Obtain a copy of Windows 7 either in DVD or ISO format.

Using WinUSB and the Win7 DVD create a second bootable USB Flash drive. This will be called USB 2.

About DISM

DISM is a windows application that allows the editing of windows image files with the extension of WIM.

If DISM is not installed on the PC it can be downloaded from windows website.

To test to see if DISM is installed, open up a command prompt. Then type 'dism' without the quotes this will display the help description of DISM.

Drivers

The apple drivers need to be added to the boot.wim file so that mouse and keyboard can function during the setup phase.

The apple drivers need to be added to the install.wim so that mouse and keyboard can function after the setup phase.

The video drivers are also added as it appears to cause problems if they are not included.

Create a directory structure like this:

c:\appleboot\

drvrs

mount

win7x64install

win7x64boot

Create the following files in c:\appleboot\ with the following code:

adddrivers.cmd

color 0a

dism /image:c:\appleboot\mount /add-driver /driver:c:\appleboot\drvrs /recurse

================================================================================ ==========

mountboot.wim.cmd

color 0a

dism /mount-wim /wimfile:c:\appleboot\boot.wim /index:2 /mountdir:c:\appleboot\mount

================================================================================ ==========

mountinstall.wim.cmd

color 0a

dism /mount-wim /wimfile:c:\appleboot\install.wim /index:4 /mountdir:c:\appleboot\mount

================================================================================ ==========

unmountcommitfiles.cmd

color 0a

dism /unmount-wim /mountdir:c:\appleboot\mount /commit

================================================================================ ==========

Copy the following files into their respective directories:

Copy from USB 1 into drvrs the $WinPEDriver$ directory

Copy from USB 2 \sources\boot.wim to win7x64boot directory, this will store the original file

Copy from USB 2 \sources\install.wim to win7x64install directory, this will store the original file

Then copy boot.wim from win7x64boot directory to the c:\appleboot\ directory

Then copy install.wim from win7x64install directory to the c:\appleboot\ directory

Once all the copying is completed then run the following cmd files in this order:

For boot.wim

mountboot.wim.cmd - this will mount the file for adding of drivers

adddrivers.cmd - this will add the apple drivers to the mounted boot.wim

unmountcommitfiles.cmd – this will commit the changes and unmount the boot.wim

For install.wim

mountinstall.wim.cmd- this will mount the file for adding of drivers

adddrivers.cmd - this will add the apple drivers to the mounted install.wim

unmountcommitfiles.cmd – this will commit the changes and unmount the install.wim

Copy the files back to USB 2

Copy the boot.wim and install.wim files from c:\appleboot\ directory to USB 2 sources directory and overwrite the files.

BOOTABLE USB

You will now have a bootable USB Flash Drive that has the additional drivers needed to install Win7 on Mac Book Pro Late 2013.

Mac Preparation

On your Mac using Disk Util reduce the size of the partition of Macintosh HD so that there is approx. 80GB free for the use of Win7.

Add a second partition, label it win7 and format it to FAT. This is so that win 7 setup can identify the correct partition.

Installing Windows 7

Insert USB 2 into your Mac and reboot, whilst holding the option key down.

After reboot there will be three icons displayed one is the Mac operating system, the second is the recovery partition and the third is an orange icon indicating a bootable USB drive.

Select this and win7 setup application will proceed to boot up with the keyboard and mouse functioning.

Follow the prompts and when the drive selection appears select the win7 partition and format it to NTFS so that win7 can be installed. When windows setup reboots press and hold down the option key and select the windows partition so that setup can continue to install.

After completion of installation of win7 insert USB 1 with the additional apple drivers. Goto the bootcamp directory and click on setup.exe file this will install additional drivers needed to use Win7 on a Mac.

Once completed reboot your Mac and select windows to allow the drivers to update in windows.

MacBook Pro with Retina display, OS X Mavericks (10.9.1)

Posted on Jan 3, 2014 5:14 AM

Reply
27 replies

Mar 17, 2014 4:59 AM in response to camwin

using the command on a PC

For the install.wim file

dism /get-wiminfo /wimfile:appleboot\install.wim

will show what versions are included with your version of windows

So replace /index:4 in the command file: mountinstall.wim.cmd with the correct file that you want to add drivers

dism /mount-wim /wimfile:c:\appleboot\install.wim /index:4 /mountdir:c:\appleboot\mount



For the boot.wim file

dism /get-wiminfo /wimfile:appleboot\boot.wim

will show what versions are included with your version of windows, normally 2


So replace /index:2 in the command file: mountboot.wim.cmd with the correct file that you want to add drivers


dism /mount-wim /wimfile:c:\appleboot\boot.wim /index:2 /mountdir:c:\appleboot\mount

Mar 24, 2014 8:05 AM in response to pacav69

checked macbook pro 15" 2013 late at 2 apple stores all looked just like mine:


User uploaded file


I truly would like to see with my own eyes one that shows keyboard and mouse on Mavericks 10.9 (1 or 2) at 3.0 SuperSpeed. I don't believe they are. This is Macbook Pro Late 2013 keyboard and trackpad. The hubs are but the laptops mouse and keyboard do not appear to be. my first screen shot was of factory fresh. Todays is after a clean install of Mavericks 10.9.2....

Apr 4, 2014 12:29 PM in response to pacav69

With props to the original poster for an amazing feat of software engineering, I have also successfully installed windows 7 x64 on my rMBP 15" late 2013, but not using the procedure in this thread. Instead, I used a win 7 install DVD with the USB superdrive, and vmware fusion to mount a shared folder with the latest bootcamp drivers. Like many, I discovered no less than three major problems with the bootcamp manual from Apple. The first is that you need a specific ISO of the window 7 x64 installer. Efforts to install with other versions of the installer were futile. The trick was to use the ISO with creation date of April 12, 2011. I tried several other DVD's and ISO's all to no avail. This ISO was from a friend who had purchased the full install in 2012, whereas my DVD was from 2009. My DVD was throwing a 0x80070570 error during windows installation.


The second show stopper was using a USB flash drive that had been formatted as a boot drive. During one iteration of installation madness, I decided to try installing windows from a USB flash drive. I used microsoft's windows 7 USB/DVD download tool to format the drive with the correct ISO, but received a windows installation error stating that setup was unable to create a new system partition. I discovered that having a bootable USB drive installed when windows was formatting the bootcamp partition caused this problem. Thus, I chose to install from DVD with no USB flash drive connected to the MBP during windows installation.


The third show stopper was no USB driver support in windows after the installation, which made installing Apple drivers impossible. Luckily, I use vmware fusion to run guest virtual machines on my MBP. Once windows was installed, I launched fusion and added a new vm for the bootcamp partition. Then, I added a shared folder that contained the latest bootcamp drivers for my MPB:

http://support.apple.com/kb/DL1721

I launched fusion and started the bootcamp vm. Then I was able to open the windows volume viewer from start-->computer and opened the shared folder. Then I copied the bootcamp driver folder (named BootCamp5) over to the bootcamp disk. Next, I restarted in bootcamp windows, launched the setup application from the bootcamp folder, and watched as every Apple driver was successfully installed.


I hope this cautionary tale helps at least one person avoid the 40+ hours I spent troubleshooting and reverse engineering poor quality assurance from Apple, and abysmal coding from Microsoft.

Apr 8, 2014 6:06 AM in response to Jeromeo

One of the reasons windows is unable to create a new system partition is that it can't detect any free space to use if it is all mac formated. To over come this, prior to booting from a bootable USB, repartition the mac drive to whatever size you require for windows and then format this partition to FAT32. So when the windows boots from the USB it can detect the newly formated FAT32 partition enabling it to format to NTFS and then installing windows.


"The third show stopper was no USB driver support in windows after the installation,"

This is why you need to integrate the Apple drivers with the boot and install wim files.

Apr 30, 2014 8:18 AM in response to pacav69

Actually , let me describe my and I think , the easyst way to install Win7 in MBA .


We need just two things :


1. Lttest drivers software , downloaded from Apple through Bootcamp assistant .

2. Win7 ISO installation file downloaded from Microsoft on bootable flesh pendrive .


That is all ....


First , we launching Bootcamp and choose only an option to download the lattest support for Win7 , then, by the end of that process , we organize ( again through Bootcamp ) needed Win7 volume on Macintosh HD . In my case , I used 65G .

You can use a Terminal command as :


diskutil resizeVolume disk0s2 185G JHFS+ Users 65G


Where : 185G we leaved for Mac and 65G for Bootcamp ( in this 65G will be located Win7 ) The total space of my MBA is 256G .

disk0s2 - it is disk , we are going to split .


After Macintosh HD was splitted , we go to Disk Utility app and formatting that 65G by FAT file system .


Then , we going to Terminal and typing following command :


sudo bless --device /dev/disk1s1 --setboot --legacy --nextonly


Where : disk1s1 is Bootcamp area and we are going to setup our Win7 there .


After that , if command was recognize well , the Terminal message for your Mac password . Once you put the password , close Terminal and shut down ( not restart ) Mac .


After an installation starts , you will be able to use Mac KB and type everything you want .

The only thing you should remember , every time during Win7 installation restarts , you should go to Mac

agian and type in Terminal the same command : sude bless .....


After Win7 is set , you will find , you cannot operate with Mac KB .

So , you shold go to Mac again , type in Terminal :


diskutil list


You will see your new disk with Win7 like disk0s4 .


Again , type the same command but with a new disk :


sudo bless --device/dev/disk0s4 --setboot --legacy --nextonly


Leave Terminal and shutdown Mac , then , start and you will be able to operate again just by KB , not by Trackpad .

But it is not a problem for now - just put flash pendrive with Win7 drivers and install these drivers using standard Win KB bottoms.


I hope , my description helps to any one

Good luck .

Aug 2, 2014 9:39 AM in response to pacav69

Thanks a lot. A week turmoil came to rest. I could install Windows 7 by including BootCamp 5.1.5640 stuff into the Bootable USB and installed. After installing Windows 7, installed other drivers came with bootcamp. All is well with Mac Book Pro 13 (2014) Mavericks.


This goes good with wim files. For windows 8 and Windows Server 2008 R2, to integrate, the procedure has to be modified a little.


Great help. Thanks.

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.

Installing windows 7 on mac book pro late 2013

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