VMware Workstation - 12.0 Pro Instruction Manual

Page 1
Using VMware Workstation Pro
Workstation 12 Pro
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
EN-001870-00
Page 2
Using VMware Workstation Pro
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
docfeedback@vmware.com
Copyright © 2015 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc.
3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com
Page 3

Contents

Using VMware Workstation Pro 7
Introduction and System Requirements 9
1
Host System Requirements for Workstation Pro 9
Virtual Machine Features and Specifications 12
Installing and Using Workstation Pro 17
2
Obtaining the Workstation Pro Software and License Key 17
Installing Workstation Pro with Other VMware Products 18
Reinstalling Workstation Pro When Upgrading a Windows Host Operating System 18
Installing the Integrated Virtual Debuggers for Eclipse 19
Installing Workstation Pro 19
Upgrading Workstation Pro 25
Uninstalling Workstation Pro 30
Start Workstation Pro 31
Using the Workstation Pro Window 31
Using the Workstation Pro Online Help 36
Creating Virtual Machines 37
3
Understanding Virtual Machines 37
Preparing to Create a New Virtual Machine 38
Create a New Virtual Machine on the Local Host 47
Cloning Virtual Machines 52
Virtualize a Physical Machine 54
Importing Virtual Machines 56
Installing and Upgrading VMware Tools 58
Virtual Machine Files 69
VMware, Inc.
Using Virtual Machines 71
4
Starting Virtual Machines 71
Stopping Virtual Machines 73
Transferring Files and Text 77
Add a Host Printer to a Virtual Machine 87
Using Removable Devices in Virtual Machines 87
Changing the Virtual Machine Display 94
Using Folders to Manage Virtual Machines 100
Taking Snapshots of Virtual Machines 103
Install New Software in a Virtual Machine 109
Take a Screenshot of a Virtual Machine 110
Delete a Virtual Machine 111
3
Page 4
Using VMware Workstation Pro
Configuring and Managing Virtual Machines 113
5
Configure Power Options and Power Control Settings 113
Set Workstation Pro Display Preferences 115
Configure Display Settings for a Virtual Machine 116
Set Preferences for Unity Mode 118
Setting Screen Color Depth 119
Using Advanced Linux Sound Architecture 120
Encrypting and Restricting Virtual Machines 121
Moving Virtual Machines 125
Configure a Virtual Machine as a VNC Server 130
Change the Hardware Compatibility of a Virtual Machine 133
Clean Up a Virtual Hard Disk on Windows Hosts 134
Export a Virtual Machine to OVF Format 135
Writing and Debugging Applications That Run In Virtual Machines 136
Configuring and Managing Devices 139
6
Configuring DVD, CD-ROM, and Floppy Drives 139
Configuring a USB Controller 141
Configuring and Maintaining Virtual Hard Disks 143
Adding a Physical Disk to a Virtual Machine 150
Configuring Virtual Ports 152
Configuring Generic SCSI Devices 157
Configuring Eight-Way Virtual Symmetric Multiprocessing 160
Configuring Keyboard Features 161
Modify Hardware Settings for a Virtual Machine 169
Configuring Network Connections 171
7
Understanding Virtual Networking Components 171
Understanding Common Networking Configurations 172
Changing the Default Networking Configuration 173
Configuring Bridged Networking 177
Configuring Network Address Translation 180
Configuring Host-Only Networking 189
Assigning IP Addresses in Host-Only Networks and NAT Configurations 194
Configuring LAN Segments 198
Configuring Samba for Workstation Pro 200
Using Virtual Network Adapters in Promiscuous Mode on Linux Hosts 201
Maintaining and Changing MAC Addresses for Virtual Machines 201
Sample Custom Networking Configuration 202
Using Remote Connections and Sharing Virtual Machines 205
8
Understanding VMware Workstation Server 205
Connect to a Remote Server 208
Disconnect from a Remote Server 210
Creating and Managing Shared Virtual Machines 210
Uploading Virtual Machines to Remote Servers 213
Download a Virtual Machine from a Remote Server 215
Create a Virtual Machine on a Remote Host 216
Page 5
Configure Shared and Remote Virtual Machines to Start with the Host 217
Using Roles to Assign Privileges 218
Using Permissions to Restrict Users 221
Contents
Changing Workstation Pro Preference Settings 225
9
Configuring Workspace Preference Settings 225
Configuring Input Preference Settings 228
Changing Hot-Key Combinations 230
Configuring Workstation Pro Display Preference Settings 231
Configuring Software Update Preference Settings 232
Sending System Data and Usage Statistics to VMware 234
Changing Shared Virtual Machine Preference Settings 235
Configuring Workstation Pro Memory Preference Settings 236
Configuring Workstation Pro Priority Preference Settings 237
Configuring Device Settings for Windows Hosts 238
Configuring Virtual Machine Option Settings 241
10
Configuring General Option Settings for a Virtual Machine 241
Configuring Power Settings for a Virtual Machine 243
Configuring Snapshot Options for a Virtual Machine 244
Configuring AutoProtect Options for a Virtual Machine 245
Configuring Guest Isolation Options for a Virtual Machine 245
Configuring Tablet Sensor Input Options for a Virtual Machine 246
Configuring VMware Tools Options for a Virtual Machine 247
Configuring a Virtual Machine as a VNC Server 247
Configuring Unity Mode for a Virtual Machine 248
Configuring Appliance Details for a Virtual Machine 248
Configuring Autologon for a Virtual Machine 249
Configuring Advanced Options for a Virtual Machine 249
Configuring Virtual Machine Hardware Settings 253
11
Adding Hardware to a Virtual Machine 253
Removing Hardware from a Virtual Machine 254
Adjusting Virtual Machine Memory 255
Configuring Virtual Machine Processor Settings 255
Configuring and Maintaining Virtual Hard Disks 256
Configuring CD-ROM and DVD Drive Settings 258
Configuring Floppy Drive Settings 260
Configuring Virtual Network Adapter Settings 260
Configuring USB Controller Settings 264
Configuring Sound Card Settings 265
Configuring Parallel Port Settings 265
Configuring Serial Port Settings 265
Configuring Generic SCSI Device Settings 266
Configuring Printer Settings 267
Configuring Display Settings 267
Installing a Guest Operating System on a Physical Disk or Unused Partition 268
VMware, Inc. 5
Page 6
Using VMware Workstation Pro
Using the Virtual Network Editor 269
12
Add a Bridged Virtual Network 269
Add a Host-Only Virtual Network 270
Changing Automatic Bridging Settings 271
Changing NAT Settings on a Windows Host 271
Changing DHCP Settings on a Windows Host 273
Running the Support Script 275
13
Register and Create a Support Request 275
Run the Support Script from Workstation Pro 276
Run the Support Script from a Windows Command Prompt 276
Run the Support Script from a Linux Terminal Window 277
Using the vmware Command 279
14
Run the vmware Command 279
Incorporate Workstation Pro Startup Options in a Windows Shortcut 280
Index 281
6 VMware, Inc.
Page 7

Using VMware Workstation Pro

Using VMware Workstation Pro describes how to use VMware Workstation Pro™ to create, configure, and manage virtual machines.
Intended Audience
This information is intended for anyone who wants to install, upgrade, or use Workstation Pro. The information is written for experienced Windows or Linux system administrators who are familiar with virtual machine technology and datacenter operations.
VMware, Inc. 7
Page 8
Using VMware Workstation Pro
Page 9
Introduction and System
Requirements 1
Host computers that run Workstation Pro must meet specific hardware and software requirements. Virtual machines that run in Workstation Pro support specific devices and provide certain features.
This chapter includes the following topics:
“Host System Requirements for Workstation Pro,” on page 9
n
“Virtual Machine Features and Specifications,” on page 12
n

Host System Requirements for Workstation Pro

The physical computer on which you install Workstation Pro is called the host system and its operating system is called the host operating system. To run Workstation Pro, the host system and the host operating system must meet specific hardware and software requirements.

Processor Requirements for Host Systems

You must install Workstation Pro on a host system that meets certain processor requirements.
Supported Processors
The host system must have a 64-bit x86 CPU that meets the following requirements.
LAHF/SAHF support in long mode
n
1.3GHz or faster core speed
n
Multiprocessor systems are supported.
When you install Workstation Pro, the installer performs checks to make sure the host system has a supported processor. You cannot install Workstation Pro if the host system does not meet the processor requirements.
Processor Requirements for 64-Bit Guest Operating Systems
The operating system that runs inside a virtual machine is called the guest operating system. To run 64-bit guest operating systems, the host system must have one of the following processors.
An AMD CPU that has segment-limit support in long mode
n
An Intel CPU that has VT-x support
n
If you have an Intel CPU that has VT-x support, you must verify that VT-x support is enabled in the host system BIOS. The BIOS settings that must be enabled for VT-x support vary depending on the system vendor. See the VMware knowledge base article at http://kb.vmware.com/kb/1003944 for information about how to determine if VT-x support is enabled.
VMware, Inc.
9
Page 10
Using VMware Workstation Pro
When you install a 64-bit operating system, Workstation Pro performs checks to make sure the host system has a supported processor. You cannot install a 64-bit operating system if the host system does not meet the processor requirements.
Processor Requirements for Windows 7 Aero Graphics
To support Windows 7 Aero graphics, the host system should have either an Intel Dual Core 2.2GHz or later CPU or an AMD Athlon 4200+ or later CPU.

Supported Host Operating Systems

You can install Workstation Pro on Windows and Linux host operating systems.
To see a list of the supported host operating systems, search the online VMware Compatibility Guide on the VMware Web site.

Memory Requirements for Host Systems

The host system must have enough memory to run the host operating system, the guest operating systems that run inside the virtual machines on the host system, and the applications that run in the host and guest operating systems.
The minimum memory required on the host system is 1 GB. 2 GB and above is recommended.
To support Windows 7 Aero graphics in a virtual machine, at least 3 GB of host system memory is required. 1 GB of memory is allocated to the guest operating system and 256 MB is allocated to graphics memory.
See your guest operating system and application documentation for more information on memory requirements.

Display Requirements for Host Systems

The host system must have a 16-bit or 32-bit display adapter. Use the latest graphics driver recommended for the host system.
To support Windows 7 Aero graphics, the host system should have either an NVIDIA GeForce 8800GT or later or an ATI Radeon HD 2600 or later graphics processor.
IMPORTANT 3D benchmarks, such as 3DMark '06, might not render correctly or at all when running Windows Vista or Windows 7 virtual machines on some graphics hardware.
10 VMware, Inc.
Page 11
Chapter 1 Introduction and System Requirements

Disk Drive Requirements for Host Systems

Host systems must meet certain disk drive requirements. Guest operating systems can reside on physical disk partitions or in virtual disk files.
Table 11. Disk Drive Requirements for Host Systems
Drive Type Requirements
Hard disk
Optical CD-ROM and DVD
Floppy Virtual machines can connect to disk drives on the host computer. Floppy disk
IDE, SATA, and SCSI hard drives are supported.
n
At least 1 GB free disk space is recommended for each guest operating system
n
and the application software used with it. If you use a default setup, the actual disk space needs are approximately the same as those for installing and running the guest operating system and applications on a physical computer.
For basic installation, 1.5 GB free disk space is required on Windows and
n
Linux. You can delete the installer after the installation is complete to reclaim disk space.
IDE, SATA, and SCSI optical drives are supported.
n
CD-ROM and DVD drives are supported.
n
ISO disk image files are supported.
n
image files are also supported.
Solid-State Drives
If your host machine has a physical solid-state drive (SSD), the host informs guest operating systems they are running on an SSD.
This allows the guest operating systems to optimize behavior. How the virtual machines recognize SSD and use this information depends on the guest operating system and the disk type of the virtual disk (SCSI, SATA, or IDE).
On Windows 8, Windows 10, Ubuntu, and Red Hat Enterprise Linux virtual machines, all drive types
n
can report their virtual disks as SSD drives.
On Windows 7 virtual machines, only IDE and SATA virtual disks can report their virtual disks as SSD.
n
SCSI virtual disks only report as SSD when used as a system drive in a virtual machine, or as a mechanical drive when used as a data drive inside a virtual machine.
On Mac virtual machines, only SATA virtual disks are reported as SSD. IDE and SCSI virtual disks are
n
reported as mechanical drives.
Use the virtual machine operating system to verify your virtual machine is using SSD as its virtual disk.

Local Area Networking Requirements for Host Systems

You can use any Ethernet controller that the host operating system supports.
Non-Ethernet networks are supported by using built-in network address translation (NAT) or by using a combination of host-only networking and routing software on the host operating system.

ALSA Requirements

To use ALSA in a virtual machine, the host system must meet certain requirements.
The ALSA library version on the host system must be version 1.0.16 or later.
n
The sound card on the host system must support ALSA. The ALSA project Web site maintains a current
n
listing of sound cards and chipsets that support ALSA.
Page 12
Using VMware Workstation Pro
The sound device on the host system must not be muted.
n
The current user must have the appropriate permissions to use the sound device.
n

Virtual Machine Features and Specifications

Workstation Pro virtual machines support specific devices and provide certain features.

Supported Guest Operating Systems

A guest operating system can be Windows, Linux, and other commonly used operating systems.
To see a list of the supported guest operating systems, search the online VMware Compatibility Guide on the VMware Web site.
See the VMware Guest Operating System Installation Guide for information on installing the most common guest operating systems.

Virtual Machine Processor Support

Virtual machines support certain processor features.
The same as the processor on the host computer.
n
One virtual processor on a host system that has one or more logical processors.
n
Up to eight virtual processors (eight-way virtual symmetric multiprocessing, or Virtual SMP) on a host
n
system that has at least two logical processors.
NOTE Workstation Pro considers multiprocessor hosts that have two or more physical CPUs, single­processor hosts that have a multicore CPU, and single-processor hosts that have hyperthreading enabled, to have two logical processors.

Virtual Machine Chip Set and BIOS Support

Virtual machines support certain virtual machine chip set and BIOS features.
Intel 440BX-based motherboard
n
NS338 SIO chip set
n
82093AA I/O Advanced Programmable Controller (I/O APIC)
n
Phoenix BIOS 4.0 Release 6 with VESA BIOS
n

Virtual Machine Memory Allocation

The total amount of memory that you can assign to all virtual machines running on a single host system is limited only by the amount of RAM on the host.
On 64-bit hosts, the maximum amount of memory for each virtual machine is 64GB. On 32-bit hosts, the maximum amount of memory for each virtual machine is 8GB. Workstation Pro prevents powering on virtual machines that are configured to use more than 8GB of memory on 32-bit hosts. Memory management limitations on 32-bit operating systems cause virtual machine memory to overcommit, which severely affects system performance.

Virtual Machine Graphics and Keyboard Support

Virtual machines support certain graphics features and keyboards.
VGA and SVGA are supported.
n
Page 13
104-key Windows 95/98 enhanced keyboards are supported.
n
To use the GL_EXT_texture_compression_s3tc and GL_S3_s3tc Open Graphics Library (OpenGL)
n
extensions in a Windows XP or Windows 7 or later guest operating system, you must install Microsoft DirectX End-User Runtime in the guest operating system. OpenGL is an API that is used to define 2D and 3D computer graphics. You can download Microsoft DirectX End-User Runtime from the Microsoft Download Center Web site.

Virtual Machine IDE Drive Support

Virtual machines support certain IDE drives and features.
Up to four devices, including disk, CD-ROM, and DVD drives, are supported.
n
DVD drives can be used to read data DVD discs only.
n
DVD video is not supported.
n
Hard disks can be virtual disks or physical disks.
n
IDE virtual disks can be up to 8TB.
n
CD-ROM drives can be physical devices or ISO image files.
n

Virtual Machine SCSI Device Support

Chapter 1 Introduction and System Requirements
Virtual machines support certain SCSI devices and features.
Up to 60 devices are supported.
n
SCSI virtual disks can be up to 8TB.
n
Hard disks can be virtual disks or physical disks.
n
With Generic SCSI support, you can use devices in a virtual machine without installing drivers in the
n
host operating system. Generic SCSI support works with scanners, CD-ROM drives, DVD drives, tape drives, and other SCSI devices.
The LSI Logic LSI53C10xx Ultra320 SCSI I/O controller is supported.
n

Virtual Machine Floppy Drive Support

Virtual machines can have floppy drives.
Up to two 2.88MB floppy devices are supported.
n
Floppy drives can be physical drives or floppy image files.
n

Virtual Machine Serial and Parallel Port Support

Virtual machines support serial (COM) and parallel (LPT) ports.
Up to four serial (COM) ports are supported. Output can be sent to serial ports, Windows or Linux files,
n
or named pipes.
Up to three bidirectional parallel (LPT) ports. Output can be sent to parallel ports or host operating
n
system files.

Virtual Machine USB Port Support

Virtual machines can have USB ports and can support certain USB devices.
USB 1.1 UHCI (Universal Host Controller Interface) is supported for all virtual machine hardware
n
versions.
VMware, Inc. 13
Page 14
Using VMware Workstation Pro
USB 2.0 EHCI (Enhanced Host Controller Interface) controllers are supported if the virtual machine
n
hardware is compatible with Workstation 6 and later virtual machines.
USB 3.0 xHCI (Extensible Host Controller Interface) support is available for Linux guests running
n
kernel version 2.6.35 or later and for Windows 8 guests. The virtual machine hardware must be compatible with Workstation 8 and later virtual machines.
Support for USB 2.0 and 3.0 requires that you configure virtual machine settings to enable USB 2.0 and
n
3.0 support and that you have compatible guest operating systems and virtual machine hardware versions.
Most USB devices are supported, including USB printers, scanners, PDAs, hard disk drives, memory
n
card readers, and digital cameras. Streaming devices, such as webcams, speakers, and microphones, are also supported.

Virtual Machine Mouse and Drawing Tablet Support

Virtual machines support certain types of mice and drawing tablets.
PS/2 and USB mouse types are supported.
n
Serial tablets are supported.
n
USB tablets are supported.
n

Virtual Machine Ethernet Card Support

Virtual machines support certain types of Ethernet cards.
Up to 10 virtual Ethernet cards are supported.
n
The AMD PCnet-PCI II Ethernet Adapter is supported. For 64-bit guests, the Intel Pro/1000 MT Server
n
Adapter is also supported.

Virtual Machine Networking Support

Virtual machines support certain Ethernet switches and networking protocols.
Up to 10 virtual Ethernet switches are supported on Windows host operating systems. Up to 255 virtual
n
Ethernet switches are supported on Linux host operating systems.
Three switches are configured by default for bridged, host-only, and NAT networking.
n
Most Ethernet-based protocols are supported, including TCP/IP, NetBEUI, Microsoft Networking,
n
Samba, Novell NetWare, and Network File System (NFS).
Built-in NAT networking supports client software that uses TCP/IP, FTP, DNS, HTTP, and Telnet. VPN
n
is supported for PPTP over NAT.

Virtual Machine Sound Support

Workstation Pro provides a sound device that is compatible with the Sound Blaster AudioPCI and Intel High-Definition Audio Specification. The Workstation Pro sound device is enabled by default.
Workstation Pro supports sound in Windows 95, Windows 98, Windows Me, Windows NT, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10, Windows Server 2003, Windows Server 2008, and Linux guest operating systems.
Sound support includes pulse code modulation (PCM) output and input. You can play .wav files, MP3 audio, and Real Media audio. MIDI output from Windows guest operating systems is supported by the Windows software synthesizer. MIDI input is not supported, and no MIDI support is available for Linux guest operating systems.
14 VMware, Inc.
Page 15
Chapter 1 Introduction and System Requirements
Windows XP, Windows Vista, Windows 7 and most recent Linux distributions detect the sound device and install appropriate drivers for it.
Windows 95, Windows 98, Windows 98SE, and Windows NT 4.0 do not have drivers for the Sound Blaster AudioPCI adapter. To use sound in these guest operating systems, you must download the driver from the Creative Labs Web site and install it in the guest operating systems. Creative Labs has Web sites that serve different regions of the world. The adapter name varies, depending on the region, but usually includes PCI
128.
For Workstation 7.x and earlier virtual machines, the vmaudio driver in VMware Tools is installed in 64-bit Windows XP, Windows 2003, Windows Vista, Windows 2008, and Windows 7 guest operating systems and in 32-bit Windows 2003, Windows Vista, Windows 2008, and Windows 7 guest operating systems.
For Workstation 8.x and later virtual machines, the High-Definition Audio (HD Audio) device is presented by default for both 64-bit and 32-bit Windows Vista and Windows 7 guest operating systems and their server counterparts. Windows provides a driver for HD Audio that is not part of VMware Tools.
On Linux host systems, Workstation 7.x and later supports Advanced Linux Sound Architecture (ALSA). Earlier versions of Workstation use the Open Sound System (OSS) interface for sound playback and recording in virtual machines running on Linux host systems. Unlike OSS, ALSA does not require exclusive access to the sound device. The host system and multiple virtual machines can play sound at the same time.
VMware, Inc. 15
Page 16
Using VMware Workstation Pro
Page 17

Installing and Using Workstation Pro 2

You can install Workstation Pro on a Linux or Windows host system. Installing or upgrading Workstation Pro typically involves running a standard GUI wizard.
This chapter includes the following topics:
“Obtaining the Workstation Pro Software and License Key,” on page 17
n
“Installing Workstation Pro with Other VMware Products,” on page 18
n
“Reinstalling Workstation Pro When Upgrading a Windows Host Operating System,” on page 18
n
“Installing the Integrated Virtual Debuggers for Eclipse,” on page 19
n
“Installing Workstation Pro,” on page 19
n
“Upgrading Workstation Pro,” on page 25
n
“Uninstalling Workstation Pro,” on page 30
n
“Start Workstation Pro,” on page 31
n
“Using the Workstation Pro Window,” on page 31
n
“Using the Workstation Pro Online Help,” on page 36
n

Obtaining the Workstation Pro Software and License Key

The Workstation Pro installation software is in the file that you downloaded and the license key is sent to you in email.
The installation files for both host platforms are included in the packaged distribution. You can use the license key on both the Windows and Linux versions of Workstation Pro. You need one license for each host system.
If you do not enter the Workstation Pro license key during installation, you can specify the license key later, in Workstation Pro, select Help > Enter License Key and enter the license key on the Workstation Activation dialog box. You can also purchase a license key and view the status of an evaluation license from the Workstation Activation dialog box.
See the VMware Web site for information on obtaining an evaluation license.
NOTE If you have an invalid license, Workstation Pro prompts you to enter a license key each time you attempt to power on a virtual machine.
VMware, Inc.
17
Page 18
Using VMware Workstation Pro
Once you have installed Workstation Pro, you can find your license key in the About VMware Workstation Pro window. Click Help > About VMware Workstation Pro.
If you have an individual license for Workstation Pro, the key is displayed in the License Information
n
section under Type. It is labeled Individual and followed by your license key.
If you have a version of Workstation Pro licensed for multiple users, the Type field displays Volume and
n
your license key is not displayed.
If you did not enter a license for Workstation Pro, the Type field displays Not applicable and a license
n
key is not displayed.
If you have an evaluation license key for Workstation Pro, the Type field displays Not applicable. The
n
date the evaluation license key expires is also displayed.

Trial Version Expiration Date Warnings

When you use the trial version of VMware Workstation Pro, a notice appears on the home page advising you of the trial license expiration date.
To purchase a license key click, click Get a license key. If you have a license key, click Enter a license key. You can also go to the Help menu and click Enter a license key.

Installing Workstation Pro with Other VMware Products

The only VMware products that can share a host system with Workstation Pro are VMware vSphere Client and VMware vCenter Converter Standalone. You cannot install Workstation Pro on a host system that has any other VMware virtualization products installed.
If the host system has another VMware virtualization product installed, you must uninstall that product before you install Workstation Pro.

Reinstalling Workstation Pro When Upgrading a Windows Host Operating System

Before you upgrade the operating system on a Microsoft Windows host, VMware recommends that you uninstall VMware Workstation Pro.
The way Workstation Pro is installed and configured depends partly on the version of Windows used. As a best practice, to ensure that Workstation Pro is properly configured for a new operating system, you must remove the Workstation Pro application before you perform the operating system upgrade. Uninstalling Workstation Pro guarantees that legacy components that apply only to older versions of Windows are not left behind .
For example, if you do not uninstall Workstation Pro before upgrading the Windows operating system, some virtual network adapters might not function properly after the operating system upgrade. Before you uninstall Workstation Pro, open the virtual network editor and note the settings used. You must configure these settings again after you reinstall Workstation Pro.
When you uninstall Workstation Pro, you need only uninstall the Workstation Pro application, not the virtual machines that you have created. When the operating system upgrade is complete, reinstall Workstation Pro or, if you are also upgrading Workstation Pro, install the new version of Workstation Pro.
18 VMware, Inc.
Page 19
Chapter 2 Installing and Using Workstation Pro

Installing the Integrated Virtual Debuggers for Eclipse

If you plan to use the Integrated Virtual Debugger for Eclipse, you should install it on the host system before you install Workstation Pro.
If you must install the Integrated Virtual Debugger for Eclipse after you install Workstation Pro, run the Workstation Pro installer again and select Modify/Change to install the associated Workstation Pro plug­ins.
See the Integrated Virtual Debugger for Eclipse Developer’s Guide for host system requirements and supported operating systems. This guide is available on the VMware Web site.

Installing Workstation Pro

You can install Workstation Pro on a Windows host system by running the installation wizard or by using the unattended installation feature of the Microsoft Windows Installer (MSI). The MSI unattended installation feature is useful if you are installing Workstation Pro on several Windows hosts and do not want to respond to wizard prompts. You install Workstation Pro on a Linux host system by running the Workstation Pro bundle installer.
Install Workstation Pro on a Windows Host on page 19
n
You run the Windows setup program and installation wizard to install Workstation Pro on a Windows host system.
Run an Unattended Workstation Pro Installation on a Windows Host on page 20
n
You can use the unattended installation feature of the Microsoft Windows Installer (MSI) to install Workstation Pro on Windows host systems without having to respond to wizard prompts. This feature is convenient in a large enterprise.
Install Workstation Pro on a Linux Host on page 23
n
You run the Linux bundle installer to install Workstation Pro on a Linux host system. On most Linux distributions, the Linux bundle installer launches a GUI wizard. On some Linux distributions, including Red Hat Enterprise Linux 5.1, the bundle installer launches a command-line wizard instead of a GUI wizard. You can run the installer with the --console option to install Workstation Pro in a terminal window.

Install Workstation Pro on a Windows Host

You run the Windows setup program and installation wizard to install Workstation Pro on a Windows host system.
Remote connections and virtual machine sharing are enabled by default when you install Workstation Pro. With remote connections, you can connect to remote hosts and run remote virtual machines. With virtual machine sharing, you can create virtual machines that other instances of Workstation Pro can access remotely.
Shared virtual machines are stored in the shared virtual machines directory, where VMware Workstation Server (the VMware Workstation Server service) manages them. Remote users connect to VMware Workstation Server through HTTPS port 443 on the host system.
To change the shared virtual machines directory or select a different port during the installation process, you must select the Custom option. You can also change the shared virtual machines directory, select a different port, and disable remote connections and virtual machine sharing after Workstation Pro is installed by modifying the Shared VMs Workstation Pro preference setting.
VMware, Inc. 19
Page 20
Using VMware Workstation Pro
Prerequisites
Verify that the host system meets the host system requirements. See “Host System Requirements for
n
Workstation Pro,” on page 9.
Verify that you have administrative privileges on the host system.
n
Verify that no incompatible VMware products are installed on the host system. See “Installing
n
Workstation Pro with Other VMware Products,” on page 18.
Obtain the Workstation Pro software and license key. See “Obtaining the Workstation Pro Software and
n
License Key,” on page 17.
If you plan to use the Integrated Virtual Debugger for Eclipse, install it on the host system. See
n
“Installing the Integrated Virtual Debuggers for Eclipse,” on page 19.
Procedure
1 Log in to the Windows host system as the Administrator user or as a user who is a member of the local
Administrators group.
If you log in to a domain, the domain account must also be a local administrator.
2 Double-click the VMware-workstation-xxxx-xxxx.exe file, where xxxx-xxxx is the version and build
numbers.
3 Select a setup option.
Option Description
Typical
Custom
Installs typical Workstation Pro features. If the Integrated Virtual Debugger for Eclipse is present on the host system, the associated Workstation Pro plug-ins are installed.
Lets you select which Workstation Pro features to install and specify where to install them. Select this option if you need to change the shared virtual machines directory, modify the VMware Workstation Server port, or install the enhanced virtual keyboard driver. The enhanced virtual keyboard driver provides better handling of international keyboards and keyboards that have extra keys.
4 Follow the prompts to finish the installation.
Depending on your configuration, you might need to restart the host system to finish the installation.
After Workstation Pro is installed, the VMware Workstation Server service starts on the host system. The VMware Workstation Server service starts whenever you restart the host system.

Run an Unattended Workstation Pro Installation on a Windows Host

You can use the unattended installation feature of the Microsoft Windows Installer (MSI) to install Workstation Pro on Windows host systems without having to respond to wizard prompts. This feature is convenient in a large enterprise.
Prerequisites
Verify that the host system meets the host system requirements. See “Host System Requirements for
n
Workstation Pro,” on page 9.
Verify that no incompatible VMware products are installed on the host system. See “Installing
n
Workstation Pro with Other VMware Products,” on page 18.
Obtain the Workstation Pro software and license key. See “Obtaining the Workstation Pro Software and
n
License Key,” on page 17.
Page 21
Chapter 2 Installing and Using Workstation Pro
If you plan to use the Integrated Virtual Debugger for Eclipse, install it on the host system. See
n
“Installing the Integrated Virtual Debuggers for Eclipse,” on page 19.
Verify that the host computer has version 2.0 or later of the MSI runtime engine. This version of the
n
installer is available in versions of Windows beginning with Windows XP and is available from Microsoft. For more information, see the Microsoft Web site.
Familiarize yourself with the installation properties. See “Installation Properties,” on page 21.
n
Procedure
1 Log in to the host system as the Administrator user or as a user who is a member of the local
Administrators group.
If you log in to the domain, the domain account must also be a local administrator.
2 Extract the administrative installation image from the setup file.
The setup filename is similar to VMware=workstation-xxxx-xxxx.exe where xxxx-xxxx is the version and build number.
For example, if you enter setup.exe/?, the flag displays a windows message box with the command line usage for the installer.
3 Enter the installation command on one line.
Some examples are:
VMware-workstation-full-x.x.x-xxxxxx.exe /s /pass /v/qn REBOOT=ReallySuppress "EULAS_AGREED=1 INSTALLDIR=""path_to_program_directory"" ADDLOCAL=ALL SERIALNUMBER=""xxxxx­xxxxx-xxxxx-xxxxx-xxxxx"" "
VMware-workstation-full-x.x.x-xxxxxx.exe /s /v/qn EULAS_AGREED=1 SERIALNUMBER="xxxxx-xxxxx­xxxxx-xxxxx-xxxxx"
VMware-workstation-full-x.x.x-xxxxxx.exe /s /v/qn EULAS_AGREED=1 SERIALNUMBER="xxxxx-xxxxx­xxxxx-xxxxx-xxxxx"
You can use the optional INSTALLDIR property to specify a file path for the installation that is different from the default location.
NOTE The double quotes around the file path are important. All the MSI arguments are passed with the /v option. The outer quotes group the MSI arguments and the double quotes put a quote in that argument.
You can use the optional REMOVE property to skip the installation of certain features. See “REMOVE
Property Values,” on page 22.
You can also run an unattended uninstallation of Workstation Pro on a Windows host. The following example uninstalls Workstation Pro and removes the license from the host.
VMware-workstation-full-x.x.x-xxxxxx.exe /s /v"/qn REMOVE=ALL"
Installation Properties
When you perform an unattended installation of Workstation Pro, you can customize the installation by specifying installation properties in the installation command.
To specify an installation property in the installation command, use the format property="value". A value of 1 means true and a value of 0 means false.
Page 22
Using VMware Workstation Pro
Table 21. Installation Properties
Property Description Default Value
AUTHD_PORT
AUTOSOFTWAREUPDATE
DATACOLLECTION
DATASTORE_PATH
DESKTOP_SHORTCUT
ENABLE_VIRTUAL_PRINTING
EULAS_AGREED
HOSTD_HTTPS_PORT
INSTALLDIR
KEEP_LICENSE
KEEP_SETTINGFILES
SERIALNUMBER
SOFTWAREUPDATEURL
STARTMENU_SHORTCUT
SUPPORTURL
Specifies which port the "VMware Authorization Service" communicates through.
Enables automatic upgrades for Workstation Pro or Workstation Player when a new build becomes available.
Sends user experience information to VMware. 1
Specifies the "Shared Virtual Machines" directory, "C:\Users\Public\Documents\Shared Virtual Machines"
Adds a shortcut on the desktop when Workstation Pro is installed.
Enables support for ThinPrint virtual printing on the Windows host after installing.
Allows you to silently accept the product EULAs. Set to 1 to complete the installation or upgrade.
Specifies the HTTPS port for VMware Workstation Server. 443
Install Workstation Pro in a directory that is different from the default Workstation Pro location.
Specifies whether to keep or remove license keys when Workstation Pro is installed.
Specifies whether to keep or remove settings files when Workstation Prois uninstalled
Lets you enter the license key when Workstation Pro is installed. Enter the license key with hyphens, for example, xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.
Specifies a custom URL for managing software updates (separate from vmware.com).
Adds a Start menu item when Workstation Pro is installed. 1
Set a support URL or email alias specifically for your users to contact with product issues through the Workstation Pro or Workstation Pro Help menu.
902
1
1
0
0
C:\Program Files (86)\VMware\VMwar e Workstation
1
1
REMOVE Property Values
When you perform an unattended installation of Workstation Pro, you can skip the installation of certain features by specifying the REMOVE property in the installation command.
To specify a REMOVE property value in the installation command, use the format REMOVE=value. To skip multiple features, separate each value with a comma, for example, REMOVE=value,value.
Table 22. REMOVE Property Values
Value Skipped Feature
Networking
USB
Keyboard
ParPort
Networking components, including the virtual bridge and the host adapters for host-only networking and NAT networking. Do not remove this component if you want to use NAT or DHCP.
The virtual USB driver.
The virtual keyboard driver.
The parallel port driver.
Page 23
Chapter 2 Installing and Using Workstation Pro

Install Workstation Pro on a Linux Host

You run the Linux bundle installer to install Workstation Pro on a Linux host system. On most Linux distributions, the Linux bundle installer launches a GUI wizard. On some Linux distributions, including Red Hat Enterprise Linux 5.1, the bundle installer launches a command-line wizard instead of a GUI wizard. You can run the installer with the --console option to install Workstation Pro in a terminal window.
Remote connections and virtual machine sharing are enabled by default when you install Workstation Pro. With remote connections, you can connect to remote hosts and run remote virtual machines. With virtual machine sharing, you can create virtual machines that other instances of Workstation Pro can access remotely.
Shared virtual machines are stored in the shared virtual machines directory, where VMware Workstation Server (vmware-workstation-server) manages them. Remote users connect to VMware Workstation Server through HTTPS port 443 on the host system.
To change the shared virtual machines directory or select a different port during the installation process, you must specify the --custom option. You can also change the shared virtual machines directory, select a different port, and disable remote connections and virtual machine sharing after Workstation Pro is installed by modifying the Shared VMs Workstation Pro preference setting.
Prerequisites
Verify that the host system meets the host system requirements. See “Host System Requirements for
n
Workstation Pro,” on page 9.
Verify that no incompatible VMware products are installed on the host system. See “Installing
n
Workstation Pro with Other VMware Products,” on page 18.
Obtain the Workstation Pro software and license key. See “Obtaining the Workstation Pro Software and
n
License Key,” on page 17.
If you plan to use the Integrated Virtual Debugger for Eclipse, install it on the host system. See
n
“Installing the Integrated Virtual Debuggers for Eclipse,” on page 19.
Compile the real-time clock function into the Linux kernel.
n
Verify that the parallel port PC-style hardware option (CONFIG_PARPORT_PC) is built and loaded as a
n
kernel module and that it is set to m when the kernel is compiled.
Familiarize yourself with the Linux command-line installation options. You must use the --custom
n
option to specify certain configuration settings. See “Linux Command Line Installation Options,” on page 24.
Verify that you have root access on the host system.
n
Procedure
1 Log in to the host system with the user name that you plan to use when you run Workstation Pro.
2 Become root.
For example: su root
The command that you use depends on your Linux distribution and configuration.
3 Change directories to the directory that contains the Workstation Pro installer file.
4 Run the appropriate Workstation Pro installer for the host system.
For example: sh VMware-Workstation-xxxx-xxxx.architecture.bundle [--option]
xxxx-xxxx is the version and build numbers, architecture is i386 or x86_64, and option is a command line option.
Page 24
Using VMware Workstation Pro
5 Accept the Open Virtualization Format (OVF) Tool license agreement.
If you are using the --console option or installing Workstation Pro on a host system that does not support the GUI wizard, press Enter to scroll through and read the license agreement or type q to skip to the [yes/no] prompt.
6 Follow the prompts to finish the installation.
After Workstation Pro is installed, vmware-workstation-server starts on the host system. vmware-
workstation-server starts whenever you restart the host system.
Linux Command Line Installation Options
You can use command line installation options to install Workstation Pro on a Linux host system.
To use the installation options, you must be logged in as root. Exit from the root account after the installation is finished.
Table 23. Linux Command Line Installation Options
Option Description
--console
--custom
--gtk
--ignore-errors or -I
--regular
--required
--set-setting vmware-installer installShortcuts
--set-setting vmware-installer libdir /opt
--set-setting vmware-installer prefix /usr/local
--set-setting vmware-player serialNumber
--set-setting vmware-player-app simplifiedUI
--set-setting vmware-player-app softwareUpdateEnabled
--set-setting vmware-player-app softwareUpdateURL
Enables you to use the terminal for installation.
Use this option to customize the following installation settings.
The locations of the installation directories.
n
The user who will initially connect to VMware Workstation Server. This user
n
can create and manage shared virtual machines.
The hard limit for the number of open file descriptors.
n
The location of the shared virtual machines directory.
n
The HTTPS port that VMware Workstation Server uses on the host system.
n
Opens the GUI-based VMware installer, which is the default option.
Allows the installation to continue even if there is an error in one of the installer scripts. Because the section that has an error does not complete, the component might not be properly configured
Shows installation questions that have not been answered before or are required. This is the default option.
Shows the license agreement only and then proceeds to install Workstation Pro.
Adds shortcuts when Workstation Pro is installed. The default is yes .
Creates:
n
/opt/vmware (Workstation or Workstation Pro)
n
/opt/vmware-installer
n
/opt/vmware-vix
The default is /usr/lib .
Installs executable files you run directly (ex: vmware, vmplayer, vmware­networks, etc.) here. Remainder of the product distributed under libdir-derived paths. The default is /usr .
Lets you enter the license key when Workstation Pro is installed. Enter the license key with hyphens, for example, xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.
Turn on or off certain UI features of Workstation Pro. The default is no.
Enables automatic upgrades for Workstation Pro when a new build becomes available.
Specifies a custom URL for managing software updates (separate from vmware.com).
Page 25
Table 23. Linux Command Line Installation Options (Continued)
Option Description
--set-setting vmware-player-app supportURL
--set-setting vmware-workstation serialNumber
Set a support URL or email alias specifically for your users to contact with product issues through the Workstation Pro or Workstation Pro Help menu.
Lets you enter the license key when Workstation Pro is installed. Enter the license key with hyphens, for example, xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.

Upgrading Workstation Pro

You can upgrade from a previous version of Workstation to the current version of Workstation Pro by running the Workstation Pro installation program.
When you upgrade Workstation Pro, the installation program removes the previous version of Workstation Pro before it installs the new version.
To use the latest features, virtual machines that were created in the previous versions of Workstation must be upgraded to the current version of Workstation Pro.
Prepare for an Upgrade on page 25
n
You must perform certain steps before you upgrade Workstation Pro.
Upgrade Workstation Pro on a Windows Host on page 26
n
You can upgrade to the current version of Workstation Pro on a Windows host system by running the Workstation Pro setup program and installation wizard for Windows.
Chapter 2 Installing and Using Workstation Pro
Upgrade Workstation Pro on a Linux Host on page 27
n
You can upgrade to the current version of Workstation Pro on a Linux host system by running the Linux bundle installer for Workstation Pro. On most Linux distributions, the Linux bundle installer launches a GUI wizard. On some Linux distributions, including Red Hat Enterprise Linux 5.1, the bundle installer launches a command-line wizard instead of a GUI wizard. You can run the installer with the --console option to upgrade Workstation Pro in a terminal window.
Change the Hardware Compatibility of a Virtual Machine on page 29
n
You can change the hardware compatibility of a virtual machine. All virtual machines have a hardware version. The hardware version indicates which virtual hardware features that the virtual machine supports, such as BIOS or EFI, number of virtual slots, maximum number of CPUs, maximum memory configuration, and other hardware characteristics.

Prepare for an Upgrade

You must perform certain steps before you upgrade Workstation Pro.
Procedure
Verify that all virtual machines are Workstation 7.x, 8, 9, 10 or 11 virtual machines.
n
Direct upgrades from Workstation 2 and 3 virtual machines are not supported .
Review the system requirements for the new version of Workstation Pro.
n
If a virtual machine was created with a version of Workstation earlier than Workstation 5.5 and it has a
n
snapshot, delete the snapshot.
If you are upgrading from Workstation 4, 5.x, 6.x, or 7.x, and the previous version of Workstation used
n
bridged settings to map virtual networks to specific physical or virtual adapters, record those settings.
You must recreate these mappings after you upgrade Workstation Pro.
Power off all running virtual machines in Workstation Pro.
n
VMware, Inc. 25
Page 26
Using VMware Workstation Pro
If any virtual machines are suspended, resume them and power them off in Workstation Pro.
n
If any virtual machines are running in the background, start them in Workstation Pro and power them
n
off.
Back up all virtual machines by making backup copies of the files in the virtual machine directories and
n
storing them in different directories.
The files that you back up should include .vmdk or .dsk files, .vmx or .cfg files, and .nvram files. Depending on the upgrade path, you might not be able to run virtual machines under both the current version of Workstation Pro and the previous version.
If you are upgrading Workstation 6.x on Windows XP to the current version of Workstation Pro on
n
Windows Vista or Windows 7, verify that Service Pack 2 is installed and then upgrade the host operating system to Windows Vista or Windows 7.
If you are upgrading Workstation 5.x on Windows Vista to the current version of Workstation Pro on
n
Windows Vista, select Programs > Programs and Features > Uninstall a program in the Windows control panel to manually uninstall Workstation 5.x.
If you are upgrading Workstation 5.x on Windows XP to the current version of Workstation Pro on
n
Windows Vista or Windows 7, select Add or Remove Programs in the Windows control panel to manually uninstall Workstation 5.x.
During an upgrade from Windows XP to Windows Vista or Windows 7, the location of virtual machines might change. The Windows Vista and Windows 7 upgrade use the registry to map the virtual machines to a new location. Before the upgrade, the default virtual machine location on Windows XP is
C:\Documents and Settings\username\My Documents\My Virtual Machines. After the upgrade, the default
virtual machine location on Windows Vista and Windows 7 is C:\Users\username\Documents\Virtual
Machines\guestOSname.

Upgrade Workstation Pro on a Windows Host

You can upgrade to the current version of Workstation Pro on a Windows host system by running the Workstation Pro setup program and installation wizard for Windows.
Remote connections and virtual machine sharing are enabled by default when you upgrade Workstation Pro. With remote connections, you can connect to remote hosts and run remote virtual machines. With virtual machine sharing, you can create virtual machines that other instances of Workstation Pro can access remotely.
Shared virtual machines are stored in the shared virtual machines directory, where VMware Workstation Server (the VMware Workstation Server service) manages them. Remote users connect to VMware Workstation Server through HTTPS port 443 on the host system.
To change the shared virtual machines directory or select a different port during the upgrade process, you must select the Custom option. You can also change the shared virtual machines directory, select a different port, and disable remote connections and virtual machine sharing after Workstation Pro is upgraded by modifying the Shared VMs Workstation Pro preference setting.
Prerequisites
Verify that the host system meets the host system requirements. See “Host System Requirements for
n
Workstation Pro,” on page 9.
Verify that you have a license key.
n
Verify that you have administrative privileges on the host system.
n
Prepare for the upgrade. See “Prepare for an Upgrade,” on page 25.
n
Page 27
Chapter 2 Installing and Using Workstation Pro
Procedure
1 Log in to the Windows host system as the Administrator user or as a user who is a member of the local
Administrators group.
If you log in to a domain, the domain account must also be a local administrator.
2 Double-click the VMware-workstation-xxxx-xxxx.exe file, where xxxx-xxxx is the version and build
numbers.
3 Click Uninstall to uninstall the previous version of Workstation Pro.
4 After the host system restarts, log in as the Administrator user or as a user who is a member of the local
Administrators group.
If you log in to a domain, the domain account must also be a local administrator.
5 Select a setup option.
Option Description
Typical
Custom
Installs typical Workstation Pro features. If the Integrated Virtual Debugger for Eclipse is present on the host system, the associated Workstation Pro plug-ins are installed.
Lets you select which Workstation Pro features to install and specify where to install them. Select this option if you need to change the shared virtual machines directory, modify the VMware Workstation Server port, or install the enhanced virtual keyboard driver. The enhanced virtual keyboard driver provides better handling of international keyboards and keyboards that have extra keys.
6 Follow the prompts to finish the upgrade.
Depending on your configuration, you might need to restart the host system to finish the installation.
After Workstation Pro is upgraded and you restart the host system, the VMware Workstation Server service starts. The VMware Workstation Server service starts whenever you restart the host system.
What to do next
To use the latest features, upgrade existing virtual machines to the new version of Workstation Pro. See
“Change the Hardware Compatibility of a Virtual Machine,” on page 29.
If you used bridged settings to map virtual networks to specific physical or virtual adapters in the previous version of Workstation Pro, recreate the mappings. If you created teams in the previous version of Workstation, convert the teams to use them in the new version of Workstation Pro.

Upgrade Workstation Pro on a Linux Host

You can upgrade to the current version of Workstation Pro on a Linux host system by running the Linux bundle installer for Workstation Pro. On most Linux distributions, the Linux bundle installer launches a GUI wizard. On some Linux distributions, including Red Hat Enterprise Linux 5.1, the bundle installer launches a command-line wizard instead of a GUI wizard. You can run the installer with the --console option to upgrade Workstation Pro in a terminal window.
Remote connections and virtual machine sharing are enabled by default when you upgrade Workstation Pro. With remote connections, you can connect to remote hosts and run remote virtual machines. With virtual machine sharing, you can create virtual machines that other instances of Workstation Pro can access remotely.
Shared virtual machines are stored in the shared virtual machines directory, where VMware Workstation Server (vmware-workstation-server) manages them. Remote users connect to VMware Workstation Server through HTTPS port 443 on the host system.
VMware, Inc. 27
Page 28
Using VMware Workstation Pro
To change the shared virtual machines directory or select a different port during the upgrade process, you must specify the --custom option. You can also change the shared virtual machines directory, select a different port, and disable remote connections and virtual machine sharing after Workstation Pro is upgraded by modifying the Shared VMs Workstation Pro preference setting.
Prerequisites
Verify that the host system meets the host system requirements. See “Host System Requirements for
n
Workstation Pro,” on page 9.
Verify that you have a license key.
n
Prepare for the upgrade. See “Prepare for an Upgrade,” on page 25.
n
Familiarize yourself with the Linux command-line installation options. You must use the --custom
n
option to specify certain configuration settings. See “Linux Command Line Installation Options,” on page 24.
Verify that you have root access to the host system.
n
Procedure
1 Log in to the host system with the user name that you plan to use when you run Workstation Pro.
2 Become root.
For example: su root
The command that you use depends on your Linux distribution and configuration.
3 Change directories to the directory that contains the Workstation Pro installer file.
4 Run the appropriate Workstation Pro installer for the host system.
For example: sh VMware-Workstation-xxxx-xxxx.architecture.bundle [--option]
xxxx-xxxx is the version and build numbers, architecture is i386 or x86_64, and option is a command line option.
5 Accept the Open Virtualization Format (OVF) Tool license agreement.
If you are using the --console option or installing Workstation Pro on a host system that does not support the GUI wizard, press Enter to scroll through and read the license agreement or type q to skip to the [yes/no] prompt.
6 Follow the prompts to finish the installation.
After Workstation Pro is upgraded, vmware-workstation-server starts on the host system. vmware-
workstation-server starts whenever you restart the host system.
What to do next
To use the latest features, upgrade existing virtual machines to the new version of Workstation Pro. See
“Change the Hardware Compatibility of a Virtual Machine,” on page 29.
If you used bridged settings to map virtual networks to specific physical or virtual adapters in the previous version of Workstation Pro, recreate the mappings. If you created teams in the previous version of Workstation, convert the teams to use them in the new version of Workstation Pro.
Page 29
Chapter 2 Installing and Using Workstation Pro

Change the Hardware Compatibility of a Virtual Machine

You can change the hardware compatibility of a virtual machine. All virtual machines have a hardware version. The hardware version indicates which virtual hardware features that the virtual machine supports, such as BIOS or EFI, number of virtual slots, maximum number of CPUs, maximum memory configuration, and other hardware characteristics.
When you upgrade Workstation Pro, you must change the hardware compatibility of virtual machines that were created in previous versions of Workstation Pro so that they can use the new features in the new version of Workstation Pro. You can run older versions of virtual machines in the new version of Workstation Pro, but you will not have the benefits of the new features.
If you want a virtual machine to remain compatible with other VMware products that you are using, you might not want to change the hardware compatibility to the latest Workstation Pro version.
NOTE If you decide not to change the hardware compatibility of a virtual machine, you should consider upgrading to the latest version of VMware Tools to obtain the latest VMware Tools features.
Prerequisites
Familiarize yourself with the considerations and limitations of changing the hardware compatibility of a virtual machine. See “Considerations for Changing the Hardware Compatibility of a Virtual Machine,” on page 30.
Procedure
1 Make backup copies of the virtual disk (.vmdk) files.
2 If you are upgrading from a Workstation 5.x virtual machine, or downgrading to a Workstation 5.x
virtual machine, make a note of the NIC settings in the guest operating system.
If you specified a static IP address for the virtual machine, that setting might be changed to automatic assignment by DHCP after the upgrade.
3 Shut down the guest operating system and power off the virtual machine.
4 Select the virtual machine and select VM > Manage > Change Hardware Compatibility.
5 Follow the prompts in the wizard to change the hardware compatibility of the virtual machine.
When you select a hardware compatibility setting, a list of the VMware products that are compatible with that setting appears. For example, if you select Workstation 4, 5, or 6, a list of Workstation 6.5 and later features that are not supported for that Workstation version also appears.
NOTE Using Workstation 10, you can change the hardware compatibility of a shared or remote virtual machine. However, you cannot down grade a previously created virtual machine.
6 Power on the virtual machine.
If you upgrade a virtual machine that contains a Windows 98 operating system to a Workstation 6.5 or later virtual machine, you must install a PCI-PCI bridge driver when you power on the virtual machine.
NOTE Because Workstation 6.5 and later versions have 32 more PCI-PCI bridges than Workstation 6, you might need to respond to the prompt 32 or 33 times.
7 If the NIC settings in the guest operating system have changed, use the NIC settings that you recorded
to change them back to their original settings.
VMware, Inc. 29
Page 30
Using VMware Workstation Pro
8 If the virtual machine does not have the latest version of VMware Tools installed, update VMware
Tools.
You should update VMware Tools to the version included with the latest version of Workstation Pro, even if you upgraded the virtual machine to an earlier version of Workstation Pro. Do not remove the older version of VMware Tools before installing the new version.
NOTE If you are upgrading a virtual machine that runs from a physical disk, you can safely ignore this message: Unable to upgrade drive_name. One of the supplied parameters is invalid.
Considerations for Changing the Hardware Compatibility of a Virtual Machine
Before you change the hardware compatibility of a virtual machine, you should be aware of certain considerations and limitations.
For Workstation 5.x, 6, 6.5, 7.x, and later virtual machines, you can change the version of the original
n
virtual machine or create a full clone so that the original virtual machine remains unaltered.
If you upgrade a Workstation 5.x virtual machine that is compatible with ESX Server to Workstation 6,
n
6.5, 7.x, or later, you cannot use the Change Hardware Compatibility wizard to later downgrade the virtual machine to an ESX-compatible virtual machine.
When you upgrade a Windows XP, Windows Server 2003, Windows Vista, Windows 7, or Windows 8
n
virtual machine, the Microsoft product activation feature might require you to reactivate the guest operating system.
Using Workstation 9 or earlier, you cannot change the hardware compatibility of a shared or remote
n
virtual machine.
Using Workstation 10 and later, you can change the hardware compatibility of a shared or remote
n
virtual machine. However, you cannot down grade a previously created virtual machine.

Uninstalling Workstation Pro

You uninstall Workstation Pro on a Windows host by using the Windows setup program. On a Linux host, you uninstall Workstation Pro by running the bundle installer.
IMPORTANT If you uninstall Workstation Pro and do not save the configuration, then when you reinstall Workstation Pro, shared virtual machines will no longer appear in the Shared VMs list in the virtual machine library. To display virtual machines in the list again, you will need to share them again.

Uninstall Workstation Pro from a Windows Host

You can run the Windows setup program to uninstall Workstation Pro from a Windows host system.
Procedure
1 Log in to the Windows host system as the Administrator user or as a user who is a member of the local
Administrators group.
If you log in to the domain, the domain account must also be a local administrator.
2 Double-click the VMware-workstation-xxxx-xxxx.exe file, where xxxx-xxxx is the version and build
numbers.
3 Click Next on the Welcome screen and then click Remove.
4 (Optional) To save product license and Workstation Pro configuration information, select the
appropriate check boxes.
5 Click Next to begin uninstalling Workstation Pro.
Page 31

Uninstall Workstation Pro from a Linux Host

You must run a command to uninstall Workstation Pro from a Linux host.
Prerequisites
Verify that you have root access to the host system.
Procedure
1 Log in to the Linux host system with the username that you use when you run Workstation Pro.
2 Become root.
For example: su root
The command that you use depends on your Linux distribution and configuration.
3 In a terminal window, type vmware-installer -u vmware-workstation
4 Click Next to begin uninstalling Workstation Pro.

Start Workstation Pro

How you start Workstation Pro depends on the host system platform and the options that you selected during Workstation Pro installation.
Chapter 2 Installing and Using Workstation Pro
On Windows host systems, you might have a desktop shortcut, a quick launch shortcut, or a combination of these options in addition to a Start menu item.
On Linux host systems, you start Workstation Pro from the command line. On some Linux distributions, including Red Hat Enterprise Linux 5.1, you can also start Workstation Pro from the System Tools menu under Applications.
Procedure
To start Workstation Pro on a Windows host system, select Start > Programs > VMware > VMware
n
Workstation.
To start Workstation Pro on a Linux host system, type the vmware command in a terminal window.
n
Option Command
/usr/bin is in your default path
/usr/bin is not in your default path
The first time you start Workstation Pro, Workstation Pro prompts you to accept the End User License Agreement. After you start Workstation Pro, the Workstation Pro window opens.
vmware &
/usr/bin/vmware &

Using the Workstation Pro Window

A virtual machine is like a separate computer that runs in a window on the host system. Workstation Pro displays more than the screen of another computer. From the Workstation Pro window, you can interact with and run virtual machines. You can also switch easily from one virtual machine to another.
The best way to learn how to use Workstation Pro is to use it. The Workstation Pro window is designed to be intuitive and easy to use.
Use Virtual Machines in the Workstation Pro Window on page 32
n
You interact with virtual machines through the Workstation Pro window.
VMware, Inc. 31
Page 32
Using VMware Workstation Pro
Use the Virtual Machine Library on page 33
n
The virtual machine library appears on the left side of the Workstation Pro window. You use the library to view and select virtual machines, folders, and remote hosts in Workstation Pro. The library appears by default.
Use the Thumbnail Bar on page 33
n
The thumbnail bar appears along the bottom of the Workstation Pro window.
Use the Status Bar on page 34
n
The status bar appears at the bottom of the Workstation Pro window. You can use the icons on the status bar to see Workstation Pro messages and perform actions on devices such as hard disks, CD/DVD drives, floppy drives, and network adapters. The status bar appears by default.
Use Workstation Pro Tabs on page 34
n
Workstation Pro creates a tab in the right pane of the Workstation Pro window when you select an item in the library. Tabs appear by default.
Customize the Workstation Pro Window on page 34
n
You can customize the appearance of the Workstation Pro window by selecting items from the View menu.
Default Hot-Key Combinations on page 35
n
You can use keyboard shortcuts to interact with Workstation Pro and with virtual machines. Most of the available keyboard shortcuts for Workstation Pro are listed next to their associated commands in Workstation Pro menus.

Use Virtual Machines in the Workstation Pro Window

You interact with virtual machines through the Workstation Pro window.
Procedure
Use the icons on the Home tab to create a new virtual machine, open an existing virtual machine,
n
connect to a remote server, or view the Workstation Pro help system.
Select a powered-off virtual machine in the library or click its tab to see the summary view for that
n
virtual machine.
The summary view shows a summary of configuration information and the virtual machine state. You can power on the virtual machine and edit virtual machine settings from the summary view.
Select an active virtual machine in the library or click its tab to see the console view.
n
The console view is like the monitor display of a physical computer. You can click the console view button on the toolbar to switch between the console and summary views.
Select a virtual machine in the library and use the VM menu on the menu bar at the top of the
n
Workstation Pro window to perform all virtual machine operations for the selected virtual machine.
You can use the VM menu when a virtual machine is powered on or off. If an operation is not supported for the virtual machine in its current state, the menu item is not available.
Select a virtual machine in the library and use the buttons on the toolbar at the top of the
n
Workstation Pro window to perform common virtual machine operations and change the display for the selected virtual machine.
You can use the buttons on the toolbar to take and manage snapshots, enter full screen and Unity mode, cycle multiple monitors, and switch between the console and summary views.
Page 33
Chapter 2 Installing and Using Workstation Pro
When a virtual machine is powered on, use the icons on the status bar at the bottom of the
n
Workstation Pro window to see Workstation Pro messages and perform actions on virtual devices such as hard disks, CD/DVD drives, floppy drives, and network adapters.
You can click or right-click on a removable device icon to connect or disconnect the device or edit its settings, and you can click the Message log icon to view the message log. Messages include warning information about the virtual machine. If the icon is dimmed, all messages have already been read.
Select items in the library or use tabs to quickly switch between virtual machines, folders, and remote
n
hosts.

Use the Virtual Machine Library

The virtual machine library appears on the left side of the Workstation Pro window. You use the library to view and select virtual machines, folders, and remote hosts in Workstation Pro. The library appears by default.
Prerequisites
If the library is not visible, select View > Customize > Library.
Procedure
Right-click a virtual machine, folder, or remote host in the library to view the item's context menu and
n
perform common operations.
To find a specific virtual machine in the library, type its name, part of its description, or the name of the
n
guest operating system in the search box.
For example, to find all of the virtual machines that have a Windows 8 guest operating system, type
Windows 8. You can also search for folders and remote hosts.
To mark a virtual machine or folder as a favorite in the library, right-click it and select Mark as Favorite
n
or click the star icon.
Use the library drop-down menu to show only powered on virtual machines or favorite items.
n
By default, the library shows all items.
To remove an item from the library, right-click it and select Remove.
n

Use the Thumbnail Bar

The thumbnail bar appears along the bottom of the Workstation Pro window.
For active virtual machines, Workstation Pro updates the thumbnail in real time to show the actual content of the virtual machine. When a virtual machine is suspended, the thumbnail is a screenshot of the virtual machine at the time that it was suspended.
Prerequisites
If the thumbnail bar is not visible, select View > Customize > Thumbnail Bar.
Procedure
Click a thumbnail to show the summary or console view for a virtual machine.
n
Click thumbnails to quickly switch between virtual machines.
n
To change the order of the thumbnails, change the order of the virtual machine tabs.
n
Thumbnails appear in the same order as the virtual machine tabs. To move a virtual machine tab, drag and drop it to a new location.
VMware, Inc. 33
Page 34
Using VMware Workstation Pro
To change the virtual machines that appear in the thumbnail bar, select Open Virtual Machines or
n
Folder View Virtual Machines from the thumbnail bar drop-down menu.
The drop-down menu is a down-arrow on the thumbnail bar.

Use the Status Bar

The status bar appears at the bottom of the Workstation Pro window. You can use the icons on the status bar to see Workstation Pro messages and perform actions on devices such as hard disks, CD/DVD drives, floppy drives, and network adapters. The status bar appears by default.
Procedure
Mouse over an icon on the status bar to see its name.
n
Click or right-click on a removable device icon to connect or disconnect the device or edit its settings.
n
Click the message log icon to view the message log.
n
Messages include warning information about the virtual machine. If the icon is dimmed, all messages have already been read.

Use Workstation Pro Tabs

Workstation Pro creates a tab in the right pane of the Workstation Pro window when you select an item in the library. Tabs appear by default.
Procedure
Use the links on the Home tab to create a virtual machine, open a virtual machine, connect to a remote
n
server, virtualize a physical machine, use the virtual network editor, customize Workstation Pro preferences, download software updates, and view the help system.
Use the virtual machine tabs to view virtual machine configuration information, modify virtual
n
machine hardware and option settings, and create or modify the virtual machine description.
Use the Shared VMs tab to see information about all of the shared virtual machines on the host system.
n
Use the tab for a remote host to see information about the remote host, including CPU, memory, and
n
disk usage, and the virtual machines and virtual machine tasks running on the remote host.
Select File > Close Tab to close a tab.
n

Customize the Workstation Pro Window

You can customize the appearance of the Workstation Pro window by selecting items from the View menu.
Procedure
1 Select View > Customize and select a Workstation Pro window view.
Option Description
Library
Thumbnail Bar
Toolbar
The virtual machine library appears in the left side of the window. You can use the library to view and select virtual machines, folders, and remote hosts in Workstation Pro. The library appears by default.
A thumbnail bar appears at the bottom of the window. Depending on the thumbnail bar option that is selected, the thumbnail bar shows all open virtual machines or the virtual machines in the selected folder.
A toolbar appears at the top of the window. You can use the icons on the toolbar to start and stop virtual machines, take snapshots, change the display, and perform other common tasks. The toolbar appears by default.
Page 35
Chapter 2 Installing and Using Workstation Pro
Option Description
Status Bar
Tabs
A status bar appears at the bottom of the window when a virtual machine is selected. You can use the icons on the status bar to see Workstation Pro messages and perform actions on virtual machine devices such as hard disks, CD/DVD drives, floppy drives, and network adapters. The status bar appears by default.
Workstation Pro creates a tab in the right pane when you select an item in the library. Tabs appear by default.
2 To specify which virtual machines appear in the thumbnail bar, select View > Customize > Thumbnail
Bar Options.
Option Description
Open Virtual Machines
Folder View Virtual Machines
The thumbnail bar shows thumbnails for all open virtual machines.
The thumbnail bar shows thumbnails for virtual machines in the selected folder.

Default Hot-Key Combinations

You can use keyboard shortcuts to interact with Workstation Pro and with virtual machines. Most of the available keyboard shortcuts for Workstation Pro are listed next to their associated commands in Workstation Pro menus.
Table 24. Default Hot-Key Combinations
Shortcut Action
Ctrl+G Grab input from the keyboard and mouse.
Ctrl+Alt Release the mouse cursor.
Ctrl+Alt+Insert Shut down or, depending on the guest operating system, log out of the guest operating
system. This command is received solely by the virtual machine.
Ctrl+Alt+Delete Shut down or, depending on the operating system, log out of the guest operating system.
On a Windows host, if you do not use the enhanced virtual keyboard feature, both the host operating system and the virtual machine receive this command, even when Workstation Pro has control of input. Cancel the ending of the host operating system session and return to the virtual machine to log out or shut down or perform administrative tasks.
Ctrl+Alt+Enter Enter full screen mode.
Ctrl+Alt+spacebar Send any command to the virtual machine so that Workstation Pro does not process it. Hold
down Ctrl+Alt as you press and release the spacebar, and continue to hold the Ctrl+Alt keys down as you press the next key in the combination.
Ctrl+Tab
Ctrl+Shift+Tab
Ctrl+Alt+right arrow In full screen mode, switch to the next powered-on virtual machine.
Ctrl+Alt+left arrow In full screen mode, switch to the previous powered-on virtual machine.
Ctrl+Shift+U In Unity mode, give access to the virtual machine Start or Applications menu.
(Windows hosts only) Switch among tabs.
You can change the Unity hot-key combination by modifying Unity preference settings.
You can change the default hot-key combinations by modifying Workstation Pro for common virtual machine operations to Ctrl+Shift, you press Ctrl+Shift instead of Ctrl+Alt to release control from the current virtual machine.
Page 36
Using VMware Workstation Pro

Using the Workstation Pro Online Help

The Workstation Pro online help contains information about Workstation Pro settings and common tasks. Use the online help when you need to quickly find information about Workstation Pro preferences, virtual hardware settings, and virtual machine options.
For example, if you are configuring a virtual machine and you need information about a specific hardware setting, click Help on the dialog box that contains the setting. The Help window opens and a context­sensitive help topic appears in the right pane. To see the entire help system, select Help > Help Topics (Windows host) or Help > Contents (Linux host).
36 VMware, Inc.
Page 37

Creating Virtual Machines 3

You can create a new virtual machine in Workstation Pro by using the New Virtual Machine wizard, clone an existing Workstation Pro virtual machine or virtual machine template, import third-party and Open Virtualization 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 that run on remote hosts. See Chapter 8, “Using Remote Connections and Sharing Virtual Machines,” on page 205.
This chapter includes the following topics:
“Understanding Virtual Machines,” on page 37
n
“Preparing to Create a New Virtual Machine,” on page 38
n
“Create a New Virtual Machine on the Local Host,” on page 47
n
“Cloning Virtual Machines,” on page 52
n
“Virtualize a Physical Machine,” on page 54
n
“Importing Virtual Machines,” on page 56
n
“Installing and Upgrading VMware Tools,” on page 58
n
“Virtual Machine Files,” on page 69
n

Understanding Virtual Machines

A virtual machine is a software computer that, like a physical machine, runs an operating system and applications. A virtual machine uses the physical resources of the physical machine on which it runs, which is called the host system. Virtual machines have virtual devices that provide the same functionality as physical 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 way that you manage a physical computer. For example, you install an operating system in a virtual machine in the 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.
37
Page 38
Using VMware Workstation Pro

Preparing to Create a New Virtual Machine

You use the New Virtual Machine wizard to create a new virtual machine in Workstation Pro. The wizard prompts you to make decisions about many aspects of the virtual machine. You should make these decisions before you start the New Virtual Machine wizard.

Selecting a Virtual Machine Configuration

When you start the New Virtual Machine wizard, the wizard prompts you to select a typical or custom configuration.
Typical Configuration
If you select a typical configuration, you must specify or accept defaults for a few basic virtual machine settings.
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 virtual
n
processors, and network connection type.
Custom Configuration
You must select a custom configuration if you need to perform any of the following hardware customizations.
Create a virtual machine that has a different Workstation Pro version than the default hardware
n
compatibility setting.
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.
n

Selecting the Virtual Machine Hardware Compatibility Setting

All virtual machines have a hardware version. The hardware version indicates which virtual hardware features that the virtual machine supports, such as BIOS or EFI, number of virtual slots, maximum number of CPUs, maximum memory configuration, and other hardware characteristics. The virtual machine hardware compatibility setting determines the hardware features of the virtual machine.
If you select a typical configuration, the wizard uses the default hardware compatibility setting configured in the Workstation Pro preferences. By default, the default hardware compatibility setting is the installed Workstation Pro version.
If you select a custom configuration, the New Virtual Machine wizard prompts you to select a hardware compatibility setting for the virtual machine. When you select a hardware compatibility setting, a list of the VMware products and versions that are compatible with your selection appears. Limitations and features that are not available for your selection are also listed. If a feature compatibility check box is available for your selection, you can select that check box to see a list of the additional limitations.
To deploy virtual machines to run on a different VMware product, you might need to select a hardware compatibility setting that is compatible with that product.
38 VMware, Inc.
Page 39
Chapter 3 Creating Virtual Machines

Selecting a Guest Operating System

The New Virtual Machine prompts you to select the source media for the operating system that will run inside the virtual machine. You can specify an installer disc inserted in a physical drive, an ISO image file, or you can instruct the New Virtual Machine wizard to create a virtual machine that has a blank hard disk.
If you select an installer disc or an ISO image file and the operating system supports Easy Install, the guest operating system installation is automated and VMware Tools is installed. If the installer disc or ISO image file contains a product key number and is already set up to perform an unattended installation, the only benefit of using Easy Install is the automatic installation of VMware Tools.
NOTE For remote virtual machines, you must specify whether the physical drive or ISO image file is located on the local host or remote host before you select the installer disc or ISO image file.
If you instruct the New Virtual Machine wizard to create a virtual machine that has a blank hard disk, the wizard prompts you to specify an operating system and version and you must install the guest operating system manually after the virtual machine is created. Workstation Pro uses this information to set the appropriate default values, name files associated with the virtual machine, adjust performance settings, and work around special behaviors and bugs in the guest operating system. If the operating system you plan to install is not listed in the wizard, select Other for both the operating system and version.
If you are installing an operating system that supports Easy Install but you do not want to use Easy Install, you can instruct the wizard to create a virtual machine that has a blank disk and install the guest operating system manually.
Providing Easy Install Information
When the New Virtual Wizard detects an operating system that supports Easy Install, the wizard prompts you for information about the guest operating system. After the virtual machine is created, the guest operating system installation is automated and VMware Tools is installed.
For Windows guest operating systems, you must provide the following Easy Install information.
Table 31. Easy Install Information for Windows Guests
Easy Install Prompt Description
Windows product key (Optional) Type a product key unless the installation media contains a volume
license product key. If you provide a product key here, you are not prompted to provide a product key when you install the guest operating system.
Version of Windows to install select the Windows operating system edition to install.
Full name The name to use to register the guest operating system. Do not use the name
Administrator or Guest. If you use one of these names, you must enter a different name when you install the guest operating system.
Password (Optional) The password to use for an account with Administrator permissions
on Windows operating systems other than Windows 2000. On Windows 2000, this is the password for the Administrator account. On Windows XP Home, an Administrator account without a password is created and you are automatically logged in to the guest operating system.
Log on automatically (requires a password)
(Optional) Save your login credentials and bypass the login dialog box when you power on the virtual machine. You must enter a name and password to use this feature.
For Linux guest operating systems, you must provide the following Easy Install information.
VMware, Inc. 39
Page 40
Using VMware Workstation Pro
Table 32. Easy Install Information for Linux Guests
Prompt Description
Full name The name to use to register the guest operating system, if registration is
required. Workstation Pro uses the first name to create the host name for the virtual machine.
User name Your user name. You can use lowercase letters, numbers, and dashes, but avoid
using user names that begin with a dash. Do not use the name root. Some operating systems set up sudo access for this user and other operating systems require this user to use su to obtain root privileges.
Password The password for the User name and the root user.
See “Use Easy Install to Install a Guest Operating System,” on page 49

Specifying the Virtual Machine Name and File Location

The New Virtual Machine wizard prompts you for a virtual machine name and a directory for the virtual machine files.
The name of the default directory for virtual machine files is derived from the name of the guest operating system, for example, Microsoft Windows 7 (32-bit).
For standard virtual machines, the default directory for virtual machine files is located in the virtual machine directory. For best performance, do not place the virtual machines directory on a network drive. If other users need to access the virtual machine, consider placing the virtual machine files in a location that is accessible to those users.
For shared virtual machines, the default directory for virtual machine files is located in the shared virtual machines directory. Shared virtual machine files must reside in the shared virtual machines directory.
Virtual Machines Directory
Workstation Pro stores standard virtual machines in the virtual machines directory.
The default location of the virtual machines directory depends on the host operating system.
Table 33. Default Virtual Machines Directory
Host Operating System Default Location
Windows Server 2008 R2
Windows 7
Windows 8
Windows 10
Linux
C:\Documents and Settings\username\My Documents\My Virtual Machines
username is the name of the currently logged-in user.
C:\Users\ username \Documents\Virtual Machines
username is the name of the currently logged in user.
homedir/vmware
homedir is the home directory of the currently logged in logged in user.
Shared Virtual Machines Directory
Workstation Pro stores shared virtual machines in the shared virtual machines directory, where VMware Workstation Server manages them.
The default location of the shared virtual machines directory depends on the host operating system.
40 VMware, Inc.
Page 41
Chapter 3 Creating Virtual Machines
Table 34. Default Shared Virtual Machines Directory
Host Operating System Default Shared Virtual Machines Directory
Windows Server 2008 R2
Windows 7
Windows 8
Windows 10
Linux
C:\Documents and Settings\All Users\Documents\Shared Virtual Machines
C:\Users\Public\Documents\Shared Virtual Machines
/var/lib/vmware/Shared VMs

Select the Number of Processors for a Virtual Machine

When you select a custom configuration, the New Virtual Machine wizard prompts you to specify the number of processors for the virtual machine.
Specifying multiple virtual processors is supported only on host machines that have at least two logical processors. Single-processor hosts that have hyperthreading enabled or dual-core CPUs are considered to have two logical processors. Multiprocessor hosts that have two CPUs are considered to have at least two logical processors, regardless of whether they are dual-core or have hyperthreading enabled.
For Windows virtual machines running mostly office and Internet productivity applications, using multiple virtual processors is not beneficial, so the default single virtual processor is ideal. For server workloads and data-intensive computing applications, adding extra virtual processors may provide an increase in application performance.
Application Recommended number of processors
Desktop applications 1 processor
Server operating systems 2 processors
Video encoding, modeling, and scientific 4 processors
In some circumstances, adding additional processors can decrease the overall perfomance of the virtual machine and your computer. This can occur if the operating system or application is not using the processors efficiently. In this case, reducing the number of processors is recommended.
Assigning all processors on your computer to the virtual machine results in extremely poor performance. The host operating system must continue to perform background tasks even if no applications are running. If you assign all processors to a virtual machine, this prevents important tasks from being completed.

Allocating Memory for a Virtual Machine

When you select a custom configuration, the New Virtual Machine wizard prompts you to specify the default settings for memory allocation.
Color-coded icons correspond to the maximum recommended memory, recommended memory, and guest operating system recommended minimum memory values. To adjust the memory allocated to the virtual machine, move the slider along the range of values. The high end of the range is determined by the amount of memory allocated to all running virtual machines. If you allow virtual machine memory to be swapped, this value changes to reflect the specified amount of swapping.
On 64-bit hosts, the maximum amount of memory for each virtual machine is 64GB. On 32-bit hosts, the maximum amount of memory for each virtual machine is 8GB. You cannot power on virtual machines that are configured to use more than 8GB of memory on 32-bit hosts. Memory management limitations on 32-bit operating systems cause virtual machine memory to overcommit, which severely affects system performance.
Page 42
Using VMware Workstation Pro
The total amount of memory that you can assign to all virtual machines running on a single host machine is limited only by the amount of RAM on the host machine.
You can change the amount of memory available to all virtual machines by modifying Workstation Pro memory settings.

Selecting the Network Connection Type for a Virtual Machine

When you select a custom configuration, the New Virtual Machine wizard prompts you to configure the network connection type for the virtual machine.
If you are creating a remote virtual machine, you must select either a custom network or no network connection.
Table 35. Network Connection Settings
Setting Description
Use bridged networking Configure a bridged network connection for the virtual machine. With bridged
networking, the virtual machine has direct access to an external Ethernet network. The virtual machine must have its own IP address on the external network.
If your host system is on a network and you have a separate IP address for your virtual machine (or can get an IP address from a DHCP server), select this setting. Other computers on the network can then communicate directly with the virtual machine.
Use network address translation (NAT)
Use host-only networking Configure a host-only network connection for the virtual machine. Host-only
Do not use a network connection Do not configure a network connection for the virtual machine.
Custom (Windows host) or Named Network (Linux host)
Configure a NAT connection for the virtual machine. With NAT, the virtual machine and the host system share a single network identity that is not visible outside the network.
Select NAT if you do not have a separate IP address for the virtual machine, but you want to be able to connect to the Internet.
networking provides a network connection between the virtual machine and the host system, using a virtual network adapter that is visible to the host operating system.
With host-only networking, the virtual machine can communicate only with the host system and other virtual machines in the host-only network. Select host-only networking to set up an isolated virtual network.
(Remote virtual machine only) Select a specific virtual network.
See Chapter 7, “Configuring Network Connections,” on page 171 for information about virtual switches, virtual network adapters, the virtual DHCP server, and the NAT device.

Selecting the I/O Controller Type for a Virtual Machine

When you select a custom configuration, the New Virtual Machine wizard prompts you to select the I/O controller type for the virtual machine.
Workstation Pro installs an IDE controller and a SCSI controller in the virtual machine. SATA controllers are supported for some guest operating systems. The IDE controller is always ATAPI. For the SCSI controller, you can choose BusLogic, LSI Logic, or LSI Logic SAS. If you are creating a remote virtual machine on an ESX host, you can also select a VMware Paravirtual SCSI (PVSCSI) adapter.
BusLogic and LSI Logic adapters have parallel interfaces. The LSI Logic SAS adapter has a serial interface. The LSI Logic adapter has improved performance and works better with generic SCSI devices. The LSI Logic adapter is also supported by ESX Server 2.0 and later.
42 VMware, Inc.
Page 43
Chapter 3 Creating Virtual Machines
PVSCSI adapters are high-performance storage adapters that can provide greater throughput and lower CPU utilization. They are best suited for environments where hardware or applications drive a very high amount of I/O throughput, such as SAN environments. PVSCSI adapters are not suited for DAS environments.
NOTE The choice of SCSI controller does not affect whether the virtual disk can be an IDE, SCSI, or SATA disk.
Some guest operating systems, such as Windows XP, do not include a driver for the LSI Logic or LSI Logic SAS adapter. You must download the driver from the LSI Logic Web site. Drivers for a Mylex (BusLogic) compatible host bus adapter are not obvious on the LSI Logic Web site. Search the support area for the numeric string in the model number, for example, search for 958 for BT/KT-958 drivers.
See the VMware Guest Operating System Installation Guide for driver support information. For guest operating system support information and known issues, as well as SATA support, see the online Compatibility Guide on the VMware Web site.

Selecting a Hard Disk for a Virtual Machine

When you select a custom configuration, the New Virtual Machine wizard prompts you to configure a hard disk for the virtual machine.
Virtual hard disks are the best choice for most virtual machines because they are easy to set up and can be moved to new locations on the same host system or to different host systems. In a typical configuration, Workstation Pro creates a new virtual hard disk for the virtual machine.
In some cases, you might want to select an existing virtual hard disk or give the virtual machine access to a physical hard disk or unused partition on the host system.
Selecting the Virtual Hard Disk Type for a Virtual Machine on page 44
n
If you instruct the New Virtual Machine wizard to create a new virtual disk during a custom configuration, the wizard prompts you to select the virtual hard disk type for the virtual machine.
Selecting the Disk Mode on page 44
n
When you select a custom configuration on a Linux host, you can use the New Virtual Machine wizard to configure normal or independent mode for a disk.
Prepare to Use a Physical Disk or Unused Partition on page 44
n
You must perform certain tasks before you configure a virtual machine to use a physical disk or unused partition on the host system.
Specifying Disk Capacity for a Virtual Machine on page 45
n
If you instruct the New Virtual Machine wizard to create a new virtual disk during a custom configuration, the wizard prompts you to set the size of the virtual disk and specify whether to split the disk into multiple virtual disk (.vmdk) files.
Specifying the Name and Location of Virtual Disk Files on page 46
n
During a custom configuration, if you instruct the New Virtual Machine wizard to create a new virtual disk, use an existing virtual disk, or use a physical disk, the wizard prompts you for the name and location of a virtual disk (.vmdk) file.
Page 44
Using VMware Workstation Pro
Selecting the Virtual Hard Disk Type for a Virtual Machine
If you instruct the New Virtual Machine wizard to create a new virtual disk during a custom configuration, the wizard prompts you to select the virtual hard disk type for the virtual machine.
You can set up a virtual disk as an IDE disk for any guest operating system. You can set up a virtual disk as a SCSI disk for any guest operating system that has a driver for the LSI Logic or BusLogic SCSI controller available in the virtual machine. You can set up a virtual disk as SATA for some guest operating systems.
You can change virtual disk node and mode settings after a virtual machine is created.
Selecting the Disk Mode
When you select a custom configuration on a Linux host, you can use the New Virtual Machine wizard to configure normal or independent mode for a disk.
In normal mode, disks are included in snapshots that you take of the virtual machine. If you do not want data on the disk to be recorded when you take a snapshot of the virtual machine, configure the disk to be independent.
If you configure a disk to be independent, you can further specify whether changes you make to the disk are to persist or be discarded when you power off the virtual machine or restore a snapshot.
You can also exclude virtual disks from snapshots by modifying virtual machine settings.
Prepare to Use a Physical Disk or Unused Partition
You must perform certain tasks before you configure a virtual machine to use a physical disk or unused partition on the host system.
You must perform these tasks before you run the New Virtual Machine wizard to add a physical disk to a new virtual machine, and before you add a physical disk to an existing virtual machine.
Procedure
1 If a partition is mounted by the host or in use by another virtual machine, unmount it.
The virtual machine and guest operating system access a physical disk partition while the host continues to run its operating system. Corruption is possible if you allow the virtual machine to modify a partition that is simultaneously mounted on the host operating system.
Option Description
The partition is mapped to a Windows Server 2008 R2 host
The partition is mapped to a Windows 7, Windows 8, or Windows 10 host
a Select Start > Settings > Control Panel > Administrative Tools >
Computer Management > Storage > Disk Management.
b Select a partition and select Action > All Tasks > Change Drive Letter
and Paths.
c Click Remove.
a Select Start > Control Panel.
b In the menu bar, click the arrow next to Control Panel.
c From the drop-down menu, select All Control Panel Items >
Administrative Tools > Computer Management > Storage > Disk Management (Local).
d Right-click a partition and choose Change Drive Letter and Paths.
e Click Remove and OK.
44 VMware, Inc.
Page 45
Chapter 3 Creating Virtual Machines
2 Check the guest operating system documentation regarding the type of partition on which the guest
operating system can be installed.
On Windows 7 hosts, you cannot use the system partition, or the physical disk that contains it, in a virtual machine. DOS, Windows 95, and Windows 98 operating systems must be installed on the first primary partition. Other operating systems, such as Linux, can be installed on a primary or an extended partition on any part of the drive.
3 If the physical partition or disk contains data that you need in the future, back up the data.
4 If you use a Windows host IDE disk in a physical disk configuration, verify that it is not configured as
the slave on the secondary IDE channel if the master on that channel is a CD-ROM drive.
5 On a Linux host, set the device group membership or device ownership appropriately.
a Verify that the master physical disk device or devices are readable and writable by the user who
runs Workstation Pro.
Physical devices, such as /dev/hda (IDE physical disk) and /dev/sdb (SCSI physical disk), belong to group-id disk on most distributions. If this is the case, you can add Workstation Pro users to the
disk group. Another option is to change the owner of the device. Consider all the security issues
involved in this option.
b Grant Workstation Pro users access to all /dev/hd[abcd] physical devices that contain operating
systems or boot managers.
When permissions are set correctly, the physical disk configuration files in Workstation Pro control access. This reliability provides boot managers access to configuration files and other files they might need to boot operating systems. For example, LILO needs to read /boot on a Linux partition to boot a non-Linux operating system that might be on another drive.
Specifying Disk Capacity for a Virtual Machine
If you instruct the New Virtual Machine wizard to create a new virtual disk during a custom configuration, the wizard prompts you to set the size of the virtual disk and specify whether to split the disk into multiple virtual disk (.vmdk) files.
A virtual disk is made up of one or more virtual disk files. Virtual disk files store the contents of the virtual machine hard disk drive. Almost all of the file content is virtual machine data. A small portion of the file is allotted to virtual machine overhead. If the virtual machine is connected directly to a physical disk, the virtual disk file stores information about the partitions that the virtual machine is allowed to access.
You can set a size between 0.001 GB and 8 TB for a virtual disk file. You can also select whether to store a virtual disk as a single file or split it into multiple files.
Select Split virtual disk into multiple files if the virtual disk is stored on a file system that has a file size limitation. When you split a virtual disk less than 950 GB, a series of 2-GB virtual disk files are created. When you split a virtual disk greater than 950 GB, two virtual disk files are created. The maximum size of the first virtual disk file is 1.9 TB and the second virtual disk file stores the rest of the data.
For custom configurations, you can select Allocate all disk space now to allocate all disk space immediately rather than allow the disk space to gradually grow to the maximum amount. Allocating all the disk space immediately might provide better performance, but it is a time-consuming operation that requires as much physical disk space as you specify for the virtual disk. If you allocate all the disk space immediately, you cannot use the shrink disk feature.
After you create a virtual machine, you can edit virtual disk settings and add additional virtual disks.
Page 46
Using VMware Workstation Pro
Disk Size Compatibility
The size of a virtual disk is limited to 8 TBs. However, your hardware version, bus type, and controller type also impact the size of your virtual disks.
Workstation Hardware Version Bus Type Controller Type Maximum Disk Size
10, 11, 12 IDE ATAPI 8192 GB (8TB)
10, 11, 12 SCSI BusLogic 2040 GB (2TB)
10, 11, 12 SCSI LSI Logic 8192 GB (8TB)
10, 11, 12 SCSI LSI Logic SAS 8192 GB (8TB)
10, 11, 12 SATA AHCI 8192 GB (8TB)
9, 8, 7, 6.5 All All 2040 GB (2TB)
6.0, 5 All All 950 GB
To discover your controller type, open the virtual machine .vmx file. The value of the setting
scsi0.virtualDev determines your controller type.
Value Controller Type
Blank or not present BusLogic
lsilogic LSI Logic
lsisas1068 LSI Logic SAS
Specifying the Name and Location of Virtual Disk Files
During a custom configuration, if you instruct the New Virtual Machine wizard to create a new virtual disk, use an existing virtual disk, or use a physical disk, the wizard prompts you for the name and location of a virtual disk (.vmdk) file.
Table 36. Required Information for Each Disk Type
Type of Disk Description
New virtual disk If you specified that all disk space should be stored in a
single file, Workstation Pro uses the filename that you provide to create one 40GB disk file. If you specified that disk space should be stored in multiple files, Workstation Pro generates subsequent filenames by using the filename that you provide. If you specified that files can increase in size, subsequent filenames include an s in the file number, for example, Windows 7-s001.vmdk. If you specified that all disk space should be allocated when the virtual disk is created, subsequent filenames include an f in the file number, for example, Windows 7-f001.vmdk.
Existing virtual disk You select the name and location of an existing virtual disk
file.
Physical disk After the wizard prompts you to select a physical device
and specify whether to use the entire disk or individual partitions, you must specify a virtual disk file. Workstation Pro uses this virtual disk file to store partition access configuration information for the physical disk.
NOTE Earlier VMware products use the .dsk extension for virtual disk files.
Page 47
Chapter 3 Creating Virtual Machines

Customizing Virtual Machine Hardware

You can click Customize Hardware on the last page of the New Virtual Machine wizard to customize the virtual machine hardware.
You can change the default hardware settings, including memory allocation, number of virtual CPUs, CD/DVD and floppy drive settings, and the network connection type.

Worksheet for Creating a Virtual Machine

You can print this worksheet and write down the values to specify when you run the New Virtual Machine wizard.
Table 37. Worksheet: Creating a Virtual Machine
Option Fill In Your Value Here
Hardware compatibility setting
Guest operating system source
Guest operating system type (for manual installation)
Easy Install information for Windows guests
Product key
n
Operating system version
n
Full name
n
Password
n
Credentials for automatic login
n
Easy Install information for Linux guests
Full name
n
User name
n
Password
n
Virtual machine name
Virtual machine location
Number of processors
Memory allocation
Network connection type
I/O controller type
Hard disk
Virtual hard disk type
Disk capacity
Virtual disk file name and location

Create a New Virtual Machine on the Local Host

You create a new virtual machine on the local host system by running the New Virtual Machine wizard.
You can also use the New Virtual Machine wizard to create shared virtual machines, which can be used by remote users, and remote virtual machines, which run on remote hosts. See Chapter 8, “Using Remote
Connections and Sharing Virtual Machines,” on page 205.
Page 48
Using VMware Workstation Pro
Prerequisites
Verify that you have the information the New Virtual Machine wizard requires to create a virtual
n
machine. See “Preparing to Create a New Virtual Machine,” on page 38.
Verify that the guest operating system you plan to install is supported. See the online VMware
n
Compatibility Guide on the VMware Web site.
See the VMware Guest Operating System Installation Guide for information about the guest operating
n
system that you plan to install.
If you are installing the guest operating system from an installer disc, insert the installer disc in the CD-
n
ROM drive in the host system.
If you are installing the guest operating system from an ISO image file, verify that the ISO image file is
n
in a directory that is accessible to the host system.
If the virtual machine will use a physical disk or unused partition on the host system, perform the
n
appropriate preparation tasks. See “Prepare to Use a Physical Disk or Unused Partition,” on page 44.
Procedure
1 Start the New Virtual Machine wizard.
Option Description
Windows host
Linux host
2 Select the configuration type.
If the host is not connected to a remote server, select File > New
n
Virtual Machine.
If the host is connected to a remote server, select File > New Virtual
n
Machine > On this Computer.
Select File > New Virtual Machine.
Option Description
Typical
Custom
The wizard prompts you to specify or accept defaults for basic virtual machine settings. The typical configuration type is appropriate in most instances.
You must select the custom configuration type to make a different virtual machine version than the default hardware compatibility setting, specify the I/O adapter type for SCSI adapters, specify whether to create an IDE, SCSI, or SATA virtual disk, use a physical disk instead of a virtual disk, use an existing virtual disk, or allocate all virtual disk space rather than let disk space gradually grow to the maximum disk size.
3 If you selected the Custom option, select a hardware compatibility setting.
The hardware compatibility setting determines the hardware features of the virtual machine.
4 Select the source of the guest operating system.
Option Description
Use a physical disc
Use an ISO image
Install the guest operating system later
Select the physical drive where you inserted the installation disc.
Type or browse to the location of the ISO image file for the guest operating system.
Create a virtual machine that has a blank disk. You must install the guest operating system manually after you create the virtual machine.
48 VMware, Inc.
Page 49
Chapter 3 Creating Virtual Machines
5 Specify information about the guest operating system.
Option Description
You are using Easy Install
You are not using Easy Install
Type the Easy Install information for the guest operating system.
Select the guest operating system type and version. If the guest operating system is not listed, select Other.
6 Type a virtual machine name and type or browse to the directory for the virtual machine files.
7 Follow the prompts to configure the virtual machine.
If you selected a typical configuration, the wizard prompts you to configure the virtual disk size and specify whether the disk should be split into multiple files. If you selected a custom configuration, the wizard prompts you to configure the virtual machine processors, memory allocation, networking configuration, I/O controller types, virtual disk type and mode, and virtual disk.
8 (Optional) Click Customize Hardware to customize the hardware configuration.
You can also modify virtual hardware settings after you create the virtual machine.
9 (Optional) Select Power on this virtual machine after creation to power on the virtual machine after
you create it.
This option is not available if you are installing the guest operating system manually.
10 Click Finish to create the virtual machine.
If you are using Easy Install, guest operating system installation begins when the virtual machine powers on. The guest operating system installation is automated and typically runs without requiring any input from you. After the guest operating system is installed, Easy Install installs VMware Tools.
If you are not using Easy Install, the virtual machine appears in the library.
What to do next
If you used Easy Install and the virtual machine did not power on when you finished the New Virtual Machine wizard, power on the virtual machine to start the guest operating system installation. See “Use
Easy Install to Install a Guest Operating System,” on page 49.
If you did not use Easy Install, install the guest operating system manually. See “Install a Guest Operating
System Manually,” on page 50.

Use Easy Install to Install a Guest Operating System

When you use Easy Install, you usually do not need to provide information during guest operating system installation.
If you did not provide all of the Easy Install information in the New Virtual Machine wizard, you might be prompted for a product key, username, or password.
Also, if the guest operating system installation consists of multiple discs or ISO image files, the installer might prompt you for the next disk.
Procedure
If the installer prompts you for a product key, username, or password, click in the virtual machine
n
window and type the required information.
Mouse and keyboard input are captured by the virtual machine.
If you are using physical discs and the installer prompts you for the next disk, use the CD-ROM or DVD
n
drive on the host system.
VMware, Inc. 49
Page 50
Using VMware Workstation Pro
If you are using multiple ISO image files and the installer prompts you for the next disk, select the next
n
ISO image file.
Option Description
Windows host
Linux host
Click Change Disk and browse to the next ISO image file.
a Select VM > Removable Devices > CD/DVD > Settings and browse to
the next ISO image file.
b Select Connected.
c Click Save.

Install a Guest Operating System Manually

Installing a guest operating system in a virtual machine is similar to installing an operating system on a physical computer. If you do not use Easy Install when you create a virtual machine in the New Virtual Machine wizard, you must install the guest operating system manually.
You can install a guest operating system from an installer disc or ISO image file. You can also use a PXE server to install the guest operating system over a network connection. If the host configuration does not permit the virtual machine to boot from an installer disc, you can create an ISO image file from the installer disc.
Prerequisites
Verify that the operating system is supported. See the online VMware Compatibility Guide on the
n
VMware Web site.
See the VMware Guest Operating System Installation Guide for information on the guest operating system
n
that you are installing.
Procedure
1 If you are installing the guest operating system from an installer disc, configure the virtual machine to
use a physical CD-ROM or DVD drive and configure the drive to connect at power on.
a Select the virtual machine and select VM > Settings.
b On the Hardware tab, select CD/DVD drive.
c Select Connect at power on.
d (Remote virtual machine only) Select the location of the CD-ROM or DVD drive.
e Select Use physical drive and select a the drive.
f Click OK to save your changes.
2 If you are installing the guest operating system from an ISO image file, configure the CD/DVD drive in
the virtual machine to point to the ISO image file and configure the drive to connect at power on.
a Select the virtual machine and select VM > Settings.
b On the Hardware tab, select CD/DVD drive.
c Select Connect at power on.
d (Remote virtual machine only) Select the location of the ISO image file.
e Select Use ISO image file and browse to the location of the ISO image file.
f Click OK to save your changes.
3 If you are installing the guest operating system from an installer disc, insert the disc in the CD-ROM or
DVD drive.
Page 51
Chapter 3 Creating Virtual Machines
4 Power on the virtual machine.
5 Follow the installation instructions provided by the operating system vendor.
6 If the operating system consists of multiple installer discs and you are prompted to insert the next disc,
insert the next disc in the physical drive.
7 If the operating system consists of multiple ISO image files, select the image file for the next CD.
a Select VM > Removable Devices > CD/DVD > Disconnect and disconnect from the current ISO
image file.
b Select VM > Removable Devices > CD/DVD > Settings and select the next ISO image file.
c Select Connected and click OK.
8 Use the standard tools in the operating system to configure its settings.
What to do next
Install VMware Tools. You should install VMware Tools before you activate the license for the operating system. See “Installing VMware Tools,” on page 59.

Installing a Guest Operating System on a Physical Disk or Unused Partition

You can install a guest operating system directly on a physical disk or unused partition on the host system.
A physical disk directly accesses an existing local disk or partition. You can use physical disks to run one or more guest operating systems from existing disk partitions.
Workstation Pro supports physical disks up to 2 TB capacity. Booting from an operating system already set up on an existing SCSI disk or partition is not supported.
Running an operating system natively on the host system and switching to running it inside a virtual machine is similar to pulling the hard drive out of one computer and installing it in a second computer that has a different motherboard and hardware. The steps you take depend on the guest operating system in the virtual machine. In most cases, a guest operating system that is installed on a physical disk or unused partition cannot boot outside of the virtual machine, even though the data is available to the host system. See the Dual-Boot Computers and Virtual Machines technical note on the VMware Web site for information about using an operating system that can also boot outside of a virtual machine.
After you configure a virtual machine to use one or more partitions on a physical disk, do not modify the partition tables by running fdisk or a similar utility in the guest operating system. If you use fdisk or a similar utility on the host operating system to modify the partition table of the physical disk, you must recreate the virtual machine physical disk. All files that were on the physical disk are lost when you modify the partition table.
IMPORTANT You cannot use a physical disk to share files between the host system and a guest operating system. Making the same partition visible to both the host system and a guest operating system can cause data corruption. Instead, use shared folder to share files between the host system and a guest operating system.

Create a Virtual Machine Shortcut

You can use a shortcut to select a virtual machine from your desktop.
Prerequisites
A virtual machine must be present in the Workstation Pro Virtual Machine Library.
This feature is available on Windows host systems only.
VMware, Inc. 51
Page 52
Using VMware Workstation Pro
Procedure
1 Select a virtual machine from the virtual machine library.
2 Drag the virtual machine to the host desktop or to a folder.
A shortcut is created for the virtual machine.
You can select the virtual machine by double-clicking the shortcut.

Cloning Virtual Machines

Installing a guest operating system and applications can be time consuming. With clones, you can make many copies of a virtual machine from a single installation and configuration process. Cloning a virtual machine is faster and easier than copying it.
Clones are useful when you must deploy many identical virtual machines to a group. For example, an MIS department can clone a virtual machine that has a suite of preconfigured office applications for each employee. You can also configure a virtual machine that has a complete development environment and then clone it repeatedly as a baseline configuration for software testing.
The existing virtual machine is called the parent virtual machine. When the cloning operation is complete, the clone becomes a separate virtual machine.
Changes made to a clone do not affect the parent virtual machine, and changes made to the parent virtual machine do not appear in a clone. The MAC address and UUID for a clone are different from the parent virtual machine.
Using Linked Clones on page 52
n
A linked clone is a copy of a virtual machine that shares virtual disks with the parent virtual machine in an ongoing manner.
Using Full Clones on page 53
n
A full clone is a complete and independent copy of a virtual machine. It shares nothing with the parent virtual machine after the cloning operation. Ongoing operation of a full clone is entirely separate from the parent virtual machine.
Enable Template Mode for a Parent Virtual Machine of Linked Clones on page 53
n
To prevent the parent virtual machine for a linked clone from being deleted, you can designate the parent as a template. When template mode is enabled, the virtual machine, and snapshots of the virtual machine, cannot be deleted.
Clone a Virtual Machine on page 53
n
The Clone Virtual Machine wizard guides you through the process of cloning a virtual machine. You do not need to locate and manually copy the parent virtual machine files.

Using Linked Clones

A linked clone is a copy of a virtual machine that shares virtual disks with the parent virtual machine in an ongoing manner.
Because a linked clone is made from a snapshot of the parent, disk space is conserved and multiple virtual machines can use the same software installation. All files available on the parent at the moment you take the snapshot continue to remain available to the linked clone.
Ongoing changes to the virtual disk of the parent do not affect the linked clone, and changes to the disk of the linked clone do not affect the parent. A linked clone must have access to the parent. Without access to the parent, you cannot use a linked clone.
Page 53
Chapter 3 Creating Virtual Machines
Because linked clones are created swiftly, you can create a unique virtual machine for each task. You can also share a virtual machine with other users by storing the virtual machine on your local network where other users can quickly make a linked clone. For example, a support team can reproduce a bug in a virtual machine, and an engineer can quickly make a linked clone of that virtual machine to work on the bug.
You can make a linked clone from a linked clone, but the performance of the linked clone degrades. If you make a full clone from a linked clone, the full clone is an independent virtual machine that does not require access to the linked clone or its parent. You should make a linked clone of the parent virtual machine, if possible.
IMPORTANT You cannot delete a linked clone snapshot without destroying the linked clone. You can safely delete the snapshot only if you also delete the clone that depends on it.

Using Full Clones

A full clone is a complete and independent copy of a virtual machine. It shares nothing with the parent virtual machine after the cloning operation. Ongoing operation of a full clone is entirely separate from the parent virtual machine.
Because a full clone does not share virtual disks with the parent virtual machine, full clones generally perform better than linked clones. Full clones take longer to create than linked clones. Creating a full clone can take several minutes if the files involved are large.
Because a full clone duplicates only the state of the virtual machine at the instant of the cloning operation, it does not have access to snapshots of the parent virtual machine.

Enable Template Mode for a Parent Virtual Machine of Linked Clones

To prevent the parent virtual machine for a linked clone from being deleted, you can designate the parent as a template. When template mode is enabled, the virtual machine, and snapshots of the virtual machine, cannot be deleted.
NOTE You cannot enable template mode for a shared or remote virtual machine.
Prerequisites
If the parent does not have at least one snapshot, create a snapshot. See “Taking Snapshots of Virtual
Machines,” on page 103.
Procedure
1 Select the virtual machine to use as a parent of the linked clone and select VM > Settings.
2 On the Options tab, select Advanced.
3 Select Enable Template mode (to be used for cloning) and click OK.

Clone a Virtual Machine

The Clone Virtual Machine wizard guides you through the process of cloning a virtual machine. You do not need to locate and manually copy the parent virtual machine files.
Prerequisites
Familiarize yourself with the different types of clones. See “Using Full Clones,” on page 53 and “Using
n
Linked Clones,” on page 52.
Run a defragmentation utility in the guest operating system to defragment the drives on the parent
n
virtual machine.
Page 54
Using VMware Workstation Pro
If the parent virtual machine is a Workstation 4.x and Workstation 4.x-compatible virtual machine,
n
upgrade it to Workstation 5.x or later.
If you are creating a linked clone, enable template mode for the parent virtual machine. See “Enable
n
Template Mode for a Parent Virtual Machine of Linked Clones,” on page 53.
Power off the parent virtual machine.
n
Procedure
1 Select the parent virtual machine and select VM > Manage > Clone.
2 Select the state of the parent from which you want to create a clone.
You can create a clone from the current state of the parent virtual machine or from an existing snapshot. If you select the current state, Workstation Pro creates a snapshot of the parent virtual machine before cloning it.
NOTE You cannot clone from the current state if template mode is enabled for the parent virtual machine.
3 Specify whether to create a linked clone or a full clone.
4 Type a name and a location for the cloned virtual machine.
5 Click Finish to create the clone and Close to exit the wizard.
A full clone can take several minutes to create, depending on the size of the virtual disk that is being duplicated.
6 If the parent virtual machine uses a static IP address, change the static IP address of the clone before the
clone connects to the network to prevent IP address conflicts.
Although the wizard creates a new MAC address and UUID for the clone, other configuration information, such as the virtual machine name and static IP address configuration, is identical to that of the parent virtual machine.
The summary view for a linked clone shows the path to the virtual machine configuration (.vmx) file of the parent virtual machine.

Virtualize a Physical Machine

You can create a virtual machine from a Windows physical machine in Workstation Pro. When you virtualize a physical machine, you capture all of the applications, documents, and settings on the physical machine in a new virtual machine. Workstation Pro must be running on a Windows host system to use this feature.
Prerequisites
Verify that the physical machine that you want to virtualize is running Windows. You cannot create a
n
virtual machine from a non-Windows physical machine in Workstation Pro.
Verify that you have administrative access on the physical machine that you want to virtualize and on
n
the Workstation Pro host system.
Verify that the Workstation Pro host system has network access to the physical machine that you want
n
to virtualize.
Verify that on the Workstation Pro host system you have disabled User Account Control (UAC). For
n
instructions, see “Prepare a Windows Physical Machine for Virtualization,” on page 55.
Turn off firewall applications running on the physical machine that you want to virtualize.
n
Page 55
Chapter 3 Creating Virtual Machines
Prepare the physical machine for virtualization. See “Prepare a Windows Physical Machine for
n
Virtualization,” on page 55.
Procedure
1 Power on the physical machine that you want to virtualize.
2 On the Windows host system, in Workstation Pro, select File > Virtualize a Physical Machine.
If you have never virtualized a physical machine or imported a third-party virtual machine in Workstation Pro, you need to download and install VMware vCenter Converter Standalone. After the VMware vCenter Converter Standalone installation is finished, you must restart the virtualization wizard.
3 Type the hostname or IP address, user name, and password for the physical machine that you want to
virtualize.
You must use the Administrator account or a user account that is a member of the local Administrators group.
4 Type a name for the new virtual machine and specify a location on the host system in which to store the
virtual machine files.
5 Type the user name and password for your user account on the host system.
6 Click Finish to create a virtual machine from the physical machine.
The amount of time required to create the virtual machine depends on the size of the hard disk on the physical machine.
VMware Tools installation begins the first time you power on the new virtual machine.

Prepare a Windows Physical Machine for Virtualization

To avoid problems related to permissions and network access, you must perform certain steps to prepare a Windows physical machine before you run the Virtualize a Physical Machine wizard.
Procedure
Disable User Account Control (UAC) on the Windows physical machine.
u
On Windows Vista, open the User Accounts control panel, select Turn User Account Control On
n
or Off, and deselect Use User Account Control (UAC) to help protect your computer.
On Windows 7 or later, open the Change User Account Control Settings control panel and drag
n
the slider to Never notify.

Troubleshoot Windows Authentication Problems During Physical Machine Virtualization

User authentication fails when the Virtualize a Physical Machine wizard attempts to connect a Windows physical machine.
Problem
After you provide user credentials for the physical machine, the Virtualize a Physical Machine wizard reports that your user credentials are incorrect or you have insufficient permissions to connect to the physical machine.
Cause
Simple file sharing or User Account Control (UAC) is enabled on the physical machine.
VMware, Inc. 55
Page 56
Using VMware Workstation Pro
Solution
Perform the steps in “Prepare a Windows Physical Machine for Virtualization,” on page 55 and rerun the Virtualize a Physical Machine wizard.

Troubleshoot Windows Activation Problems

A virtual machine that you create from a physical machine prompts you to activate Windows when you use it in Workstation Pro.
Problem
After you create a virtual machine from a Windows Vista or Windows 7 physical machine, or from a physical PC that came with Windows preinstalled, you were required to reactivate Windows in the virtual machine.
Cause
When you create a virtual machine from a Windows Vista or Windows 7 physical machine, the operating system detects that the computer hardware has changed. When you make a significant hardware change, Microsoft requires you to activate Windows again.
The OEM versions of Windows that are preinstalled on some new computers are customized for those computers. OEM licenses of Windows are not transferrable.
Solution
Any virtual machine that was created from a physical machine that had its Windows license key successfully activated needs to be reactivated when you run it in Workstation Pro.
The activation process in Windows Vista and Windows 7 is different from the Windows XP activation process. In Windows 7, retail activation keys are good for only one use. If you enter the same activation key in Workstation Pro that you used previously, you cannot successfully activate the virtual machine.
The activation wizard tells you that the activation key was already used and prompts you to call the Microsoft activation hotline to get a second key. If you did not previously call the hotline for the same license key, you should receive a new activation key. Your call is not transferred to an operator unless you call repeatedly for the same key.
See the Microsoft Web site for more information about why reactivation is necessary.

Importing Virtual Machines

You can import virtual machines in other formats into Workstation Pro.

Import a Windows XP Mode Virtual Machine

You can import a Windows XP Mode virtual machine and run it in Workstation Pro. When you import a Windows XP Mode virtual machine, Workstation Pro creates a new virtual machine in VMware runtime (.vmx) format.
You can power on only one Windows XP Mode virtual machine at a time in Workstation Pro. If you move a Windows XP Mode virtual machine to another host system, it becomes a new virtual machine and you must activate it.
NOTE Changes made to the original Windows XP Mode virtual machine through Virtual PC do not affect the virtual machine imported in Workstation Pro.
56 VMware, Inc.
Page 57
Chapter 3 Creating Virtual Machines
Prerequisites
Verify that the Windows 7 Professional, Enterprise, or Ultimate edition operating system is running on
n
the host system. Importing Windows XP Mode virtual machines is not supported on Linux host systems or on host systems that are running other versions of Windows.
Download and install the Windows XP Mode virtual machine on the host system.
n
Procedure
1 Select File > Import Windows XP Mode VM, or select File > Open and browse to the virtual machine
configuration (.vmc) file.
If you have never virtualized a physical machine or imported a third-party virtual machine in Workstation Pro, you need to download and install VMware vCenter Converter Standalone. After the VMware vCenter Converter Standalone installation is finished, you must restart the import.
2 Type a name for the new virtual machine, type or browse to the directory for the virtual machine files,
and click Import.
Workstation Pro begins importing the Windows XP Mode virtual machine.
After Workstation Pro successfully imports the Windows XP Mode virtual machine, a new virtual machine appears in the virtual machine library.

Import an Open Virtualization Format Virtual Machine

You can import an Open Virtualization Format (OVF) virtual machine and run it in Workstation Pro. Workstation Pro converts the virtual machine from OVF format to VMware runtime (.vmx) format. You can import both .ovf and .ova files.
OVF is a platform-independent, efficient, extensible, and open packaging and distribution format for virtual machines. For example, you can import OVF virtual machines exported from VMware Fusion™ or Oracle VM VirtualBox into Workstation Pro. You can import OVF 1.0 and later files only.
You can also use the standalone OVF Tool to convert an OVF virtual machine to VMware runtime format. The standalone version of the OVF Tool is installed in the Workstation Pro installation directory under
OVFTool. See the OVF Tool User Guide on the VMware Web site for information on using the OVF Tool.
Procedure
1 In Workstation Pro, select File > Open.
2 Browse to the .ovf or .ova file and click Open.
3 Type a name for the virtual machine, type or browse to the directory for the virtual machine files, and
click Import.
Workstation Pro performs OVF specification conformance and virtual hardware compliance checks. A status bar indicates the progress of the import process.
4 If the import fails, click Retry to try again, or click Cancel to cancel the import.
If you retry the import, Workstation Pro relaxes the OVF specification conformance and virtual hardware compliance checks and you might not be able to use the virtual machine in Workstation Pro.
After Workstation Pro successfully imports the OVF virtual machine, the virtual machine appears in the virtual machine library.
VMware, Inc. 57
Page 58
Using VMware Workstation Pro

Import a Windows Virtual PC Virtual Machine

You can import a Windows Virtual PC virtual machine and run it in Workstation Pro. Workstation Pro converts the virtual machine from Virtual PC (.vmc) format to VMware runtime (.vmx) format. This feature is supported only on Windows host systems.
Prerequisites
Download and install the Virtual PC virtual machine on the Windows host system.
Procedure
1 In Workstation Pro, select File > Open.
If you have never imported a third-party virtual machine or virtualized a physical machine in Workstation Pro, Workstation Pro installs VMware vCenter Converter Standalone. After the installation is finished, you must restart the import.
2 Browse to the .vmc file and click Open.
3 Type a name for the virtual machine, type or browse to the directory for the virtual machine files, and
click Import.
After Workstation Pro successfully imports the Virtual PC virtual machine, the virtual machine appears in the virtual machine library.

Installing and Upgrading VMware Tools

Installing VMware Tools is part of the process of creating a new virtual machine. Upgrading VMware Tools is part of the process of keeping virtual machines up to current standards.
For the best performance and latest updates, install or upgrade VMware Tools to match the version of Workstation Pro that you are using. Other compatibility options are also available.
For more information about using VMware Tools, see Installing and Configuring VMware Tools at
http://www.vmware.com/pdf/vmware-tools-installation-configuration.pdf .
Installing VMware Tools on page 59
n
Although your guest operating systems can run without VMware Tools, many VMware features are not available until you install VMware Tool. When you install VMware Tools, the utilities in the tools suite enhances the performance of your virtual machine’s guest operating system and improves the management of your virtual machines.
Upgrading VMware Tools on page 60
n
You can upgrade VMware Tools manually, or you can configure virtual machines to check for and install newer versions of VMware Tools.
Configure Automatic Software Updates on page 60
n
You can configure Workstation Pro to automatically download software updates, including new versions of VMware Tools. When automatic software updates are enabled, Workstation Pro always includes the latest support for guest operating systems and virtual machines always have the latest version of VMware Tools.
Configure VMware Tools Updates for a Specific Virtual Machine on page 61
n
You can configure virtual machines that have Windows or Linux guest operating systems to update VMware Tools automatically. For other guest operating systems, you must manually update VMware Tools.
58 VMware, Inc.
Page 59
Chapter 3 Creating Virtual Machines
Manually Installing and Upgrading VMware Tools on page 62
n
You can manually install or upgrade VMware Tools on Windows, Linux, NetWare, Solaris, and FreeBSD virtual machines.
Start the VMware User Process Manually If You Do Not Use a Session Manager on page 68
n
VMware Tools in Linux, Solaris, and FreeBSD guest operating systems uses the VMware User process executable file. This program implements the fit-guest-to-window feature and Unity mode, among other features.
Uninstalling VMware Tools on page 68
n
If the upgrade process of VMware Tools is incomplete, you can uninstall and then reinstall the VMware Tools.

Installing VMware Tools

Although your guest operating systems can run without VMware Tools, many VMware features are not available until you install VMware Tool. When you install VMware Tools, the utilities in the tools suite enhances the performance of your virtual machine’s guest operating system and improves the management of your virtual machines.
Installing VMware Tools is part of the process of creating new virtual machines, and upgrading VMware Tools is part of the process of keeping your virtual machine up to current standards. For information about creating virtual machines, see the Virtual Machine Administration Guide.
The installers for VMware Tools are ISO image files. An ISO image file looks like a CD-ROM to your guest operating system. Each type of guest operating system, including Windows, Linux, Solaris, FreeBSD, and NetWare, has an ISO image file. When you select the command to install or upgrade VMware Tools, the virtual machine’s first virtual CD-ROM disk drive temporarily connects to the VMware Tools ISO file for your guest operating system.
You can use the Windows Easy Install or Linux Easy Install feature to install VMware Tools as soon as the operating system is finished installing.
The most recent versions of the ISO files are stored on a VMware Web site. When you select the command to install or upgrade VMware Tools, the VMware product determines whether it has downloaded the most recent version of the ISO file for the specific operating system. If the latest version has not been downloaded or if no VMware Tools ISO file for that operating system has ever been downloaded, you are prompted to download the file.
For information about installing or upgrading VMware Tools in Windows virtual machines, see
n
“Manually Install or Upgrade VMware Tools in a Windows Virtual Machine,” on page 63 and Automate VMware Tools Installation for Multiple Windows Virtual Machines.
For information about installing or upgrading VMware Tools in Linux virtual machines, see “Manually
n
Install or Upgrade VMware Tools in a Linux Virtual Machine,” on page 64.
For information about installing or upgrading VMware Tools in Mac OS X virtual machines, see
n
Manually Install or Upgrade VMware Tools in a Mac OS X Virtual Machine.
For information about installing or upgrading VMware Tools in Solaris virtual machines, see
n
“Manually Install or Upgrade VMware Tools in a Solaris Virtual Machine,” on page 66.
For information about installing or upgrading VMware Tools in NetWare virtual machines, see
n
“Manually Install or Upgrade VMware Tools in a NetWare Virtual Machine,” on page 65.
For information about installing or upgrading VMware Tools in FreeBSD virtual machines, see
n
“Manually Install or Upgrade VMware Tools in a FreeBSD Virtual Machine,” on page 67.
VMware, Inc. 59
Page 60
Using VMware Workstation Pro

Upgrading VMware Tools

You can upgrade VMware Tools manually, or you can configure virtual machines to check for and install newer versions of VMware Tools.
The guest operating system checks the version of VMware Tools when you power on a virtual machine. The status bar of your virtual machine displays a message when a new version is available.
In Windows virtual machines, you can set VMware Tools to notify you when an upgrade is available. If this notification option is enabled, the VMware Tools icon in the Windows taskbar includes a yellow caution icon when a VMware Tools upgrade is available.
To install a VMware Tools upgrade, you can use the same procedure that you used for installing VMware Tools the first time. Upgrading VMware Tools means installing a new version.
For Windows and Linux guest operating systems, you can configure the virtual machine to automatically upgrade VMware Tools. Although the version check is performed when you power on the virtual machine, on Windows guest operating systems, the automatic upgrade occurs when you power off or restart the virtual machine. The status bar displays the message Installing VMware Tools ... when an upgrade is in progress.
IMPORTANT After you upgrade VMware Tools on Linux guest operating systems, new network modules are available but are not used until you either restart the guest operating system or stop networking, unload and reload the VMware networking kernel modules, and restart networking. This behavior means that even if VMware Tools is set to automatically upgrade, you must restart or reload network modules to make new features available.
This strategy avoids network interruptions and allows you to install VMware Tools over SSH.
Upgrading VMware Tools on Windows guest operation systems automatically installs the WDDM graphics drivers. The WDDM graphics driver makes the sleep mode available in guest OS power settings to adjust the sleep options. For example, you can use the sleep mode setting Change when the computer sleeps to configure your guest OS to automatically go to sleep mode after a certain time or prevent your guest OS from automatically switching to sleep mode after being idle for some time.
Some features in a particular release of a VMware product might depend on installing or upgrading to the version of VMware Tools included in that release. Upgrading to the latest version of VMware Tools is not always necessary. Newer versions of VMware Tools are compatible with several host versions. To avoid unnecessary upgrades, evaluate whether the added features and capabilities are necessary for your environment.

Configure Automatic Software Updates

You can configure Workstation Pro to automatically download software updates, including new versions of VMware Tools. When automatic software updates are enabled, Workstation Pro always includes the latest support for guest operating systems and virtual machines always have the latest version of VMware Tools.
Prerequisites
On a Linux host, become root. On Linux systems, non-root users are not allowed to modify the
n
preference setting for VMware Tools updates.
Verify that the host system is connected to the Internet.
n
Procedure
1 Select Edit > Preferences and select Updates.
Page 61
Chapter 3 Creating Virtual Machines
2 Select a software update download option.
If you deselect all of the software update options, automatic software updates are disabled.
Option Description
Check for product updates on startup
Check for software components as needed
Download All Components Now
When Workstation Pro starts, it checks for new versions of the application and installed software components.
When a software component is needed, for example, when you install or upgrade VMware Tools on a virtual machine, Workstation Pro checks for a new version of the component.
Click this button to download all software updates immediately. This option is useful if you are planning to use a virtual machine at a later time when you do not have access to the Internet.
3 If you use a proxy server to connect to the Internet, click Connection Settings and select a proxy
setting.
Option Description
No proxy
Windows proxy settings
Manual proxy settings
Select this option if you do not use a proxy server. This is the default setting.
(Windows hosts only) Workstation Pro uses the host proxy settings from the Connections tab in the Internet Options control panel to access the VMware Update Server. Click Internet Options to set the guest connection options. Type a username and password to use for proxy server authentication. If you leave either the Username or Password text box blank, Workstation Pro does not use either value.
Select an HTTP or SOCKS proxy, specify the proxy server address and designate a port number to access the VMware Update Server. Type a username and password to use for proxy server authentication. If you leave either the Username or Password text box blank, Workstation Pro does not use either value (Windows hosts) or it uses the username and password set in the gnome settings (Linux hosts).
4 To update VMware Tools when you power on a virtual machine or shut down the guest operating
system, select Automatically update VMware Tools on a virtual machine.
You can override this setting for a specific virtual machine by modifying virtual machine settings.
When you power on a virtual machine, you are prompted to download VMware Tools if a new version is available.
5 Click OK to save your changes.
What to do next
To override the VMware Tools update setting for a specific virtual machine, edit the virtual machine settings. See “Configure VMware Tools Updates for a Specific Virtual Machine,” on page 61.

Configure VMware Tools Updates for a Specific Virtual Machine

You can configure virtual machines that have Windows or Linux guest operating systems to update VMware Tools automatically. For other guest operating systems, you must manually update VMware Tools.
Automatic VMware Tools updates are supported for versions of VMware Tools included in Workstation 5.5 and later virtual machines only. Automatic updates are not supported for versions of VMware Tools included in virtual machines created with VMware Server 1.x.
IMPORTANT If you update VMware Tools in a Windows virtual machine that was created with Workstation 4 or 5.x, some new components are not installed. To install the new components, you must uninstall the old version of VMware Tools and install the new version of VMware Tools.
Page 62
Using VMware Workstation Pro
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Options tab, select VMware Tools.
3 Select a VMware Tools update setting.
Option Description
Update manually (do nothing)
Update automatically
Use application default (currently update manually)
4 Click OK to save your changes.
You must update VMware Tools manually. The virtual machine status bar indicates when a new version of VMware Tools is available.
VMware Tools is updated automatically. The virtual machine status bar indicates when an update is in progress. If you are logged in to a Windows guest, a restart prompt appears after the update is complete. If you are not logged in, the operating system restarts without prompting. An auto­update check is performed as part of the boot sequence when you power on the virtual machine. If the virtual machine was suspended and you resume it or restore it to a snapshot during the boot sequence before this check, the automatic update occurs as planned. If you resume the virtual machine or restore it to a snapshot after the check, the automatic update does not occur.
Use the default VMware Tools update behavior. The default behavior is set in Workstation Pro preferences.
NOTE You cannot configure this option for a shared or remote virtual machine.

Manually Installing and Upgrading VMware Tools

You can manually install or upgrade VMware Tools on Windows, Linux, NetWare, Solaris, and FreeBSD virtual machines.
If you are installing VMware Tools in a number of Windows virtual machines, you can automate its installation by using the VMware Tools setup.exe at a command prompt in the guest operating system. See Installing and Configuring VMware Tools at
http://www.vmware.com/pdf/vmware-tools-installation-configuration.pdf for more information.
Manually Install or Upgrade VMware Tools in a Windows Virtual Machine on page 63
n
All supported Windows guest operating systems support VMware Tools.
Manually Install or Upgrade VMware Tools in a Linux Virtual Machine on page 64
n
For Linux virtual machines, you manually install or upgrade VMware Tools by using the command line.
Manually Install or Upgrade VMware Tools in a NetWare Virtual Machine on page 65
n
For NetWare virtual machines, you manually install or upgrade VMware Tools by using the command line.
Manually Install or Upgrade VMware Tools in a Solaris Virtual Machine on page 66
n
For Solaris virtual machines, you manually install or upgrade VMware Tools by using the command line.
Manually Install or Upgrade VMware Tools in a FreeBSD Virtual Machine on page 67
n
For FreeBSD virtual machines, you manually install or upgrade VMware Tools by using the command line.
62 VMware, Inc.
Page 63
Chapter 3 Creating Virtual Machines
Manually Install or Upgrade VMware Tools in a Windows Virtual Machine
All supported Windows guest operating systems support VMware Tools.
Before you upgrade VMware Tools, consider the environment that the virtual machine runs in and weigh the benefits of different upgrade strategies. For example, you can install the latest version of VMware Tools to enhance the performance of the virtual machine's guest operating system and improve virtual machine management, or you can continue using the existing version to provide more flexibility and avoid downtime in your environment.
For Windows 2000 and later, VMware Tools installs a virtual machine upgrade helper tool. This tool restores the network configuration if you upgrade the virtual machine compatibility from ESX/ESXi 3.5 to ESX/ESXi
4.0 and later or from Workstation 5.5 to Workstation 6.0 and later.
Prerequisites
Power on the virtual machine.
n
Verify that the guest operating system is running.
n
If you connected the virtual machine’s virtual CD/DVD drive to an ISO image file when you installed
n
the operating system, change the setting so that the virtual CD/DVD drive is configured to autodetect a physical drive.
The autodetect setting enables the virtual machine's first virtual CD/DVD drive to detect and connect to the VMware Tools ISO file for a VMware Tools installation. This ISO file looks like a physical CD to your guest operating system. Use the virtual machine settings editor to set the CD/DVD drive to autodetect a physical drive.
Log in as an administrator unless you are using an older Windows operating system. Any user can
n
install VMware Tools in a Windows 95, Windows 98, or Windows ME guest operating system. For operating systems newer than these, you must log in as an administrator.
Procedure
1 On the host, from the Workstation Pro menu bar, select VM > Install VMware Tools.
If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools.
2 If you are installing VMware Tools for the first time, click OK on the Install VMware Tools information
page.
If autorun is enabled for the CD-ROM drive in the guest operating system, the VMware Tools installation wizard starts.
3 If autorun is not enabled, to manually launch the wizard, click Start > Run and enter D:\setup.exe,
where D: is your first virtual CD-ROM drive. Use D:\setup64.exe for 64-bit Windows guest operating system.
4 Follow the on-screen instructions.
5 If the New Hardware wizard appears, follow the prompts and accept the defaults.
6 If you are installing a beta or RC version of VMware Tools and you see a warning that a package or
driver is not signed, click Install Anyway to complete the installation.
7 When prompted, reboot the virtual machine.
What to do next
If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.
VMware, Inc. 63
Page 64
Using VMware Workstation Pro
Manually Install or Upgrade VMware Tools in a Linux Virtual Machine
For Linux virtual machines, you manually install or upgrade VMware Tools by using the command line.
Prerequisites
Power on the virtual machine.
n
Verify that the guest operating system is running.
n
Because the VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating
n
system.
Procedure
1 On the host, from the Workstation Pro menu bar, select VM > Install VMware Tools.
If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools.
2 In the virtual machine, log in to the guest operating system as root and open a terminal window.
3 Run the mount command with no arguments to determine whether your Linux distribution
automatically mounted the VMware Tools virtual CD-ROM image.
If the CD-ROM device is mounted, the CD-ROM device and its mount point are listed as something like this:
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)
4 If the VMware Tools virtual CD-ROM image is not mounted, mount the CD-ROM drive.
a If a mount point directory does not already exist, create it.
mkdir /mnt/cdrom
Some Linux distributions use different mount point names. For example, on some distributions the mount point is /media/VMware Tools rather than /mnt/cdrom. Modify the command to reflect the conventions that your distribution uses.
b Mount the CD-ROM drive.
mount /dev/cdrom /mnt/cdrom
Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, modify the command to reflect the conventions that your distribution uses.
5 Change to a working directory, for example, /tmp.
cd /tmp
6 Delete any previous vmware-tools-distrib directory before you install VMware Tools.
The location of this directory depends on where you placed it during the previous installation. Often this directory is placed in /tmp/vmware-tools-distrib.
7 List the contents of the mount point directory and note the filename of the VMware Tools tar installer.
ls mount-point
8 Uncompress the installer.
tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
The value x.x.x is the product version number, and yyyy is the build number of the product release.
If you attempt to install a tar installation over an RPM installation, or the reverse, the installer detects the previous installation and must convert the installer database format before continuing.
64 VMware, Inc.
Page 65
Chapter 3 Creating Virtual Machines
9 If necessary, unmount the CD-ROM image.
umount /dev/cdrom
If your Linux distribution automatically mounted the CD-ROM, you do not need to unmount the image.
10 Run the installer and configure VMware Tools.
cd vmware-tools-distrib ./vmware-install.pl
Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running.
11 Follow the prompts to accept the default values, if appropriate for your configuration.
12 Follow the instructions at the end of the script.
Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.
What to do next
If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.
Manually Install or Upgrade VMware Tools in a NetWare Virtual Machine
For NetWare virtual machines, you manually install or upgrade VMware Tools by using the command line.
Before you upgrade VMware Tools, consider the environment that the virtual machine runs in and weigh the benefits of different upgrade strategies. For example, you can install the latest version of VMware Tools to enhance the performance of the virtual machine's guest operating system and improve virtual machine management, or you can continue using the existing version to provide more flexibility and avoid downtime in your environment.
Prerequisites
Power on the virtual machine.
n
Verify that the guest operating system is running.
n
Because the VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating
n
system.
Procedure
1 On the host, from the Workstation Pro menu bar, select VM > Install VMware Tools.
If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools.
2 Load the CD-ROM driver so that the virtual CD-ROM device mounts the ISO image as a volume.
Operating System Command
NetWare 6.5
NetWare 6.0 or NetWare 5.1
NetWare 4.2 (not available in vSphere)
When the installation finishes, the message VMware Tools for NetWare are now running appears in the Logger Screen for NetWare 6.5 and NetWare 6.0 guest operating systems and in the Console Screen for NetWare 4.2 and 5.1 operating systems.
LOAD CDDVD
LOAD CD9660.NSS
load cdrom
Page 66
Using VMware Workstation Pro
3 If the VMware Tools virtual disc (netware.iso) is attached to the virtual machine, right-click the CD-
ROM icon in the status bar of the console window and select Disconnect to disconnect it.
What to do next
If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.
Manually Install or Upgrade VMware Tools in a Solaris Virtual Machine
For Solaris virtual machines, you manually install or upgrade VMware Tools by using the command line.
Before you upgrade VMware Tools, consider the environment that the virtual machine runs in and weigh the benefits of different upgrade strategies. For example, you can install the latest version of VMware Tools to enhance the performance of the virtual machine's guest operating system and improve virtual machine management, or you can continue using the existing version to provide more flexibility and avoid downtime in your environment.
Prerequisites
Power on the virtual machine.
n
Verify that the guest operating system is running.
n
Because the VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating
n
system.
Procedure
1 On the host, from the Workstation Pro menu bar, select VM > Install VMware Tools.
If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools.
2 In the virtual machine, log in to the guest operating system as root and open a terminal window.
3 If the Solaris volume manager does not mount the CD-ROM under /cdrom/vmwaretools, restart the
volume manager.
/etc/init.d/volmgt stop /etc/init.d/volmgt start
4 Change to a working directory, for example, /tmp.
cd /tmp
5 Extract VMware Tools.
gunzip -c /cdrom/vmwaretools/vmware-solaris-tools.tar.gz | tar xf -
6 Run the installer and configure VMware Tools.
cd vmware-tools-distrib ./vmware-install.pl
Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running.
7 Follow the prompts to accept the default values, if appropriate for your configuration.
8 Follow the instructions at the end of the script.
Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.
What to do next
If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.
Page 67
Chapter 3 Creating Virtual Machines
Manually Install or Upgrade VMware Tools in a FreeBSD Virtual Machine
For FreeBSD virtual machines, you manually install or upgrade VMware Tools by using the command line.
Before you upgrade VMware Tools, consider the environment that the virtual machine runs in and weigh the benefits of different upgrade strategies. For example, you can install the latest version of VMware Tools to enhance the performance of the virtual machine's guest operating system and improve virtual machine management, or you can continue using the existing version to provide more flexibility and avoid downtime in your environment.
Prerequisites
Power on the virtual machine.
n
Verify that the guest operating system is running.
n
Because the VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating
n
system.
Procedure
1 On the host, from the Workstation Pro menu bar, select VM > Install VMware Tools.
If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools.
2 In the virtual machine, log in to the guest operating system as root and open a terminal window.
3 If the distribution does not automatically mount CD-ROMs, mount the VMware Tools virtual CD-ROM
image.
For example, type mount /cdrom.
4 Change to a working directory, for example, /tmp.
cd /tmp
5 Untar the VMware Tools tar file.
tar zxpf /cdrom/vmware-freebsd-tools.tar.gz
6 If the distribution does not use automounting, unmount the VMware Tools virtual CD-ROM image.
umount /cdrom
7 Run the installer and configure VMware Tools.
cd vmware-tools-distrib ./vmware-install.pl
Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running.
8 Follow the prompts to accept the default values, if appropriate for your configuration.
9 Follow the instructions at the end of the script.
Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.
What to do next
If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.
Page 68
Using VMware Workstation Pro

Start the VMware User Process Manually If You Do Not Use a Session Manager

VMware Tools in Linux, Solaris, and FreeBSD guest operating systems uses the VMware User process executable file. This program implements the fit-guest-to-window feature and Unity mode, among other features.
Normally, this process starts after you configure VMware Tools, log out of the desktop environment, and log back in. The vmware-user program is located in the directory in which you selected to install binary programs, which defaults to /usr/bin. The startup script that you need to modify depends on your system. You must start the process manually in the following environments:
If you run an X session without a session manager. For example, if you use startx to start a desktop
n
session and do not use xdm, kdm, or gdm.
If you are using an older version of GNOME without gdm or xdm.
n
If you are using a session manager or environment that does not support the Desktop Application
n
Autostart Specification, available from http://standards.freedesktop.org.
If you upgrade VMware Tools.
n
Procedure
Start the VMware User process.
u
Option Action
Start the VMware User process when you start an X session.
Start the process after a VMware Tools software upgrade, or if certain features are not working.
Add vmware-user to the appropriate X startup script, such as the .xsession or .xinitrc file.
Open a terminal window and type the vmware-user command.

Uninstalling VMware Tools

If the upgrade process of VMware Tools is incomplete, you can uninstall and then reinstall the VMware Tools.
Prerequisites
Power on the virtual machine.
n
Log in to the guest operating system.
n
Procedure
Select a method to uninstall VMware Tools.
u
Operating System Action
Windows 7, 8, 8.1, or Windows 10
Windows Vista and Windows Server 2008
Windows XP and earlier
Linux
Mac OS X Server
In the guest operating system, select Programs > Uninstall a program.
In the guest operating system, select Programs and Features > Uninstall a program.
In the guest operating system, select Add/Remove Programs.
Log in as root and enter vmware-uninstall-tools.pl in a terminal window.
Use the Uninstall VMware Tools application, found in /Library/Application Support/VMware Tools.
68 VMware, Inc.
Page 69
What to do next
Reinstall VMware Tools.

Virtual Machine Files

When you create a virtual machine, Workstation Pro creates a set of files for that specific virtual machine. Virtual machine files are stored in either the virtual machines directory or the working directory. Both directories are typically on the host system.
Table 38. Virtual Machine Files
Extension File Name Description
.vmx vmname.vmx
.log vmname.log
or
vmware.log
.nvram vmname.nvram
or
nvram
.vmdk vmname.vmdk
vmname-s###.vmdk If you specified that the files can increase, filenames include an s in
vmname-f###.vmdk
vmname-disk-###.vmdk
.vmem uuid.vmem
snapshot_name_number.vmem
Chapter 3 Creating Virtual Machines
The primary configuration file, which stores virtual machine settings. If you created the virtual machine with an earlier version of Workstation Pro on a Linux host, this file might have a .cfg extension.
The main log file. If you need to troubleshoot a problem, refer to this file. This file is stored in the same directory as the .vmx file.
The NVRAM file, which stores the state of the virtual machine BIOS. This file is stored in the same directory as the .vmx file.
Virtual disk files, which store the contents of the virtual machine hard disk drive. These files are stored in the same directory as the .vmx file.
A virtual disk is made up of one or more virtual disk files. The virtual machine settings show the name of the first file in the set. This file contains pointers to the other files in the set.
If you specify that all disk space should be allocated when the virtual disk is created, these files start at the maximum size and do not grow. Almost all of the file content is virtual machine data. A small portion of the file is allotted to virtual machine overhead.
If the virtual machine is connected directly to a physical disk, the virtual disk file stores information about the partitions that the virtual machine is allowed to access.
NOTE Earlier VMware products use the .dsk extension for virtual disk files.
the file number, for example, Windows 7-s001.vmdk.
If you specified that the virtual disk is divided into 2GB sections, the number of files depends on the size of the virtual disk. As data is added to a virtual disk, the files increase to a maximum of 2GB each.
If all disk space was allocated when the disk was created, filenames include an f, for example, Windows 7-f001.vmdk.
If the virtual machine has one or more snapshots, some files are redo log files. These files store changes made to a virtual disk while the virtual machine is running. The ### indicates a unique suffix that Workstation Pro adds to avoid duplicate file names.
The virtual machine paging file, which backs up the guest main memory on the host file system. This file exists only when the virtual machine is running or if the virtual machine fails. It is stored in the working directory.
Each snapshot of a virtual machine that is powered on has an associated .vmem file, which contains the guest operating system main memory, saved as part of the snapshot.
Page 70
Using VMware Workstation Pro
Table 38. Virtual Machine Files (Continued)
Extension File Name Description
.vmsd vmname.vmsd
.vmsn vmname.Snapshot.vmsn
.vmss vmname.vmss
Other files, such as lock files, might also be present in the virtual machines directory. Some files are present only while a virtual machine is running.
vmname.Snapshot###.vmsn
A centralized file for storing information and metadata about snapshots. It is stored in the working directory.
The snapshot state file, which stores the running state of a virtual machine at the time you take that snapshot. It is stored in the working directory.
The file that stores the state of a snapshot.
The suspended state file, which stores the state of a suspended virtual machine. It is stored in the working directory.
Some earlier VMware products used the .std extension for suspended state files.
Page 71

Using Virtual Machines 4

When you use virtual machines in Workstation Pro, you can transfer files and text between virtual machines and the host system, print to host printers, connect removable devices, and change display settings. You can use folders to manage multiple virtual machines, take snapshots to preserve virtual machine states, and create screenshots and movies of virtual machines.
You can also use Workstation Pro to interact with remote virtual machines. See Chapter 8, “Using Remote
Connections and Sharing Virtual Machines,” on page 205 for more information.
This chapter includes the following topics:
“Starting Virtual Machines,” on page 71
n
“Stopping Virtual Machines,” on page 73
n
“Transferring Files and Text,” on page 77
n
“Add a Host Printer to a Virtual Machine,” on page 87
n
“Using Removable Devices in Virtual Machines,” on page 87
n
“Changing the Virtual Machine Display,” on page 94
n
“Using Folders to Manage Virtual Machines,” on page 100
n
“Taking Snapshots of Virtual Machines,” on page 103
n
“Install New Software in a Virtual Machine,” on page 109
n
“Take a Screenshot of a Virtual Machine,” on page 110
n
“Delete a Virtual Machine,” on page 111
n

Starting Virtual Machines

When you start a virtual machine, the guest operating system starts and you can interact with the virtual machine. You can use Workstation Pro to start virtual machines on the host system and on remote servers.
To start a virtual machine from the command line, use the vmware command. See Chapter 14, “Using the
vmware Command,” on page 279.
Start a Virtual Machine on page 72
n
You can start a virtual machine from the VM menu or from the toolbar. When you use the VM menu, you can select a soft or hard power option or start the virtual machine in BIOS setup mode.
Start a Virtual Machine That Is Running in the Background on page 72
n
You can start a virtual machine that is running in the background when Workstation Pro is not started.
VMware, Inc.
71
Page 72
Using VMware Workstation Pro
Enable Autologon in a Windows Virtual Machine on page 73
n
With Autologon, you can save your login credentials and bypass the login dialog box when you power on a Windows virtual machine. The guest operating system securely stores the password.

Start a Virtual Machine

You can start a virtual machine from the VM menu or from the toolbar. When you use the VM menu, you can select a soft or hard power option or start the virtual machine in BIOS setup mode.
When virtual machines are in a folder, you can perform batch power operations. See “Using Folders to
Manage Virtual Machines,” on page 100.
You can use the AutoStart feature to configure shared and remote virtual machines to start when the host system starts. See “Configure Shared and Remote Virtual Machines to Start with the Host,” on page 217.
Prerequisites
If the virtual machine is on the local host, select File > Open and browse to the virtual machine
n
configuration (.vmx) file.
If the virtual machine is on a remote host, connect to the remote server. See “Connect to a Remote
n
Server,” on page 208.
Procedure
To select a power option when you start the virtual machine, select the virtual machine and select VM >
n
Power.
Option Description
Power On
Start Up Guest
Power On to BIOS
(Hard option) Workstation Pro starts the virtual machine.
(Soft option) Workstation Pro starts the virtual machine and VMware Tools runs a script in the guest operating system. On Windows guests, if the virtual machine is configured to use DHCP, the script renews the IP address of the virtual machine. On a Linux, FreeBSD, or Solaris guest, the script starts networking for the virtual machine.
Workstation Pro starts the virtual machine in BIOS setup mode.
To start the virtual machine from the toolbar, select the virtual machine and click the start button.
n
The start power control setting that is configured for the virtual machine determines whether Workstation Pro performs a hard or soft power on operation. The configured behavior appears in a tooltip when you mouse over the button.
What to do next
Click anywhere inside the virtual machine console to give the virtual machine control of the mouse and keyboard on the host system.

Start a Virtual Machine That Is Running in the Background

You can start a virtual machine that is running in the background when Workstation Pro is not started.
Prerequisites
Set the virtual machine to run in the background. See “Closing Virtual Machines and Exiting Workstation
Pro,” on page 74.
Page 73
Chapter 4 Using Virtual Machines
Procedure
1 On the host system, click the virtual machine status icon that is located in the notification area of the
taskbar.
A list of the virtual machines that are running in the background appears in a tooltip. The list contains the virtual machines that belong to the currently logged in user.
2 Select a virtual machine from the list in the tooltip.
Workstation Pro starts and displays the console view of the virtual machine.

Enable Autologon in a Windows Virtual Machine

With Autologon, you can save your login credentials and bypass the login dialog box when you power on a Windows virtual machine. The guest operating system securely stores the password.
Use the Autologon feature if you restart the guest operating system frequently and want to avoid entering your login credentials. You can also use the Autologon feature to grant users access to the guest operating system without sharing your password.
Prerequisites
Verify that the guest operating system is Windows 2000 or later.
n
Verify that you have an existing user account to enable Autologon. The account must be a local machine
n
account, not a domain account.
Verify that the latest version of VMware Tools is running in the guest operating system.
n
Power on the virtual machine.
n
Procedure
1 Select the virtual machine, select VM > Settings.
2 On the Options tab, select Autologon.
3 Click Enable, type your login credentials, and click OK.
If you type an incorrect or expired password, you must type your login credentials when you power on the virtual machine.
4 Click OK to save your changes.
When you enable Autologon or change your login credentials, the Autologon settings are saved immediately. Clicking Cancel in the Virtual Machine Settings dialog box does not affect the changes applied to the Autologon settings.

Stopping Virtual Machines

You can use Workstation Pro to stop virtual machines on the host system and on remote servers. You can shut down, pause, and suspend virtual machines. You can also close virtual machines and continue running them in the background.
Shut Down a Virtual Machine on page 74
n
You can shut down a virtual machine from the VM menu or from the toolbar. When you use the VM menu, you can select a hard or soft power option.
Closing Virtual Machines and Exiting Workstation Pro on page 74
n
You can close a virtual machine that is running on the local host system without powering it off. By default, Workstation Pro prompts you to select an action when you close a powered-on virtual machine and when you exit Workstation Pro while virtual machines are running on the local host system.
Page 74
Using VMware Workstation Pro
Pause and Unpause a Virtual Machine on page 75
n
You can pause a virtual machine multiple times for a few seconds, or up to several minutes. The pause feature is useful when a virtual machine is engaged in an lengthy, processor-intensive activity that prevents you from using the host system to do a more immediate task.
Suspend and Resume a Virtual Machine on page 76
n
Use the suspend and resume feature to save the current state of a virtual machine. When you resume the virtual machine, the applications that were running before the suspension will resume their running state with their content unchanged.

Shut Down a Virtual Machine

You can shut down a virtual machine from the VM menu or from the toolbar. When you use the VM menu, you can select a hard or soft power option.
You are not required to power off a virtual machine that is running on the local host system before you exit Workstation Pro. You can exit Workstation Pro and leave the virtual machine running in the background. See “Closing Virtual Machines and Exiting Workstation Pro,” on page 74.
When virtual machines are in a folder, you can perform batch power operations. See “Using Folders to
Manage Virtual Machines,” on page 100.
Procedure
To select a power option when you shut down the virtual machine, select the virtual machine and select
n
VM > Power.
Option Description
Power Off
Shut Down Guest
(Hard option) Workstation Pro powers off the virtual machine abruptly with no consideration for work in progress.
(Soft option) Workstation Pro sends a shut down signal to the guest operating system. An operating system that recognizes the signal shuts down gracefully. Not all guest operating systems respond to a shutdown signal from Workstation Pro. If the guest operating system does not respond to the signal, shut down from the guest operating system as you would a physical machine.
To shut down the virtual machine from the toolbar, select the virtual machine and click the stop button.
n
The stop power control setting that is configured for the virtual machine determines whether Workstation Pro performs a hard or soft power off operation. The configured behavior appears in a tooltip when you mouse over the button.
To shut down a virtual machine that is suspended, select the virtual machine and click VM > Power >
n
Power Off.

Closing Virtual Machines and Exiting Workstation Pro

You can close a virtual machine that is running on the local host system without powering it off. By default, Workstation Pro prompts you to select an action when you close a powered-on virtual machine and when you exit Workstation Pro while virtual machines are running on the local host system.
NOTE When you close a remote virtual machine, the virtual machine tab closes. If the virtual machine is powered on, it continues to run on the remote host.
Page 75
Chapter 4 Using Virtual Machines
Table 41. Close and Exit Actions
Action Description
Run in Background Continue to run the virtual machine in the background. You can interact
with the virtual machine through VNC or some other service.
By default, a virtual machine status icon appears in the notification area of the taskbar on the host system. When you mouse over this icon, a tooltip shows the number of virtual machines running in the background that belong to the currently logged in user.
Suspend Suspend the virtual machine and save its current state.
Power Off Power off the virtual machine. By default, Workstation Pro powers off
the virtual machine abruptly. The effect is the same as using the power button on a physical machine.
You can configure Workstation Pro preference settings so that virtual machines always run in the background and you are not prompted to select an action. You can also configure virtual machine option settings to control power off behavior.
Configure Virtual Machines to Always Run in the Background
You can configure Workstation Pro preference settings so that virtual machines always run in the background and you are not prompted to select an action when you close powered-on virtual machines.
Procedure
1 Select Edit > Preferences.
2 Select Workspace and select Keep VMs running after Workstation closes.
3 Click OK to save your changes.

Pause and Unpause a Virtual Machine

You can pause a virtual machine multiple times for a few seconds, or up to several minutes. The pause feature is useful when a virtual machine is engaged in an lengthy, processor-intensive activity that prevents you from using the host system to do a more immediate task.
NOTE You cannot pause a remote virtual machine.
Prerequisites
Familiarize yourself with the restrictions and limitations of the pause feature. See “Pause Feature
Restrictions and Limitations,” on page 76.
Procedure
To pause a virtual machine, select the virtual machine and select VM > Pause.
n
The virtual machine display dims and a play button appears over the display. Paused virtual machines that are configured to display on more than one monitor have a play button on each monitor.
To pause all of the powered-on virtual machines without interacting with the Workstation Pro user
n
interface, right-click the virtual machine status icon located in the notification area on the task bar of the host computer and select Pause All Virtual Machines.
To unpause a virtual machine, click the play button on the virtual machine display or deselect VM >
n
Pause.
Page 76
Using VMware Workstation Pro
Pause Feature Restrictions and Limitations
The pause feature has certain restrictions and limitations.
You cannot switch to Unity mode when a virtual machine is paused.
n
When paused, a virtual machine does not send or receive network packets. If a virtual machine is
n
paused for more than a few minutes, some network connections might be interrupted.
If you take a snapshot when the virtual machine is paused, the virtual machine is not paused when you
n
restore that snapshot. Similarly, if you suspend a virtual machine while it is paused, it is not paused when you resume the virtual machine.
If you initiate soft power operations when a virtual machine is paused, those operations do not take
n
effect until the virtual machine is unpaused.
While a virtual machine is paused, LEDs and devices remain enabled, but device connection changes do
n
not take effect until the virtual machine is unpaused.
You cannot pause a remote virtual machine.
n

Suspend and Resume a Virtual Machine

Use the suspend and resume feature to save the current state of a virtual machine. When you resume the virtual machine, the applications that were running before the suspension will resume their running state with their content unchanged.
How quickly the suspend operation performs depends on the how much data changed after you started the virtual machine. The first suspend operation usually takes longer than subsequent suspend operations. When you suspend a virtual machine, Workstation Pro creates a virtual machine suspended state (.vmss or .vmem) file set in the working directory. How quickly the resume operation performs depends on how active the virtual machine is. The more active the virtual machine is, the longer it will take to resume. It also depends on whether the virtual machine suspended state (.vmss or .vmem) file set is already in the physical memory of the host system. If it is, the virtual machine will resume much faster.
After you resume a virtual machine and do more work, you cannot return to the state that the virtual machine was in when you suspended it. To return to the same state repeatedly, you must take a snapshot.
When virtual machines are in a folder, you can perform batch power operations. See “Using Folders to
Manage Virtual Machines,” on page 100.
Procedure
To select a suspend option when you suspend a virtual machine, select the virtual machine and select
n
VM > Power.
Option Description
Suspend
Suspend Guest
(Hard option) Workstation Pro suspends the virtual machine and leaves it connected to the network.
(Soft option) Workstation Pro suspends the virtual machine and disconnects it from the network. VMware Tools runs a script in the guest operating system. On Windows guests, if the virtual machine is configured to use DHCP, the script releases the IP address of the virtual machine. On Linux, FreeBSD, and Solaris guests, the script stops networking for the virtual machine.
To suspend a virtual machine from the toolbar, select the virtual machine and click the suspend button.
n
The suspend power control setting that is configured for the virtual machine determines whether Workstation Pro performs a hard or soft suspend operation. The configured behavior appears in a tooltip when you mouse over the button.
76 VMware, Inc.
Page 77
Chapter 4 Using Virtual Machines
To select a resume option when you resume a suspended virtual machine, select the virtual machine
n
and select VM > Power.
Option Description
Resume
Resume Guest
(Hard option) Workstation Pro resumes the virtual machine from the suspended state.
(Soft option) Workstation Pro resumes the virtual machine from the suspended state and reconnects it to the network.
To resume a virtual machine from the toolbar, select the virtual machine and click the resume button.
n
The suspend power control setting that is configured for the virtual machine determines whether Workstation Pro performs a hard or soft resume operation. The configured behavior appears in a tooltip when you mouse over the button.
To power off a suspended virtual machine, select the virtual machine and click VM > Power > Power
n
Off.
Using the Guest ACPI S1 Sleep Feature on Windows Hosts
On Windows hosts, Workstation Pro provides experimental support for guest operating system ACPI S1 sleep. Not all guest operating systems support this feature. Common guest operating system interfaces for entering standby mode are supported.
By default, ACPI S1 sleep is implemented in Workstation Pro as suspend. You can use the Workstation Pro Resume button to wake the guest operating system.
You can implement ACPI S1 sleep as power-on suspend. The guest operating system is not fully powered down. This feature can be useful for test and development scenarios. You can wake the virtual machine through keyboard input, mouse input, or by programming the CMOS external timer.

Transferring Files and Text

You can use the drag-and-drop feature, the copy and paste feature, shared folders, and mapped drives to transfer files and text between the host system and virtual machines and between virtual machines.
Using the Drag-and-Drop Feature on page 78
n
You can use the drag-and-drop feature to move files and directories, email attachments, plain text, formatted text, and images between the host system and virtual machines.
Using the Copy and Paste Feature on page 79
n
You can cut, copy, and paste text between virtual machines and between applications running in virtual machines.
Using Shared Folders on page 80
n
You can use shared folders to share files among virtual machines and between virtual machines and the host system. The directories that you add as shared folders can be on the host system, or they can be network directories that are accessible from the host computer.
Mapping a Virtual Disk to the Host System on page 85
n
Instead of using shared folders or copying data between a virtual machine and the host system, you can map a virtual disk to the host system. In this case, you map a virtual disk in the host file system as a separate mapped drive. Using a mapped drive lets you connect to the virtual disk without going into a virtual machine.
VMware, Inc. 77
Page 78
Using VMware Workstation Pro

Using the Drag-and-Drop Feature

You can use the drag-and-drop feature to move files and directories, email attachments, plain text, formatted text, and images between the host system and virtual machines.
You can drag files or directories between the following locations.
File managers, such as Windows Explorer, on the host system and virtual machines.
n
A file manager to an application that supports drag-and-drop.
n
Applications, such as zip file managers, which support drag-and-drop extraction of individual files.
n
Different virtual machines.
n
When you drag a file or folder between the host and a virtual machine, Workstation Pro copies the file or folder to the location where you drop it. For example, if you drop a file on the desktop icon of a word processor, the word processor opens a copy of the original file. The original file does not include changes that you make to the copy.
Initially, the application opens a copy of the file that is stored in the temp directory. On Windows, the temp directory is specified in the %TEMP% environment variable. On Linux and Solaris, the temp directory is /tmp/VMwareDnD. Save the file in a different directory to protect changes that you make.
Drag-and-Drop Requirements and Restrictions
The drag-and-drop feature has certain requirements and restrictions.
You must install VMware Tools in a virtual machine to use the drag-and-drop feature.
n
The drag-and-drop feature requires Linux hosts and guests to run X Windows and Solaris 10 guests to
n
run an Xorg X server and JDS/Gnome.
You can drag images between applications on Windows hosts and applications on Windows guests
n
only. Dragging images is not supported for Linux hosts or guests.
You can drag files and directories, email attachments, plain text, and formatted text between Linux and
n
Windows hosts and Linux, Windows, and Solaris 10 guests only.
Dragging email attachments is restricted to images or files smaller than 4MB.
n
Dragging plain text and formatted text (including the formatting) is restricted to amounts less than
n
4MB.
Dragging text is restricted to text in languages that can be represented by Unicode characters.
n
Workstation Pro uses the PNG format to encode images that are dragged. Dragging images is restricted
n
to images smaller than 4MB after conversion to PNG format.
On Windows 95 and Windows 98 guests, the drag-and-drop feature is supported only for files and
n
directories.
Disable the Drag-and-Drop Feature
The drag-and-drop feature is enabled by default when you create a virtual machine in Workstation Pro. To prevent dragging and dropping between a virtual machine and the host system, disable the drag-and-drop feature.
NOTE You cannot enable or disable the drag-and-drop feature for a shared or remote virtual machine.
Procedure
1 Select the virtual machine and select VM > Settings.
Page 79
Chapter 4 Using Virtual Machines
2 On the Options tab, select Guest Isolation.
3 Deselect Enable drag and drop.
4 Click OK to save your changes.

Using the Copy and Paste Feature

You can cut, copy, and paste text between virtual machines and between applications running in virtual machines.
You can also cut, copy, and paste images, plain text, formatted text, and email attachments between applications running on the host system and applications running in virtual machines.
Copy and Paste Requirements and Restrictions
The copy and paste feature has certain requirements and restrictions.
You must install VMware Tools in a virtual machine to use the copy and paste feature.
n
The copy and paste feature works with Linux and Windows hosts and Linux, Windows, and Solaris 10
n
guests only.
The copy and paste feature requires Linux hosts and guests to run X Windows and Solaris 10 guests to
n
run an Xorg X server and JDS/Gnome.
Copying and pasting email attachments is restricted to images or files smaller than 4MB.
n
Copying and pasting plain text and formatted text (including the formatting) is restricted to amounts
n
less than 4MB.
Copying and pasting text is restricted to text in languages that can be represented by Unicode
n
characters.
Workstation Pro uses the PNG format to encode images that are copied and pasted. Copying and
n
pasting images is restricted to images smaller than 4MB after conversion to PNG format.
You cannot copy and paste files between virtual machines.
n
On Windows 95 and Windows 98 guests, copying and pasting is restricted to plain text in amounts less
n
than 64KB.
Disable the Copy and Paste Feature
The copy and paste feature is enabled by default when you create a virtual machine in Workstation Pro. To prevent copying and pasting between a virtual machine and the host system, disable the copy and paste feature.
NOTE You cannot enable or disable the copy and paste feature for a shared or remote virtual machine.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Options tab, select Guest Isolation.
3 Deselect Enable copy and paste.
4 Click OK to save your changes.
VMware, Inc. 79
Page 80
Using VMware Workstation Pro

Using Shared Folders

You can use shared folders to share files among virtual machines and between virtual machines and the host system. The directories that you add as shared folders can be on the host system, or they can be network directories that are accessible from the host computer.
IMPORTANT You cannot open a file in a shared folder from more than one application at a time. For example, do not open the same file in an application on the host operating system and in another application in the guest operating system. If one of the applications writes to the file, data might be corrupted.
Guest Operating Systems That Support Shared Folders on page 80
n
To use shared folders, a virtual machine must have a supported guest operating system.
Enable a Shared Folder for a Virtual Machine on page 81
n
You can enable folder sharing for a specific virtual machine. To set up a folder for sharing between virtual machines, you must configure each virtual machine to use the same directory on the host system or network share.
Enable Shared Folders for Virtual Machines Created By Other Users on page 82
n
If a shared folder is not created by the user who powers on the virtual machine, it is disabled by default. This is a security precaution.
View Shared Folders in a Windows Guest on page 82
n
In a Windows guest operating system, you can view shared folders by using desktop icons.
Mounting Shared Folders in a Linux Guest on page 83
n
After you have enabled a shared folder, you can mount one or more directories or subdirectories in the shared folder to any location in the file system in addition to the default location of /mnt/hgfs.
Change Shared Folder Properties on page 84
n
After you create a shared folder, you can change the folder name, the host path, and other attributes.
Change the Folders That a Virtual Machine Can Share on page 85
n
You can change the folders that a specific virtual machine is allowed to share.
Disable Folder Sharing for a Virtual Machine on page 85
n
You can disable folder sharing for a specific virtual machine.
Guest Operating Systems That Support Shared Folders
To use shared folders, a virtual machine must have a supported guest operating system.
The following guest operating systems support shared folders.
Windows Server 2003
n
Windows 2000
n
Windows NT 4.0
n
Windows Vista
n
Windows XP
n
Windows 7
n
Windows 8
n
Windows 10
n
Linux with a kernel version of 2.6 or later
n
Page 81
Chapter 4 Using Virtual Machines
Solaris x86 10
n
Solaris x86 10 Update 1 and later
n
Enable a Shared Folder for a Virtual Machine
You can enable folder sharing for a specific virtual machine. To set up a folder for sharing between virtual machines, you must configure each virtual machine to use the same directory on the host system or network share.
NOTE You cannot enable a shared folder for a shared or remote virtual machine.
Prerequisites
Verify that the virtual machines use a guest operating system that supports shared folders. See “Guest
n
Operating Systems That Support Shared Folders,” on page 80.
Verify that the latest version of VMware Tools is installed in the guest operating system.
n
Verify that permission settings on the host system allow access to files in the shared folders. For
n
example, if you are running Workstation Pro as a user named User, the virtual machine can read and write files in the shared folder only if User has permission to read and write them.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Options tab, select Shared Folders.
3 Select a folder sharing option.
Option Description
Always enabled
Enabled until next power off or suspend
Keep folder sharing enabled, even when the virtual machine is shut down, suspended, or powered off.
Enable folder sharing temporarily, until you power off, suspend, or shut down the virtual machine. If you restart the virtual machine, shared folders remain enabled. This setting is available only when the virtual machine is powered on.
4 (Optional) To map a drive to the Shared Folders directory, select Map as a network drive in Windows
guests.
This directory contains all of the shared folders that you enable. Workstation Pro selects the drive letter.
5 Click Add to add a shared folder.
On Windows hosts, the Add Shared Folder wizard starts. On Linux hosts, the Shared Folder Properties dialog box opens.
6 Type the path on the host system to the directory to share.
If you specify a directory on a network share, such as D:\share, Workstation Pro always attempts to use that path. If the directory is later connected to the host on a different drive letter, Workstation Pro cannot locate the shared folder.
7 Specify the name of the shared folder as it should appear inside the virtual machine.
Characters that the guest operating system considers illegal in a share name appear differently when viewed inside the guest. For example, if you use an asterisk in a share name, you see %002A instead of * in the share name on the guest. Illegal characters are converted to their ASCII hexadecimal value.
VMware, Inc. 81
Page 82
Using VMware Workstation Pro
8 Select shared folder attributes.
Option Description
Enable this share
Read-only
9 Click Finish to add the shared folder.
The shared folder appears in the Folders list. The check box next to folder name indicates that the folder is being shared. You can deselect this check box to disable sharing for the folder.
10 Click OK to save your changes.
What to do next
View the shared folder. On Linux guests, shared folders appear under /mnt/hgfs. On Solaris guests, shared folders appear under /hgfs. To view shared folders on a Windows guest, see “View Shared Folders in a
Windows Guest,” on page 82.
Enable the shared folder. Deselect this option to disable a shared folder without deleting it from the virtual machine configuration.
Make the shared folder read-only. When this property is selected, the virtual machine can view and copy files from the shared folder, but it cannot add, change, or remove files. Access to files in the shared folder is also governed by permission settings on the host computer.
Enable Shared Folders for Virtual Machines Created By Other Users
If a shared folder is not created by the user who powers on the virtual machine, it is disabled by default. This is a security precaution.
Folder sharing is also disabled by default for Workstation 4 and 5.x virtual machines, regardless of who creates the folder.
IMPORTANT Enabling shared folders on all virtual machines can pose a security risk because a shared folder might enable existing programs inside the virtual machine to access the host file system without your knowledge.
Procedure
1 Select Edit > Preferences.
2 Select Workspace and select Enable all shared folders by default.
This setting applies to shared folders on all virtual machines that are created by other users.
View Shared Folders in a Windows Guest
In a Windows guest operating system, you can view shared folders by using desktop icons.
NOTE If the guest operating system has VMware Tools from Workstation 4.0, shared folders appear as folders on a designated drive letter.
Procedure
Depending on the Windows operating system version, look for VMware Shared Folders in My
n
Network Places, Network Neighborhood, or Network.
If you mapped the shared folder as a network drive, open My Computer and look for Shared Folders
n
on 'vmware-host' under Network Drives.
To view a specific shared folder, go directly to the folder by using the UNC path \\vmware-
n
host\Shared Folders\shared_folder_name.
82 VMware, Inc.
Page 83
Chapter 4 Using Virtual Machines
Mounting Shared Folders in a Linux Guest
After you have enabled a shared folder, you can mount one or more directories or subdirectories in the shared folder to any location in the file system in addition to the default location of /mnt/hgfs.
Use the mount command to mount all shares, one share, or a subdirectory within a share to any location in the file system.
Table 42. Mount Command Syntax
Command Description
mount -t vmhgfs .host:/ /home/user1/shares Mounts all shares to /home/user1/shares
mount -t vmhgfs .host:/foo /tmp/foo Mounts the share named foo to /tmp/foo
mount -t vmhgfs .host:/foo/bar /var/lib/bar Mounts the subdirectory bar within the share
foo to /var/lib/bar
You can use VMware-specific options in addition to the standard mount syntax. For usage information for the host-guest file system options, type the command /sbin/mount.vmhgfs -h.
When you install VMware Tools, an entry is made to etc/fstab to specify the location of shared folders. You can edit this file to change or add entries. For example, to auto-mount at startup, edit /etc/fstab and add the line:
.host:/ /mnt/hgfs vmhgfs defaults 0 0
The VMware Tools services script loads a driver that performs the mount. If the mount fails, a message appears regarding mounting HGFS shares.
NOTE The mount can fail if shared folders are disabled or if the share does not exist. You are not prompted to run the VMware Tools vmware-config-tools.pl configuration program again.
Optimizing Read and Write Access to Shared Files on Linux
Host-guest file sharing is integrated with the guest page cache. Files in shared folders are cached for reading and can be written to asynchronously.
Files that are being actively written to from the guest do not experience read caching benefits. To improve performance, you can use the mount command time-to-live (ttl) option to specify the interval that the host­guest file system (hgfs) driver uses for validating file attributes.
For example, to validate attributes every 3 seconds instead of every 1 second, which is the default, use the following command.
mount -o ttl=3 -t vmhgfs .host:/sharemountpoint
NOTE Lengthening the interval involves some risk. If a process in the host modifies file attributes, the guest operating system might not get the modifications as quickly and the file can become corrupted.
Using Permissions to Restrict Access to Shared Files in a Linux Guest
You can use permissions to restrict access to the files in a shared folder on a Linux guest operating system.
On a Linux host, if you create files that you want to share with a Linux guest operating system, the file permissions shown on the guest operating system are the same as the permissions on the host system. You can use the fmask and dmask commands to mask permissions bits for files and directories.
If you create files on a Windows host system that you want to share with a Linux guest operating system, read-only files are displayed as having read and execute permission for everyone and other files are shown as fully writable by everyone.
Page 84
Using VMware Workstation Pro
If you use a Linux guest operating system to create files for which you want to restrict permissions, use the
mount program with the following options in the guest operating system.
uid
n
gid
n
fmask
n
dmask
n
ro (read only)
n
rw (read-write)
n
rw is the default.
If you are using a virtual machine that was created with the Windows version of Workstation Pro, or a previous release of the Linux version of Workstation Pro, you can change the owner permissions only.
Change Shared Folder Properties
After you create a shared folder, you can change the folder name, the host path, and other attributes.
Prerequisites
Create a shared folder. See “Enable a Shared Folder for a Virtual Machine,” on page 81.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Options tab, select Shared Folders.
3 Select the shared folder in the folders list and click Properties.
4 To change the name of the shared folder as it appears inside the virtual machine, type the new name in
the Name text box.
Characters that the guest operating system considers illegal in a share name appear differently when viewed inside the guest. For example, if you use an asterisk in a share name, you see %002A instead of * in the share name on the guest. Illegal characters are converted to their ASCII hexadecimal value.
5 To change the host path for the shared folder, browse to or type the new path in the Host path text box.
If you specify a directory on a network share, such as D:\share, Workstation Pro always attempts to use that path. If the directory is later connected to the host on a different drive letter, Workstation Pro cannot locate the shared folder.
6 To change an attribute for the shared folder, select or deselect the attribute.
Option Description
Enabled
Read-only
Enable the shared folder. Deselect this option to disable a shared folder without deleting it from the virtual machine configuration.
Make the shared folder read-only. When this property is selected, the virtual machine can view and copy files from the shared folder, but it cannot add, change, or remove files. Access to files in the shared folder is also governed by permission settings on the host computer.
7 Click OK to save your changes.
Page 85
Chapter 4 Using Virtual Machines
Change the Folders That a Virtual Machine Can Share
You can change the folders that a specific virtual machine is allowed to share.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Options tab, select Shared Folders.
3 In the folders list, select the check boxes next to the folders to share and deselect the check boxes next to
the folders to disable.
4 Click OK to save your changes.
Disable Folder Sharing for a Virtual Machine
You can disable folder sharing for a specific virtual machine.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Options tab, select Shared Folders.
3 Select Disabled to disable folder sharing.
4 Click OK to save your changes.

Mapping a Virtual Disk to the Host System

Instead of using shared folders or copying data between a virtual machine and the host system, you can map a virtual disk to the host system. In this case, you map a virtual disk in the host file system as a separate mapped drive. Using a mapped drive lets you connect to the virtual disk without going into a virtual machine.
Map or Mount a Virtual Disk to a Drive on the Host System
When you map a virtual disk and its associated volume to a drive on the host system, you can connect to the virtual disk without opening a virtual machine.
After you map the virtual disk to a drive on the host system, you cannot power on any virtual machine that uses the disk until you disconnect the disk from the host system.
NOTE You cannot map a virtual hard disk for a shared or remote virtual machine.
IMPORTANT If you mount a virtual disk that has a snapshot and then write to the disk, you can irreparably
damage a snapshot or linked clone created from the virtual machine.
Prerequisites
Power off all virtual machines that use the virtual disk.
n
Verify that the virtual disk (.vmdk) files on the virtual disk are not compressed and do not have read-
n
only permissions.
On a Windows host, verify that the volume is formatted with FAT (12/16/32) or NTFS. Only FAT
n
(12/16/32) and NTFS formatting is supported. If the virtual disk has mixed partitions, for example, one partition is formatted with a Linux operating system and another partition is formatted with a Windows operating system, you can map the Windows partition only.
Verify that the virtual disk is unencrypted. You cannot map or mount encrypted disks.
n
Page 86
Using VMware Workstation Pro
Procedure
1 Mount the virtual disk to a drive on the host system.
Option Description
Windows host
Linux host
2 Map or mount the virtual disk.
Option Description
Windows host
Linux host
3 (Optional) You can also map a virtual disk from Windows Explorer.
a Open Explorer and browse to the .vmdk file you want to map.
b Right-click the .vmdk file and select Map Virtual Disk.
The menu also allows you to map the first volume of the .vmdk file to a drive immediately. If you select that option, no further configurations are needed.
Select File > Map Virtual Disks.
Select File > Mount Virtual Disks.
In the Map or Disconnect Virtual Disks dialog box, click Map.
In the Mount or Unmount Virtual Disks dialog box, click Mount Disk.
4 On a Windows host, leave the check box Open file in read-only mode selected in the Map Virtual Disk
dialog box.
This setting prevents you from accidentally writing data to a virtual disk that might be the parent of a snapshot or linked clone. Writing to such a disk might make the snapshot or linked clone unusable.
5 On a Linux host, select the Mount in read-only mode check box in the Mount Disk dialog box.
This setting prevents you from accidentally writing data to a virtual disk that might be the parent of a snapshot or linked clone. Writing to such a disk might make the snapshot or linked clone unusable.
6 Browse to a virtual disk (.vmdk) file, select it, and click Open.
7 Select the volume to map or mount and select an unused drive letter on the host system.
8 (Optional) On a Windows host, if you do not want the drive to open in Windows Explorer after it is
mapped, deselect the Open drive in Windows Explorer after mapping check box.
9 Click OK or Mount.
The drive appears on the host system. You can read from or write to files on the mapped virtual disk on the host system.
10 (Optional) View the mapped or mounted drive.
Option Description
Windows host
Linux host
Select File > Map Virtual Disks. A list of mapped drives displays.
Select File > Mount Virtual Disks. A list of mounted drives displays.
Disconnect a Virtual Disk from the Host System
To use a virtual disk from a virtual machine after it has been mapped or mounted on the host system, you must disconnect it from the host system.
On Windows hosts, you must use Workstation Pro to disconnect the drive from the host system. The mapped drive letter does not appear in the list of network drives when you use the Windows Disconnect Network Drive command.
Page 87
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Hardware tab, select Hard Disk, click Utilities, and select Disconnect.
You can now power on any virtual machine that uses this disk.

Add a Host Printer to a Virtual Machine

You can print from a virtual machine to any printer available to the host computer without having to install additional drivers in the virtual machine.
The Workstation Pro printer feature uses ThinPrint technology to replicate the host system printer mapping in the virtual machine. When you enable the virtual machine printer, Workstation Pro configures a virtual serial port to communicate with the host printers.
NOTE You cannot add a printer to a shared or remote virtual machine.
Prerequisites
Support for virtual printers is disabled by default. To enable virtual printer support, see “Configuring
Virtual Printers on Windows Hosts,” on page 239
Chapter 4 Using Virtual Machines
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Hardware tab, select Add.
3 In the Add Hardware wizard, select Printer and Finish.
The default device setting is to connect the virtual machine printer when the virtual machine is powered on.
What to do next
In a Print window, when you attempt to select a printer in Windows 7 virtual machines, you might see only the default printer, even though other printers are available. To see the other printers, right-click the default printer and point to Printer properties.

Using Removable Devices in Virtual Machines

You can use removable devices such as floppy drives, DVD and CD-ROM drives, USB devices, and smart card readers in virtual machines.
Some devices cannot be used by the host system and a guest operating system, or by multiple guest operating systems, simultaneously.
For example, if the host system is using a floppy drive, you must connect the floppy drive to the virtual machine before you can use it in the virtual machine. To use the floppy drive on the host again, you must disconnect it from the virtual machine. By default, a floppy drive is not connected when a virtual machine powers on.

Use a Removable Device in a Virtual Machine

You can connect and disconnect removable devices in a virtual machine. You can also change the settings for a removable device by modifying virtual machine settings.
Prerequisites
Power on the virtual machine.
n
Page 88
Using VMware Workstation Pro
If you are connecting or disconnecting a USB device, familiarize yourself with the way Workstation Pro
n
handles USB devices. See “Connecting USB Devices to Virtual Machines,” on page 88.
If you are connecting or disconnecting a USB device on a Linux host and the USB device file system is
n
not located in /proc/bus/usb, mount the USB file system to that location. See “Mount the USB File
System on a Linux Host,” on page 89.
Procedure
To connect a removable device, select the virtual machine, select VM > Removable Devices, select the
n
device, and select Connect.
If the device is connected to the host system through a USB hub, the virtual machine sees only the USB device, not the hub.
A check mark appears next to the name of the device when the device is connected to the virtual machine and a device icon appears on the virtual machine taskbar.
To change the settings for a removable device, select VM > Removable Devices, select the device, and
n
select Settings.
To disconnect a removable device, select the virtual machine, select VM > Removable Devices, select
n
the device, and select Disconnect.
You can also disconnect the device by clicking or right-clicking the device icon on the virtual machine taskbar. Using the taskbar icon is especially useful if you run the virtual machine in full screen mode.

Connecting USB Devices to Virtual Machines

When a virtual machine is running, its window is the active window. If you plug a USB device into the host system, the device connects to the virtual machine instead of the host by default. If a USB device connected to the host system does not connect to a virtual machine at power on, you must manually connect the device to the virtual machine.
When you connect a USB device to a virtual machine, Workstation Pro retains the connection to the affected port on the host system. You can suspend or power off the virtual machine, or unplug the device. When you plug in the device again or resume the virtual machine, Workstation Pro reconnects the device. Workstation Pro retains the connection by writing an autoconnect entry to the virtual machine configuration (.vmx) file.
If Workstation Pro cannot reconnect to the device, for example, because you disconnected the device, the device is removed and Workstation Pro displays a message to indicate that it cannot connect to the device. You can connect to the device manually if it is still available.
Follow the device manufacturer's procedures for unplugging the device from the host computer when you physically unplug the device, move the device from host system to a virtual machine, move the device between virtual machines, or move the device from a virtual machine to the host computer. Following these procedures is especially important for data storage devices, such as zip drives. If you move a data storage device too soon after saving a file and the operating system did not actually write the data to the disk, you can lose data.
Installing USB Drivers on Windows Hosts on page 89
n
When a particular USB device is connected to a virtual machine for the first time, the host detects it as a new device named VMware USB Device and installs the appropriate VMware driver.
Disable Automatic Connection of USB Devices on page 89
n
You can disable the autoconnect feature if you do not want USB devices to connect to a virtual machine when you power it on.
88 VMware, Inc.
Page 89
Chapter 4 Using Virtual Machines
Mount the USB File System on a Linux Host on page 89
n
On Linux hosts, Workstation Pro uses the USB device file system to connect to USB devices. If the USB device file system is not located in /proc/bus/usb, you must mount the USB file system to that location.
Connect USB HIDs to a Virtual Machine on page 90
n
To connect USB human interface devices (HIDs) to a virtual machine, you must configure the virtual machine to show all USB input devices in the Removable Devices menu.
Install a PDA Driver and Synchronize With a Virtual Machine on page 90
n
To install a PDA driver in a virtual machine, you must synchronize the PDA with the virtual machine.
Installing USB Drivers on Windows Hosts
When a particular USB device is connected to a virtual machine for the first time, the host detects it as a new device named VMware USB Device and installs the appropriate VMware driver.
The Windows operating system prompts you to run the Microsoft Windows Found New Hardware wizard. Select the default action to install the software automatically. After the software is installed, the guest operating system detects the USB device and searches for a suitable driver.
Disable Automatic Connection of USB Devices
You can disable the autoconnect feature if you do not want USB devices to connect to a virtual machine when you power it on.
Prerequisites
Power off the virtual machine.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Hardware tab, select USB Controller.
3 Deselect Automatically connect new USB devices to disable automatic connection of USB devices.
4 Click OK to save your changes.
Mount the USB File System on a Linux Host
On Linux hosts, Workstation Pro uses the USB device file system to connect to USB devices. If the USB device file system is not located in /proc/bus/usb, you must mount the USB file system to that location.
IMPORTANT Do not attempt to add a USB drive device node directory, for example, /dev/sda, to the virtual machine as a hard disk.
Prerequisites
Verify that you have root access to the host system.
Procedure
1 As root, mount the USB file system.
mount -t usbfs none /proc/bus/usb
2 Connect the USB device to the host system.
Page 90
Using VMware Workstation Pro
Connect USB HIDs to a Virtual Machine
To connect USB human interface devices (HIDs) to a virtual machine, you must configure the virtual machine to show all USB input devices in the Removable Devices menu.
By default, USB HIDs, such as USB 1.1 and 2.0 mouse and keyboard devices, do not appear in the Removable Devices menu in a virtual machine, even though they are plugged in to USB ports on the host system.
An HID that is connected to a virtual machine is not available to the host system.
NOTE You cannot configure a shared or remote virtual machine to show all USB input devices.
Prerequisites
Power off the virtual machine.
n
If you are using a KVM switch for a mouse or keyboard, disable automatic connection of USB devices.
n
See “Disable Automatic Connection of USB Devices,” on page 89.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Hardware tab, select USB Controller.
3 Select Show all USB input devices.
This option allows users to use special USB HIDs inside the virtual machine.
4 Click OK to save your changes.
5 Power on the virtual machine.
HIDs appear in the Removable Devices menu.
Install a PDA Driver and Synchronize With a Virtual Machine
To install a PDA driver in a virtual machine, you must synchronize the PDA with the virtual machine.
Procedure
1 Connect the PDA to the host system and synchronize it with the host system.
The PDA driver should begin installing in the virtual machine.
2 Allow the virtual machine to install the PDA driver.
3 If connection warning messages appear, dismiss them.
4 If the PDA disconnects from the host system before the virtual machine can synchronize with it,
synchronize the PDA with the host system again.
The total time required to load the VMware USB device driver in the host system and install the PDA driver in the virtual machine might exceed the device connection timeout value. A second synchronization attempt usually succeeds.
Page 91
Chapter 4 Using Virtual Machines

Troubleshooting USB Device Control Sharing

Only the host system or the virtual machine can have control of a particular USB device at any one time. Device control operates differently, depending on whether the host system is a Linux or a Windows computer.
When you connect a device to a virtual machine, it is disconnected from the host system or from the virtual machine that previously had control of the device. When you disconnect a device from a virtual machine, it is returned to the host system.
Under some circumstances, if a USB storage device is in use on the host system, for example, one or more files stored on the device are open on the host, an error appears in the virtual machine when you try to connect to the device. You must let the host system complete its operation or close any application connected to the device on the host system and connect to the device in the virtual machine again.
Troubleshoot USB Device Control Issues on a Linux Host
You have problems connecting or disconnecting USB devices on a Linux host system.
Problem
You are prompted to disconnect the driver on the host system when you connect a USB device to the virtual machine or disconnecting the device fails.
Cause
On Linux host systems, guest operating systems can use devices that are not claimed by a host operating system driver. A related issue sometimes affects devices that rely on automatic connection, such as PDAs. Occasionally, even if you successfully use autoconnection to connect the device to the virtual machine, you might experience problems with the connection to the device.
Solution
1 If you have problems with autoconnection, perform these steps.
a Select the virtual machine and select VM > Removable Devices to disconnect and reconnect the
device.
b If the problem persists, unplug the device and plug it in again.
c If a warning message indicates that the device is in use, disable the device in the hotplug
configuration files in the /etc/hotplug directory.
The documentation for the Linux distribution contains information on editing these configuration files.
2 If disconnection fails, either disable the driver or unload the driver manually.
Option Description
Disable the driver
Unload the driver manually
If the driver was automatically loaded by hotplug, disable it in the hotplug configuration files in the /etc/hotplug directory. See the documentation for your Linux distribution for information on editing these configuration files.
Become root (su -) and use the rmmod command.
Page 92
Using VMware Workstation Pro

Using Smart Cards in Virtual Machines

Virtual machines can connect to smart card readers that interface to serial ports, parallel ports, USB ports, PCMCIA slots, and PCI slots. A virtual machine considers a smart card reader to be a type of USB device.
A smart card is a plastic card that has an embedded computer chip. Many government agencies and large enterprises use smart cards to send secure communication, digitally sign documents, and authenticate users who access their computer networks. Users plug a smart card reader into their computer and insert their smart card in the reader. They are then prompted for their PIN to log in.
You can select a smart card reader from the Removable Devices menu in a virtual machine. A smart card can be shared between virtual machines, or between the host system and one or more virtual machines. Sharing is enabled by default.
When you plug a smart card reader into the host system, the reader appears as two separate USB devices in Workstation Pro. This is because you can use smart cards in one of two mutually exclusive modes.
Shared mode
(Recommended) The smart card reader device is available as Shared smart_card_reader_model in the Removable Devices menu. In Windows XP guest operating systems, the shared reader appears as USB Smart Card Reader after it is connected to the virtual machine. In Windows Vista and Windows 7 guest operating systems, the generic smart card reader device name appears under the Windows Device Manager list. The smart card reader can be shared among applications on the host system and among applications in different guest operating systems.
USB passthrough mode
The smart card reader device is available as smart_card_reader_model in the Removable Devices menu. In USB passthrough mode, a single virtual machine directly controls the physical smart card reader. A USB passthrough smart card reader cannot be used by applications on the host system or by applications in other virtual machines. You should use USB passthrough mode only if connection in shared mode does not work well for your scenario. You might need to install the driver provided by the manufacturer to use USB passthrough mode.
You can use smart cards with Windows operating systems and most Linux distributions. VMware provides full smart card support for Windows virtual machines running on Linux hosts. Using smart cards in Linux typically requires third-party software to effectively authenticate to a domain or enable secure communications.
NOTE Although smart cards should work with common Linux browsers, email applications, and directory services, these products have not been tested or certified by VMware.
Use a Smart Card in a Virtual Machine
You can configure a virtual machine to use the smart card reader on the host system.
Prerequisites
On a Windows host, start the SCardSvr.exe service.
n
On a Linux host, verify that the libpcsclite library is installed and that the pcscd daemon is running.
n
Verify that the virtual machine has a USB controller. A USB controller is required, regardless of whether
n
the smart card reader is a USB device. A USB controller is added by default when you create a virtual machine.
Connect the smart card reader to the host system.
n
Start the virtual machine
n
Page 93
Chapter 4 Using Virtual Machines
Procedure
To connect the smart card reader to the virtual machine, select the virtual machine and select VM >
n
Removable Devices > Shared <smart_card_reader_model> > Connect.
If the smart card reader is a USB device, two items appear for it in the menu. Both items use the model name of the reader, but one item name begins with Shared.
To disconnect the smart card reader from the virtual machine, select VM > Removable Devices >
n
Shared <smart_card_reader_model> > Disconnect.
To remove the smart card from the virtual machine, select VM > Removable Devices > Shared
n
<smart_card_reader_model> > Remove Smart Card.
The smart card is removed from the virtual machine, but it remains connected on the host system. If the smart card is physically removed from the smart card reader, this option is disabled.
To insert the smart card to the virtual machine, select VM > Removable Devices > Shared
n
<smart_card_reader_model> > Insert Smart Card.
If the smart card is physically inserted in the smart card reader, the smart card is also inserted in the virtual machine.
Disable Smart Card Sharing
By default, you can share a smart card between virtual machines or between the host system and one or more virtual machines. You might want to disable smart card sharing if you are using a PCMCIA smart card reader, deploying virtual machines for enterprise use and do not want to support drivers for various smart card readers, or the host system has drivers but the virtual machines do not.
The setting that controls smart card sharing is located in the Workstation Pro global configuration file.
Procedure
1 Find the global configuration file on the host system.
Operating System Location
Windows Server 2008 R2, Windows 7, Windows 8, Windows 10 hosts
Linux hosts
C:\ProgramData\VMware\VMware Workstation\config.ini
/etc/vmware/config
2 If the global configuration file does not yet exist on the host system, select Edit > Preferences and
change at least one Workstation Pro preference settings.
Workstation Pro creates the global configuration file when you change Workstation Pro preference settings.
3 Open the global configuration file in a text editor and set the usb.ccid.useSharedMode property to
FALSE.
For example: usb.ccid.useSharedMode = "FALSE"
4 Save and close the global configuration file.
5 Set permissions on the global configuration file so that other users cannot change it.
Page 94
Using VMware Workstation Pro
Switch to a Virtual Smart Card Reader on a Linux Host
Because of the way smart card reader functionality is implemented on Linux hosts, you must exit Workstation Pro and restart the pcscd daemon on the host system before you can switch from the non­virtual smart card reader to the virtual smart card reader.
Procedure
1 Select the virtual machine, select VM > Removable Devices, select the smart card reader, and select
Disconnect.
2 Power off the virtual machine and exit Workstation Pro.
3 Physically disconnect the smart card reader from the host system.
4 Restart the pcscd daemon on the host system.
5 Physically connect the smart card reader to the host system.
6 Start Workstation Pro and start the virtual machine.
7 Select the virtual machine, select VM > Removable Devices, select the smart card reader, and select
Connect.

Changing the Virtual Machine Display

You can change the way Workstation Pro displays virtual machines and virtual machine applications. You can use full screen mode to make the virtual machine display fill the screen and use multiple monitors.
You can also match the Workstation Pro console with the guest operating system display size.
Use Full Screen Mode on page 95
n
In full screen mode, the virtual machine display fills the screen and you cannot see the borders of the Workstation Pro window.
Use Exclusive Mode on page 96
n
Like full screen mode, exclusive mode causes the Workstation Pro virtual machine display to fill the screen. You might want to use exclusive mode to run graphics-intensive applications, such as games, in full screen mode.
Use Unity Mode on page 96
n
You can switch virtual machines that have Windows XP or later guest operating systems to Unity mode to display applications directly on the host system desktop.
Use Multiple Monitors for One Virtual Machine on page 97
n
If the host system has multiple monitors, you can configure a virtual machine to use multiple monitors. You can use the multiple-monitor feature when the virtual machine is in full screen mode.
Use Multiple Monitors for Multiple Virtual Machines on page 98
n
If the host system has multiple monitors, you can run a different virtual machine on each monitor.
Fit the Workstation Pro Console to the Guest Operating System Display on page 99
n
You can control the size of the virtual machine display and match the Workstation Pro console with the display size of the guest operating system for an active virtual machine.
Page 95
Chapter 4 Using Virtual Machines

Use Full Screen Mode

In full screen mode, the virtual machine display fills the screen and you cannot see the borders of the Workstation Pro window.
You can configure the guest operating system to report battery information. This feature is useful when you run a virtual machine in full screen mode on a laptop. See “Report Battery Information in the Guest,” on page 95.
Prerequisites
Verify that the latest version of VMware Tools is installed in the guest operating system.
n
Verify that the guest operating system display mode is larger than the host system display mode. If the
n
guest operating system display mode is smaller than the host system display mode, you might not be able to enter full screen mode. If you cannot enter full screen mode, add the line
mks.maxRefreshRate=1000 to the virtual machine configuration (.vmx) file.
Power on the virtual machine.
n
If you have multiple monitors, move the Workstation Pro window onto the monitor to use for full
n
screen mode.
Procedure
To enter full screen mode, select the virtual machine and select View > Full Screen.
n
Press Ctrl+Alt+right arrow to switch to the next powered-on virtual machine and Ctrl+Alt+left arrow to
n
switch to the previous powered-on virtual machine.
When in full screen mode, you can also use the tabs on the full screen toolbar to switch between
n
powered-on virtual machines.
To hide the full screen toolbar while you are using full screen mode, click the push pin icon on the full
n
screen toolbar and move the mouse pointer off of the toolbar.
The toolbar is unpinned and slides up to the top of the monitor and disappears.
To show the full screen toolbar after it has been hidden, point to the top of the screen until the toolbar
n
appears and click the push pin icon.
To exit full screen mode, on the full screen toolbar select View > Full Screen, and deselect Full Screen.
n
Report Battery Information in the Guest
If you run a virtual machine on a laptop in full screen mode, configure the option to report battery information in the guest so that you can determine when the battery is running low.
Prerequisites
Power off the virtual machine.
Procedure
1 Select the virtual machine and select VM > Settings.
2 On the Options tab, select Power.
3 Select Report battery information to guest.
4 Click OK to save your changes.
VMware, Inc. 95
Page 96
Using VMware Workstation Pro

Use Exclusive Mode

Like full screen mode, exclusive mode causes the Workstation Pro virtual machine display to fill the screen. You might want to use exclusive mode to run graphics-intensive applications, such as games, in full screen mode.
Exclusive mode has certain advantages and limitations.
The full screen toolbar is not engaged when you move the mouse to the top of the screen. To configure
n
virtual machine settings, you must exit exclusive mode.
When input is grabbed by the virtual machine, only the ungrab shortcut is respected. You can change
n
the ungrab shortcut to reduce the chance of unintentionally pressing it.
On a Windows host, exclusive mode does not use multiple monitors.
n
Prerequisites
Verify that the latest version of VMware Tools is installed in the guest operating system.
n
Power on the virtual machine.
n
If you have multiple monitors, move the Workstation Pro window onto the monitor to use for exclusive
n
mode.
Enter full screen mode. See “Use Full Screen Mode,” on page 95.
n
Procedure
1 Enter full screen mode.
2 Select View > Exclusive Mode from the full screen toolbar.
What to do next
To exit exclusive mode, press Ctrl+Alt.
On a Windows or Linux host, pressing Ctrl+Alt returns you to full screen mode.

Use Unity Mode

You can switch virtual machines that have Windows XP or later guest operating systems to Unity mode to display applications directly on the host system desktop.
In Unity mode, virtual machine applications appear on the host system desktop, you can use the virtual machine Start or Applications menu from the host system, and the virtual machine console view is hidden. Items for open virtual machine applications appear on the host system taskbar in the same way as open host applications.
On host system and virtual machine applications that are displayed in Unity mode, you can use keyboard shortcuts to copy, cut, and paste images, plain text, formatted text, and email attachments between applications. You can also drag and drop and copy and paste files between the host system and the guest operating system.
If you save a file or attempt to open a file from an application in Unity mode, the file system you see is the file system inside the virtual machine. You cannot open a file from the host operating system or save a file to the host operating system.
For some guest operating systems, application windows in Unity mode can appear only on the monitor that is set as the primary display when you have multiple monitors. If the host and guest operating systems are Windows XP or later, the application windows can appear on additional monitors.
Page 97
Chapter 4 Using Virtual Machines
Unity mode is not available in full screen mode on Windows.
NOTE You cannot use Unity mode with a remote virtual machine.
Prerequisites
Verify that the latest version of VMware Tools is installed in the guest operating system.
n
Verify that the guest operating system is Windows XP or later.
n
Power on the virtual machine.
n
If you are entering Unity mode, open applications in the virtual machine to use in Unity mode.
n
Procedure
To enter Unity mode, select the virtual machine and select View > Unity.
n
The console view in the
Workstation Pro
window is hidden, and open applications appear in application windows on the host system desktop. A check mark appears next to Unity in the View menu.
To display the virtual machine Start menu on a Windows host system, point to the Start menu on a
n
Windows host system.
To display the virtual machine Applications menu on a Linux host system, point to the upper-left
n
corner of the primary monitor on the Linux host system.
To navigate between multiple Start or Applications menus when multiple virtual machines are in
n
Unity mode, press the arrow keys, Tab, or Shift+Tab to cycle through the virtual machine menus and press Enter and the spacebar to select a virtual machine.
To exit Unity mode, select View > Unity and deselect Unity.
n

Use Multiple Monitors for One Virtual Machine

If the host system has multiple monitors, you can configure a virtual machine to use multiple monitors. You can use the multiple-monitor feature when the virtual machine is in full screen mode.
NOTE You do not need to use the Windows display properties settings in a Windows guest operating system to configure multiple monitors.
Prerequisites
Verify that the virtual machine is a Workstation 6.x or later virtual machine.
n
Verify that the latest version of VMware Tools is installed in the guest operating system.
n
Verify that the guest operating system is Windows XP or later, or Linux.
n
Power off the virtual machine.
n
Procedure
1 Select Edit > Preferences.
2 Select Display, select Autofit guest, and click OK.
This setting causes the virtual machine display settings to match the application window when the application window is resized.
VMware, Inc. 97
Page 98
Using VMware Workstation Pro
3 If the virtual machine is set to be restored from a snapshot and background snapshots are enabled,
select Edit > Preferences > Priority. Deselect Take snapshots in the background when possible and Restore snapshots in the background when possibleand click OK.
Displaying the virtual machine on two monitors might not work correctly if these setting are enabled.
4 Power on the virtual machine and select View > Full Screen.
5 On the full screen toolbar, click the Choose a Monitor Layout button.
If the host system has more than two monitors, the Choose a Monitor Layout button provides a drop­down menu of monitor layouts. The monitors that are part of each layout are marked with a Workstation Pro icon.
The Choose a Monitor Layout button is available when the guest is Linux, or Windows Vista or later. For other guests, or if the host has two monitors, use the Cycle Multiple Monitors button to change the monitor layout.
On a Windows host, you can mouse over a button on the toolbar to see its name.
The guest operating system desktop extends to the additional monitor or monitors.
6 (Optional) If the virtual machine display does not resize correctly, select View > Autosize > Autofit
Guest.
Limitations for Mutiple Monitors
The use of more than two monitors with a virtual machine has certain limitations.
If you attempt to use more than two monitors with a virtual machine, your virtual machine must
n
support more than two monitors for this feature to function.
More than two monitors is supported on Windows and Linux host and guest operating systems.
n
Windows XP guests support more than three monitors. However, only three monitors can be in use by
n
a Windows XP guest at one time. If more than three monitors are connected to a Windows XP guest, use the Cycle multiple monitors button to cycle through the monitors to the configuration you want to use.

Use Multiple Monitors for Multiple Virtual Machines

If the host system has multiple monitors, you can run a different virtual machine on each monitor.
Prerequisites
Verify that the latest version of VMware Tools is installed in the guest operating system.
Procedure
1 Open a second Workstation Pro window.
Option Description
Open a new window from Workstation Pro
(Linux hosts only) Run a separate Workstation Pro process in a different X server
2 Start one or more virtual machines in each Workstation Pro window.
Select File > New Window. On Linux hosts, the windows operate in a single Workstation Pro process.
Use the vmware command with the -W flag, for example, vmware -W &.
Page 99
Chapter 4 Using Virtual Machines
3 Drag each Workstation Pro window to the monitor on which you want to use it.
If a virtual machine is running in one Workstation Pro window and you want to run that virtual machine in another Workstation Pro window, you must close the virtual machine in the first window before you attempt to open it in the other window.
4 To switch mouse and keyboard input from the virtual machine on the first monitor to the virtual
machine on the second monitor, move the pointer from one screen to the other screen and click inside the second monitor.

Fit the Workstation Pro Console to the Guest Operating System Display

You can control the size of the virtual machine display and match the Workstation Pro console with the display size of the guest operating system for an active virtual machine.
The fit options are redundant if the corresponding Autofit option is active because the console and the guest operating system display are the same size.
Prerequisites
For a Linux virtual machine, familiarize yourself with the considerations for resizing displays. See
n
“Considerations for Resizing Displays in Linux Virtual Machines,” on page 99.
For a Solaris virtual machine, familiarize yourself with the considerations for resizing displays. See
n
“Considerations for Resizing Displays in Solaris Virtual Machines,” on page 100.
Procedure
To configure a display size option, select View > Autosize and select an Autofit option.
n
Option Description
Autofit Guest
Stretch Guest
Center Guest
Autofit Window
The virtual machine resizes the guest display resolution to match the size of the Workstation Pro console.
The virtual machine changes the guest display to fit the full screen. The guest display resolution is not changed.
The virtual machine centers the guest display in the full screen. The guest display resolution is not changed.
The Workstation Pro console maintains the size of the virtual machine display resolution. If the guest operating system changes its resolution, the Workstation Pro console resizes to match the new resolution.
To configure a fit option, select View and select a fit option.
n
Option Description
Fit Window Now
Fit Guest Now
The Workstation Pro console changes to match the current display size of the guest operating system.
The guest operating system display size changes to match the current Workstation Pro console.
Considerations for Resizing Displays in Linux Virtual Machines
Certain considerations apply to resizing displays in Linux virtual machines.
If you have virtual machines that were suspended under a version of VMware Tools earlier than
n
version 5.5, display resizing does not work until the virtual machines are powered off and powered on again. Rebooting the guest operating system is not sufficient.
To use the resizing options, you must update VMware Tools to the latest version in the guest operating
n
system.
VMware, Inc. 99
Page 100
Using VMware Workstation Pro
You cannot use the Autofit Guest and Fit Guest Now options unless VMware Tools is running in the
n
guest operating system.
The resizing restrictions that the X11 Windows system imposes on physical host systems also apply to
n
guest operating systems.
You cannot resize to a mode that is not defined. The VMware Tools configuration script can add a
n
large number of mode lines, but you cannot resize in 1-pixel increments as you can in Windows. VMware Tools adds modelines in 100-pixel increments. This means that you cannot resize a guest larger than the largest mode defined in the X11 configuration file. If you attempt to resize larger than that mode, a black border appears and the guest operating system size stops increasing.
The X server always starts up in the largest defined resolution. The XDM/KDM/GDM login screen
n
always appears at the largest size. Because Gnome and KDE allow you to specify your preferred resolution, you can reduce the guest display size after you log in.
Considerations for Resizing Displays in Solaris Virtual Machines
Certain considerations apply to resizing displays in Solaris virtual machines.
To use the display resizing options, you must update VMware Tools to the latest version in the guest
n
operating system.
You cannot use the Autofit Guest and Fit Guest Now options unless VMware Tools is running in the
n
guest operating system.
Solaris 10 guests must be running an Xorg X server and JDS/Gnome.
n
Working with Nonstandard Resolutions
A guest operating system and its applications might react unexpectedly when the Workstation Pro console size is not a standard VESA resolution.
For example, you can use Autofit Guest and Fit Guest Now to set the guest operating system screen resolution smaller than 640×480, but some installers do not run at resolutions smaller than 640×480. Programs might refuse to run. Error messages might include phrases such as VGA Required to Install or
You must have VGA to install.
If the host computer screen resolution is high enough, you can enlarge the window and select Fit Guest Now. If the host computer screen resolution does not allow you to enlarge the Workstation Pro console
sufficiently, you can manually set the guest operating system’s screen resolution to 640×480 or larger.

Using Folders to Manage Virtual Machines

You can use folders to organize and manage multiple virtual machines in the library. When virtual machines are in a folder, you can manage them on the folder tab and perform batch power operations.
Add a Virtual Machine to a Folder on page 101
n
When you add a virtual machine to a folder, it remains an independent entity, but you can also perform batch power operations. For example you can power on, suspend, and resume each virtual machine in a folder separately, or you can power on, suspend, and resume all of the virtual machines in a folder at the same time.
Remove a Virtual Machine from a Folder on page 101
n
You can remove a virtual machine from a folder or move it to a different folder or subfolder.
Manage Virtual Machines in a Folder on page 101
n
When virtual machines are in a folder, you can manage them as a unit. For example, you can select multiple virtual machines on the folder tab and perform power operations on several virtual machines at the same time.
100 VMware, Inc.
Loading...