mac virtual machine usb

How to use a USB flash drive in Mac virtual machine

The specific operation of using a USB flash drive in Mac virtual machine is as follows:

1, first we open the settings and open the processor and memory settings.

2, in general, first use the recommended settings to test the virtual machine system to see the CPU and memory utilization. Then adjust the memory size appropriately as needed.

3. Shut down the VM, complete the setup, and start the VM. Test. And so on. In general, the memory can be set to 1.25 to 1.5 times the recommended memory, and for CPU, 2 or more.

4. Then set up file sharing.

5, the most convenient is to set up desktop sharing, which can be a lot less file dragging and dropping operations.

7, and finally set up a USB to realize the stove Mac virtual machine to use a USB flash drive.

Mac system on the Vmware virtual machine can not recognize the USBKey perfect solution

Recently in the use of computers need to use the encryption lock, is a USBKey, but found that in the VMWare virtual machine, this USB device will not appear in the USB device list, can not be connected through the virtual machine, resulting in a virtual machine under the windows will not have the device. However, when I boot windows through bootcamp, I can recognize this device and use it normally, and I can also see this device’s information in the system information under Mac system, which means that there is no problem with the device, and it should be a problem with VMWare.


Looking for information on the Internet, I found a lot of posts saying that the USBKey for “Internet Banking” has a similar situation, but none of them is solved, and I tried for a few days to no avail.

But my friend’s PD VM doesn’t have this problem, and the USBKey device can be recognized normally under the VM. Since I used VMWare earlier, I have feelings for it, and I have been bragging about the “best VM”, and I’m not willing to give up on VMWare like this (and I almost went to install PD), so I dived down to look for English materials. I found out that the problems are directly related to VMWare.


According to VMWare’s TroubleShooting, I was able to solve this problem without any problems, and here’s the tutorial:

The first step is to open VMWare, and in the top menu bar, find “Window” – “Virtual Machine Repositories”. “

In the list, find the virtual machine you want to solve the problem, I directly Bootcamp as a virtual machine, so select Bootcamp, and then right-click.

Click “Show in Finder”, in fact, you can press and hold the option button here, directly appear to edit the function of the option, but hold down the option when I can not take a screenshot, so I wrote a full tutorial, if you hold down the option, you can directly enter the If you hold down the option, you can go directly to the editing step, and you can omit the step of finding the file.

Right-click on the VM file in finder and select “Show Package Contents”.

Then find the vmx file:

Choose to open it with a text editor

Add a line to the file


This is the editing process, note the quotation marks.

Successfully appear USBKey, the end of the tutorial.

Principle and note:

What is the purpose of this line of the setup, and why does it appear to be a USBKey, and what effect does it have on the system? I came to answer one by one, to save everyone uneasy.

First of all, the Apple notebook keyboard and touchpad, in fact, is also a USB device, only it is connected through the internal line, we can not see the USB interface, in fact, for the system, are unified in accordance with the USB device to identify and use, their type is HID device (can be considered a USB device), HID is the Ergonomic Input Devices in English! abbreviation, VMWare’s default settings, is not listed in the USB device list of HID devices, otherwise if the user accidentally connected to a HID device, if it is a keyboard or touchpad, the Mac system will not be able to use these devices, can only be used in the virtual machine inside the use, I have not tried, I do not know the power button is still available, and in general, the signal of these devices would have been passed through the Mac system to the virtual machine. In general, the signals from these devices would have been passed through the Mac to the VM without the need to monopolize the USB connection, so for a variety of reasons, HID devices do not appear in VMWare’s USB device list.

Unfortunately, our USB key, which is considered a HID device, will not appear in VMWare’s USB device list, making it impossible for the VM to choose to connect to it.

The point of the line of code above is to get VMWare to show all USB devices and not block HID devices, so the USBKey appears. However, look at the following picture:

Next to the Apple’s built-in keyboard/touchpad device I just mentioned, if you choose to connect this, then the keyboard and touchpad will not be valid under Mac, but don’t worry, after the virtual machine is shut down, all these devices will be released to the Mac, except that before shutting down the machine, there is no way to switch to the Mac to use these devices, and when you choose to connect HID Moreover, when you choose to connect the HID device, VMWare will prompt a warning for you to make sure (although this warning can be canceled, but it is not recommended to cancel), so it is generally impossible to make a mistake which device to connect.

Mac virtual machine how to use the U disk


1. to Vmware as an example, at this time, please click on the virtual machine in the top menu bar of the “virtual machine” column

2. then click on the menu in the column of the USB and Bluetooth, and then select want to use in the virtual machine of the U disk can be

3. here in the virtual machine Windows 7 system as an example, then you can see the U spare in my computer


3. Take Windows 7 in the virtual machine as an example, and then you can see the USB flash drive in My Computer

4. In addition, Vmware Virtual Machine also supports prompting to connect to the virtual machine when inserting a USB flash drive. When you open the virtual machine system first, and then insert the flash drive, you will see this prompt. To do so, click the Connect to Windows button.

5. If you are using a VirtualBox virtual machine, you can click on the Devices section of the virtual machine menu, then click on the USB option and select the appropriate USB device.