Book Image

Instant Getting Started with VMware Fusion

By : Michael Roy
Book Image

Instant Getting Started with VMware Fusion

By: Michael Roy

Overview of this book

Running Windows on your Mac can seem complicated, but this book will make things easy by showing you how to get the most out of VMware Fusion. Having a virtual copy of Windows on your Mac can let you make a secure backup of your files and run Windows applications, which makes your computer more versatile. This book will show you how to start running Windows on your Mac, with practical examples of how to keep your Virtual Machine secure, backed up, and running smoothly. You will learn about the new features of VMware Fusion 6 and where to get help and support for the software when you need it. This book will walk you through what you need to know to safely and securely run Windows on your Mac. It then proceeds to show you how to upgrade to Windows 8, and shows you how you can seamlessly switch between Windows 7 and Windows 8 using snapshots. Next, it covers all that you need to know to safely and securely run Windows on a Mac computer with Intel processors. You will also learn how to manage your Virtual Machine backups and keep your VM safe. The recipes in this book will give you a helpful head start in getting the most out of VMware Fusion 6.
Table of Contents (8 chapters)

Dedicating an external keyboard exclusively to Windows (Advanced)


So, here's where we get a little crazy and risky. The idea here is to basically dedicate a keyboard exclusively to Windows, basically bypassing the Mac. I've mentioned this earlier, but don't do this unless you have a second keyboard! Otherwise, you will be completely stuck within Windows and you won't be able to get out and back to the Mac to do anything, including shutting down the machine! If you end up in this tragic state, your only recourse is to hold the power button until the Mac shuts off and reboots. Remember not to start Fusion until you change this VMX setting back!

Getting ready

What we're going to do is modify the virtual machine's configuration settings. Thanks to input from the Fusion Support team, we included a quick way to do this that doesn't involve having to dig through Finder to get to the VMX configuration file. You're welcome.

How to do it...

Firstly, make sure your virtual machine is powered off and not suspended! It's important to do this first because TextEdit on Mac as of OS X 10.8 will save your file every time you change anything (you don't need to click on Save anymore), so it's not such a great idea to do this when a VM is actually running! You will likely break it if you do! You have been warned!

Follow these steps:

  1. We're going to follow KB 1014782 to modify the virtual machine's configuration file (the .vmx file), available at http://kb.vmware.com/kb/1014782.

  2. In VMware Fusion, from the Apple menu bar, go to Windows | Virtual Machine Library.

    Note

    If your virtual machine is encrypted, you'll need to click on Settings and enter your password when prompted.

  3. Hold the option key and right-click on the virtual machine. Select Open Config File in Editor.

  4. Now that we have the configuration file open, we can go through VMware KB 1003418, available at http://kb.vmware.com/kb/1003418.

  5. Scroll to the bottom and hit return a couple of times so it's easy for you to see the new configuration option.

  6. Add the following lines to the very bottom:

    usb.generic.allowHID = "TRUE"
    usb.generic.allowLastHID = "TRUE"
  7. Close TextEdit (it automatically saves the file).

  8. Now, we should still have the virtual machine library window open from the earlier process. We can now launch the virtual machine with the new setting.

  9. Once the virtual machine has finished booting, you can now pass a USB keyboard, mouse, or track-pad directly to it. To do this:

    1. Click on Devices from the toolbar.

    2. Click on Connect Apple Keyboard, as shown in the following screenshot:

    3. In my case, I'm using a standard Apple USB keyboard; you can also use a Windows keyboard here, which is handy for folks who are more familiar with the layout when working within Windows.

    4. You can also go to the Apple menu bar and navigate to Virtual Machine | USB & Bluetooth | Connect Apple Keyboard.

And voila! Repeat this process for a mouse and you have yourself a whole computer-within-a-computer with an independent keyboard and mouse!

How it works...

The two main setups for this would look like the following:

  • Keep Windows on the MacBook screen and Mac on an external monitor. You'd want to connect the internal Apple keyboard/track-pad, which will connect both of them at once.

  • Keep Windows on an external display and Mac on the internal display. You'd connect a USB keyboard and mouse separately using the method I described earlier. Any Windows or Mac keyboard or mouse will do, but it's best to use USB.

The positioning of Windows is just a matter of dragging the Fusion toolbar where you want it and hitting the green button in the upper-left corner to fill the screen.