Using VMware WorkstationVMware Workstation 10
This document supports the version of each product listed andsupports all subsequent versions until the document isreplaced by a new edition. To check for more recent editionsof this document, see http://www.vmware.com/support/pubs.
Using VMware Workstation
2 VMware, Inc.
You can find the most up-to-date technical documentation on the VMware Web site at:
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
Copyright 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright andintellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.VMware is a registered trademark or trademark of VMware, Inc. in the United States and other jurisdictions. All other marksand names mentioned herein may be trademarks of their respective companies.
VMware, Inc.3401 Hillview Ave.Palo Alto, CA 94304www.vmware.com
Using VMware Workstation 5
1 Creating Virtual Machines 7
Understanding Virtual Machines 7Preparing to Create a New Virtual Machine 8Create a New Virtual Machine on the Local Host 18Cloning Virtual Machines 22Virtualize a Physical Machine 25Importing Virtual Machines 27Installing and Upgrading VMware Tools 29Virtual Machine Files 40
2 Using Virtual Machines 43
Starting Virtual Machines 43Stopping Virtual Machines 47Transferring Files and Text 51Add a Host Printer to a Virtual Machine 60Using Removable Devices in Virtual Machines 61Changing the Virtual Machine Display 68Using Folders to Manage Virtual Machines 75Taking Snapshots of Virtual Machines 77Install New Software in a Virtual Machine 84Share Tablet Sensor Data with Windows 8 Guests 85Take a Screenshot of a Virtual Machine 85Create a Movie of a Virtual Machine 86Delete a Virtual Machine 87
3 Configuring and Managing Virtual Machines 89
Configure Power Options and Power Control Settings 89Set Workstation Display Preferences 91Configure Display Settings for a Virtual Machine 92Set Preferences for Unity Mode 94Setting Screen Color Depth 94Using Advanced Linux Sound Architecture 95Encrypting and Restricting Virtual Machines 96Moving Virtual Machines 100Configure a Virtual Machine as a VNC Server 105Change the Hardware Compatibility of a Virtual Machine 108Clean Up a Virtual Hard Disk on Windows Hosts 109Export a Virtual Machine to OVF Format 110Writing and Debugging Applications That Run In Virtual Machines 111
VMware, Inc. 3
4 Configuring and Managing Devices 113
Configuring DVD, CD-ROM, and Floppy Drives 113Configuring a USB Controller 115Configuring and Maintaining Virtual Hard Disks 118Adding a Physical Disk to a Virtual Machine 124Configuring Virtual Ports 127Configuring Generic SCSI Devices 131Configuring Eight-Way Virtual Symmetric Multiprocessing 135Configuring Keyboard Features 136Modify Hardware Settings for a Virtual Machine 145
5 Configuring Network Connections 147
Understanding Virtual Networking Components 147Understanding Common Networking Configurations 148Changing the Default Networking Configuration 149Configuring Bridged Networking 153Configuring Network Address Translation 156Configuring Host-Only Networking 165Assigning IP Addresses in Host-Only Networks and NAT Configurations 171Configuring LAN Segments 174Configuring Samba for Workstation 176Using Virtual Network Adapters in Promiscuous Mode on Linux Hosts 177Maintaining and Changing MAC Addresses for Virtual Machines 177Sample Custom Networking Configuration 178
6 Using Remote Connections and Sharing Virtual Machines 181
Understanding VMware Workstation Server 181Connect to a Remote Server 184Disconnect from a Remote Server 186Creating and Managing Shared Virtual Machines 186Upload a Virtual Machine to a Remote Server 190Download a Virtual Machine from a Remote Server 190Create a Virtual Machine on a Remote Host 191Configure Shared and Remote Virtual Machines to Start with the Host 192Using Roles to Assign Privileges 193Using Permissions to Restrict Users 197
7 Using the vmware Command 201
Run the vmware Command 201Incorporate Workstation Startup Options in a Windows Shortcut 202
Using VMware Workstation
4 VMware, Inc.
Using VMware Workstation
Using VMware Workstation describes how to use VMware Workstation and create, configure, and managevirtual machines.
Intended AudienceThis information is intended for anyone who wants to use Workstation and create and manage virtualmachines.
Where to Find Additional InformationSee the following documents for more information about using Workstation. All of the documents areavailable from the VMware Web site.
n Getting Started with VMware Workstation describes how to install and upgrade Workstation, create atypical virtual machine, and perform common virtual machine operations.
n Installing and Configuring VMware Tools contains complete information on using VMware Tools.
n The VMware Guest Operating System Installation Guide contains information about installing specificguest operating systems.
n The online VMware Compatibility Guide lists the supported host and guest operating systems forWorkstation.
The Workstation online help provides quick reference information about Workstation settings and commontasks. It is available from the Workstation Help menu and when you click Help on a Workstation dialogbox.
VMware, Inc. 5
Using VMware Workstation
6 VMware, Inc.
Creating Virtual Machines 1You can create a new virtual machine in Workstation by using the New Virtual Machine wizard, clone anexisting Workstation virtual machine or virtual machine template, import third-party and OpenVirtualization Format (OVF) virtual machines, and create a virtual machine from a physical machine.
You can also create shared virtual machines, which can be used by remote users, and virtual machines thatrun on remote hosts. See Chapter 6, Using Remote Connections and Sharing Virtual Machines, onpage 181.
This chapter includes the following topics:
n Understanding Virtual Machines, on page 7
n Preparing to Create a New Virtual Machine, on page 8
n Create a New Virtual Machine on the Local Host, on page 18
n Cloning Virtual Machines, on page 22
n Virtualize a Physical Machine, on page 25
n Importing Virtual Machines, on page 27
n Installing and Upgrading VMware Tools, on page 29
n Virtual Machine Files, on page 40
Understanding Virtual MachinesA virtual machine is a software computer that, like a physical machine, runs an operating system andapplications. A virtual machine uses the physical resources of the physical machine on which it runs, whichis called the host system. Virtual machines have virtual devices that provide the same functionality asphysical hardware, but with the additional benefits of portability, manageability, and security.
A virtual machine has an operating system and virtual resources that you manage in much the same waythat you manage a physical computer. For example, you install an operating system in a virtual machine inthe same way that you install an operating system on a physical computer. You must have a CD-ROM,DVD, or ISO image that contains the installation files from an operating system vendor.
VMware, Inc. 7
Preparing to Create a New Virtual MachineYou use the New Virtual Machine wizard to create a new virtual machine in Workstation. The wizardprompts you to make decisions about many aspects of the virtual machine. You should make thesedecisions before you start the New Virtual Machine wizard.
Selecting a Virtual Machine ConfigurationWhen you start the New Virtual Machine wizard, the wizard prompts you to select a typical or customconfiguration.
Typical ConfigurationIf you select a typical configuration, you must specify or accept defaults for a few basic virtual machinesettings.
n How you want to install the guest operating system.
n A name for the virtual machine and a location for the virtual machine files.
n The size of the virtual disk and whether to split the disk into multiple virtual disk files.
n Whether to customize specific hardware settings, including memory allocation, number of virtualprocessors, and network connection type.
Custom ConfigurationYou must select a custom configuration if you need to perform any of the following hardwarecustomizations.
n Create a virtual machine that has a different Workstation version than the default hardwarecompatibility setting.
n Select the I/O controller type for the SCSI controller.
n Select the virtual disk device type.
n Configure a physical disk or an existing virtual disk instead of create a new virtual disk.
n Allocate all virtual disk space rather than let disk space gradually grow to the maximum disk size.
Selecting the Virtual Machine Hardware Compatibility SettingAll virtual machines have a hardware version. The hardware version indicates which virtual hardwarefeatures that the virtual machine supports, such as BIOS or EFI, number of virtual slots, maximum numberof CPUs, maximum memory configuration, and other hardware characteristics. The virtual machinehardware compatibility setting determines the hardware features of the virtual machine.
If you select a typical configuration, the wizard uses the default hardware compatibility setting c