1) Go to the "Unknown device" which is the Arduino.
2) Click around in the "Hardware" tab to open a window with the "Update Driver" button on it. Click it.
3) Choose the option to find the driver from a list on your computer. Then choose "Let me pick from a list of device drivers on my computer".
4) Scroll down and choose "Ports".
5) Choose "Arduino LLC" and then "Arduino UNO". If there is no "Arduino LLC" option, follow the steps below:
a) Click the "Have Disk" button.
b) Point to the Arduino folder, then to the "drivers" folder, then select the .inf file for your particular device (In my case it was Arduino UNO.inf).
6) Install the driver. Ignore any warning messages about verification of publication.
7) The Arduino should now be listed as a COM port instead of an unknown device. In the IDE click Tools > Serial Port and select the new COM port. In my case it was COM5.