How To Configure a Virtual Machine in Windows 7

In a previous How To, we discussed how to set up the Virtual PC console in order to use a Virtual Machine. Virtual Machines allow businesses to set up test environments, a sandbox, in which an application or even a network will not interfere with the production environment. Indeed the virtual machine can be used along side a production environment and real live applications will not be affected.

For this How To, we will add a Sql Server 2005 virtual machine that was downloaded from Microsoft.

HardDiskDrives 400x2841 How To Configure a Virtual Machine in Windows 7

Location of Virtual Machine Hard Disk Drives

Open Up the Virtual PC Console. Refer to the post How to Set Up a Virtual PC Console in Windows 7. This will allow you to configure the VHD which is used to create a VMC.

VirtualPC Console1 How To Configure a Virtual Machine in Windows 7

Virtual PC Console

The starting point is the Virtual PC Console. Select New and follow the prompts.

WelcomeToTheNewVirtualMachineWizard2 400x3111 How To Configure a Virtual Machine in Windows 7

Welcome To The New Virtual Machine Wizard

You will be creating a new virtual machine.

CreateAVirtualMachine 400x3111 How To Configure a Virtual Machine in Windows 7

CreateAVirtualMachine

Next give the VM a name and location.

VirtualMachineNameAndLocation v 2778 sqlserver 2005 400x3111 How To Configure a Virtual Machine in Windows 7

Virtual Machine Name And Location V:¿8sqlserver-2005

The name and location are specified. Next attach an operating system.

OperatingSystem1 400x3111 How To Configure a Virtual Machine in Windows 7

Operating System

There are a variety of OS’s that one can use all the way from windows 98 to Vista. At the time of this post, Windows 7 was not one of the options. Nevertheless, select an OS and click next.

Operating System Selections 400x3111 How To Configure a Virtual Machine in Windows 7

Operating System-Selections various options

Once the operating system is selected, one can modify the amount of memory that the VM will use.

Memory 400x3111 How To Configure a Virtual Machine in Windows 7

Memory - Default Settings

Although you can use the recommended suggested amount, if you want better performance aout of the virtual machine system, the add more. We will adjust the RAM.

Memory AdjustingRAM 400x3111 How To Configure a Virtual Machine in Windows 7

Memory Adjusting RAM

Memory AdjustingRAM 2100 400x3111 How To Configure a Virtual Machine in Windows 7

Memory Adjusting RAM to 2100

Here we will adjust it to 2100 mb. The amount of RAM is limited to the amount of RAM on the host machine.

VirtualHardDiskOptions 400x3111 How To Configure a Virtual Machine in Windows 7

Virtual Hard Disk Options

Next you must attach the VM to a VHD. Here we will select the 2778.vhd

Notice that the Enable undo disks option was selected. This allows the user to have various options available when shutting down the system. These are to shut down without saving changes or saving changes. More Below.

VirtualHardDiskLocation1 400x3111 How To Configure a Virtual Machine in Windows 7

Virtual Hard Disk Location

Select Browse

VirtualMachineNameAndLocation vhd 400x2681 How To Configure a Virtual Machine in Windows 7

Virtual Machine Name And Location vhd

VirtualMachineNameAndLocation vhd 2 400x3111 How To Configure a Virtual Machine in Windows 7

The path of the Vhd is located

VirtualMachineNameAndLocation v 2778 sqlserver 20051 400x3111 How To Configure a Virtual Machine in Windows 7

Virtual Machine Name And Location-V:¿8sqlserver2005

CompleteingTheNewVirtualMachineWizard1 400x3111 How To Configure a Virtual Machine in Windows 7

Completing The New Virtual Machine Wizard - With SQL Server 2005

The last set up steps is to verify that the VM actually works. Go to the console and select start.

in the PC Console”]SQLServer 2005Not Running1 How To Configure a Virtual Machine in Windows 7

SQL Server - 2005 [Not Running

Now that the VM has been created, one can test it by launching the VM.

StartingUp 400x2911 How To Configure a Virtual Machine in Windows 7

Starting Up Launching the VM from the console

SQLServer 2005 Microsoft VirtualPC 2007 400x3311 How To Configure a Virtual Machine in Windows 7

The Virtual Machine SQL Server-2005

The start-up authentication screen comes up.

Miami 400x3021 How To Configure a Virtual Machine in Windows 7

The Miami SQL Server

Sql Server 20051 400x2981 How To Configure a Virtual Machine in Windows 7

SqlServer2005

One can now run database operations using Sql Server 2005.

This complete the second part of the How to configure a virtual machine. The last How To deals with a difference engine/VM which allows the user to create an image of the VM. In this way the user can even wreck the VM image, but not affect the master VM.