macOS for APSC 160
Updated 2019-10-11
- What You’ll Need
- 1. Installing VirtualBox
- 2. Downloading Windows 10 Installation Disk
- 3. Obtaining Windows 10 Education Activation Code
- 4. Setting Up Your Virtual Machine
- 5. Installing Windows 10 on VirtualBox
- 6. Making Windows 10 Run Better in VirtualBox
- 7. Installing Visual Studio Community 2017
This comprehensive document outlines the necessary steps to setup your macOS for APSC 160. Please follow the steps in sequential order and only move on when you have completed the previous steps. The whole process will take about 50 minutes, with variation depend on your network speed.
If you have any trouble, please seek help on Piazza.
TL;DR? Here is a YouTube video tutorial on how to do this:
What You’ll Need
Make sure you are running the latest version of macOS (Mojave). Make sure your device has at least 4GB of RAM and 30GB of storage. To check, click on the Apple menu icon (), then click on System Information.
You will need to download the following:
- VirtualBox (installation and set up in later steps)
- Windows 10 Installation Disk file (more details in later steps)
- Windows 10 Education activation code (I will show how to obtain it in later steps).
1. Installing VirtualBox
VirtualBox is a free software that allows you to run other operating systems such as Windows in your macOS.
- Head to https://www.virtualbox.org/wiki/Downloads in your web browser.
- Select “OS X Hosts” and the download should begin.
- Once downloaded, open the file and the installation should begin.
- Continue through the installation process.
- Done.
You don’t need to do anything with VirtualBox, we will come back to this in later steps.
2. Downloading Windows 10 Installation Disk
We need to download the Windows 10 installation disk so that we can install Windows 10 in your VirtualBox.
- Go to https://www.microsoft.com/en-ca/software-download/windows10 and select the latest version of Windows 10.
- Enter the desired language and download the 64-bit Windows 10 Disk.
- A ~4GB file will start downloading. Make sure you have stable internet connection while this downloads to avoid errors.
- Done.
Do not open or execute the downloaded file.
3. Obtaining Windows 10 Education Activation Code
Windows 10 is a paid software. Luckily UBC provides Windows 10 for free.
- Go to https://it.ubc.ca/software-downloads.
- Scroll down and click on “Windows 10 Education”; this will take you to a store page and your UBC CWL login may be asked. If a page regarding permissions to access your CWL comes up, click “Accept”.
- Click on “Windows 10” and then click on “Add to Cart”.
- When it prompts you to enter the email and signature, copy the email (below the textbox), enter your full name, and continue.
- Enter your contact information if it asks.
- You will be taken to the “orders” page. Wait for the website to retrieve a Windows 10 activation code. Once that’s done, then code will appear in red.
- Take a picture or copy the code somewhere as you need this later. This is because you cannot get another Windows 10 code as you are limited to 1 copy per student.
- Done.
4. Setting Up Your Virtual Machine
Virtual machine is a “virtual” computer running inside your macOS computer.
- Start VirtualBox from your Apps.
- Click “New” to create a new virtual machine.
- Name your virtual machine “Windows 10” and continue.
- Select the amount of memory to give to the virtual machine and continue, 2GB should be enough.
- VirtualBox will now ask you to make a virtual hard disk where your Windows 10 can run, use the default option (VDI) and continue.
- Select 30-40GB for the amount of storage to allocate for the virtual machine.
- Done.
5. Installing Windows 10 on VirtualBox
If you did all previous steps successfully, you should have a new “Windows 10” virtual machine listed in VirtualBox.
-
Click “Start” to start the virtual machine.
If the screen is too small, then go back to the VirtualBox main program, click “Settings” of the Windows 10 virtual machine.
Then navigate to the “Display” tab and increase the Display scaling to 150% or 200%.
-
A dialog window will pop up asking for the location of the disk. Click on the yellow folder icon and select the Windows 10
.iso
file we downloaded in section 2: downloading Windows 10 installation disk. -
Click “Install Windows” when prompted.
-
Enter the Windows 10 activation code you obtained from section 3 when prompted.
-
When given the option to choose between “Upgrade installation” and “Custom installation”, select Custom installation.
-
Select Disk 0 (the storage you allocated earlier in section 4) and continue.
-
Let Windows 10 install.
-
When you’re prompted to enter Microsoft account during account setup, click “offline account” in the lower left corner. If you have a Microsoft account (Outlook, Live.com, Skype, Mixer, etc.), you may enter it instead.
-
Continue through set up until you arrive at your Windows 10 desktop screen.
-
Done.
6. Making Windows 10 Run Better in VirtualBox
At this point you might’ve noticed that Windows 10 runs very choppy and the screen is very small. We need to install some stuff in Windows 10 so that it runs better in VirtualBox on your Mac.
- Click “Devices” from the top menu bar.
- Select “Insert Guest Additions CD Image”. This will insert a virtual CD disk into the virtual computer.
- Open file explorer in Windows, and open the CD drive.
- Click on VBoxWindowsAddons to install.
- Complete the installation. You will be asked to reboot the Windows 10 virtual machine.
- Upon reboot, notice that it runs smoother, and now you can make Windows 10 run in full-screen.
7. Installing Visual Studio Community 2017
Refer to the instructions on Canvas on how to install Visual Studio (because apparently the process is constantly changing — thanks Microsoft).