How to Set up a Virtual Machine on Your PC

It's easy to set up a virtual machine on your PC, creating a machine within a machine, using free desktop virtualization software from VMware. Here's a look at the advantages, plus instructions.

By Kevin Fogarty
Tue, November 17, 2009

CIO — Virtualization unquestionably pulls more power out of today's PCs, which are often loaded with more processor and hardware muscle than your everyday apps require. While many virtualization vendors and analysts focus most heavily on the data center side of virtualization, the desktop side delivers plenty of benefits. You can set up the lower-cost or free versions of virtualization software on lower-end servers in small branch offices to get the most out of aging hardware—or set up a VM on a home PC or laptop for convenience and security reasons.

[ Want to create a virtual XP machine inside your new Windows 7 PC? See our related story How to Create a Virtual PC on Windows 7 for step-by step instructions, plus tips for a safe, hassle-free install.]

It's not difficult to set up an x86 machine—which are more Mighty Mouse than mini in terms of power these days—in a small office or home office to run multiple VMs. Perhaps you'd like one VM to be used by the children in your family, so that any settings changes or trouble would be confined to that VM, for example. Perhaps you'd just like to separate your work-at-home and personal home computing environments.

What You'll Need

The first thing you need, for the purposes of this article, at least, is a Windows-based PC and a copy of either VMware Workstation or VMware Player, VMware's two lowest-cost versions of the virtual desktop.

VMware Player, free for personal use and downloadable here, includes a hypervisor and some very basic creation- and management tools. It's designed primarily to allow customers to run several operating systems on the same hardware, not to support multiple desktops running from one machine.

It's not designed to compete with Citrix or remote session-based virtual desktops. It's mainly designed to compete with XP Mode in Windows 7—a Virtual PC session running within Microsoft's newest operating system to let customers run older applications without putting off migration to the new OS.

Running more than a couple of virtual machines, or doing so without violating the no-commercial-use requirement in the license, means you need VMware Workstation, which can be purchased here. For $189 per machine, VMware Workstation includes technical support from VMware, tight integration with VMware's SpringSource Tool Suite to debug applications running in VMs, and free or low-cost updates from VMware.

VMware Workstation is also designed as a tool for personal computers or very small workgroups, rather than as an alternative to VMware View, Citrix or other products.

Both products allow IT staffers to create VM images that can be deployed elsewhere in the organization, or to run multiple operating systems to simulate a roomful of machines on which to test or debug software.

Both will also run VMs created using VMware server products, as well as Microsoft's virtual machines and Symantec's LiveState Recovery disks.

The two are designed to install simply, without any of the configuration issues typical of network-attached servers or VMs. Once you download either VMWare Player or VMware Workstation, launch the compressed files and follow instructions to pick file locations and application names.

Next Up: Find Your Image

Once the platform is installed, you can either launch a pre-configured VM that includes the OS and applications, or create your own VM. VMware's Virtual Appliance store has hundreds of commercial editions, and a range of free appliances that run Firefox on Ubuntu and other free combinations.

If you've downloaded an appliance (a .vmx file), launch the file explorer in VMware Player, navigate to the file, and launch it.

If you're creating your own, launch it in the same way you would install or restore any other operating system, from either a CD or an .iso file.

VMware doesn't support Microsoft recovery files, so you can't just load System Restore and figure you'll be back to work.

However, VMware offers vCenter Converter as a free download you can use to create an image of your physical machine and launch it into a VM.

Privileges and Connectivity

A couple of caveats: if you're installing guest OSes on Windows 7 or Vista, you need Administrator privileges to do it.

The VMs also need enough power and room to breathe. Each needs at least a gigabyte of RAM for 32-bit and 2 GB for 64-bit VMs; 32-bit VMs also need at least 24GB of space available, which rises to 32GB with 64-bit VMs.

And keep a close eye on the install guide when you're configuring networking privileges. Player and Workstation are both designed to make those network connections easily, but VMware Community Forums have plenty of discussions of minor configuration issues that turn into headaches getting VMs to talk to either each other or to the rest of the network.

Follow everything from CIO.com on Twitter @CIOonline.

In this paper, Forrester Consulting examines the total economic impact and potential return on investment (ROI) realized by three Enterprise organizations as they virtualized mission-critical Oracle databases on the VMware vSphere platform. The purpose of this study is to provide readers with a framework to evaluate the potential financial impact of VMware vSphere on their organizations.
Even though virtualization has brought positive change to enterprise IT over the last decade, some skepticism remains about how valuable virtualization can be in the way companies deliver and run business applications. Uncover the truth about how you can run your business critical applications with confi dence without sacrifi cing
availability or service quality-and at lower costs.
This IDG whitepaper highlights key findings based on the Quickpoll Survey conducted with more than 300 Enterprise and Commercial IT decision makers worldwide about the state of their virtualization of business critical applications. This paper answers such questions as: What drivers are pushing companies to extend virtualization beyond servers? and What value are they realizing? Central to the paper are key results that expose risks of the past (fears of limited ISV support, performance impact) no longer are a factor for companies moving to 80+% virtualized.
The Kelley School of Business at Indiana University deployed VMware Infrastructure which decreases costs, streamlines server deployment, and reduces energy consumption.
New study quantifies how VMware improved TCO and ROI for three companies' IT landscapes.
This IDC white paper explains how much of the Enterprise IT community is at a crossroads in extending their journey to the private cloud: Companies must virtualize their business critical applications in order to reap the benefits of cloud computing. The paper also includes two case studies and a sidebar highlighting the experiences of three enterprises with virtualizing their business-critical applications, which include Oracle and Microsoft SQL databases, SAP and enterprise Java, and a Microsoft Exchange email system.
As greater numbers of datacenter servers transition from the physical to the virtual world, the components of virtualization success come to the fore. What scores of organizations have discovered is that success is derived from an optimal pairing of the right software platform with the right hardware platform.
Virtualizing business-critical applications is an essential step in your journey to the cloud. Microsoft SQL Server, Exchange and SharePoint, and Oracle applications, are often the backbone of business IT. The benefits of virtualizing these applications extend far beyond mere consolidation. Understanding how VMware improves quality of service and agility while reducing costs will help you make the case for taking virtualization to the next level in your company.
Virtualizing business-critical applications has become a key focus for organizations as they move along their virtualization journey. With the launch of VMware vSphere® 5, VMware is helping customers accelerate the deployment of business-critical applications, including Exchange, SQL, SAP and Oracle.
Want to say goodbye to missed SLAs? VMware can help you virtualize mission-critical applications such as Oracle, MS Exchange and SharePoint to achieve dramatic improvements in uptime, performance and responsiveness. In this webcast, we'll discuss the key benefits of virtualizing your agency's most critical applications and Oracle databases as a necessary first step in fulfilling OMB's mandate to move IT services to the cloud. With VMware, you'll be on the way to quick, effective and full compliance.
Federal IT managers are on the forefront of realizing the benefits that a secure, easy-to-manage virtual desktop environment can provide. The key is how to deliver the end-user experience that is comparable to a physical desktop. This webcast will show how the recently released VMware View 5 environment is being used to deploy virtual desktops to provide mission-critical solutions around Disaster Recover/COOP, telework and secure mobile applications to federal organizations. View this webcast and learn how new features and benefits of the VMware View 5 environment meet the needs of Federal customers
This video webcast is designed to help those with little to no virtualization experience understand why virtualization and VMware are so important to driving down both capital and operational costs. The session will start with the introduction of the key concepts and technologies of virtualization, introduce the vSphere Hypervisor, and build up to an overview of VMware vSphere® 5, the world's most robust and complete virtualization platform. This session will also discuss new solutions such as the vSphere Storage Appliance and VMware GO that are making it easier than ever before to get started with virtualization.
Newsletter Sign-Up »

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all Newsletters | Privacy Policy
Resource Center