Virtualization


  • 1. working with virtual hard disks (.vhd files) in Windows 7.

    VHD (Virtual Hard Disk) is a file format used by virtual machines to emulate the hard disk. You can create a virtual disk and use it to store virtual operating systems, programs and other files into single file image that can be processed by various programs of virtualization or virtual machines. Virtual hard disks allow multiple operating systems simultaneously on one computer.

    Option 1. Working with virtual disks using the GUI.

    Create a virtual hard disk.

    1) open the Start menu.
    2) in the Search bar, or in the Run menu (can just hit Win + R), type diskmgmt.msc, and then press Enter.
    3) will open the Disk Management snap-in. In the menu bar, click Action and then to Create VHD
    4) in the window that opens, specify:
    4.1) name of the file and its location. You can write this manually or by clicking on the Browse button and use the dialog box Browse virtual disk files
    4.2) size of the virtual disk. Next to the text box in which you must enter the size of the disk, there is a drop-down list where you can choose the size of the hard drive. Available values – megabytes, gigabytes and terabytes. Create a size not less than 20 GB.
    4.3) type of the virtual disk.
    Dynamically expandable disk image provides the amount of space required to store data. The size of the .vhd file when you create a small but grows as you add data to the disk. Data distribution is done in blocks. When you delete data from a virtual hard disk size of the .vhd file is not automatically decreases.
    Fixed size creates a .vhd file whose size is set when you create a virtual hard disk. The size of the .vhd file remains constant regardless of the amount of stored data.
    5) click on OK. The process of creating a virtual disk may take some time to have OS displayed at the bottom of the Disk Managment.

    The logical disk manager was able to access the created virtual disk you should initialize and create a simple volume. Also, use Disk Management.

    Initialization of a virtual hard disk.

    1) find your virtual disk and click the right mouse button
    2) click Initialize Disk
    3) choose a style-MBR partition and press OK

    Create a simple volume on the virtual hard disk.

    1) find your virtual disk
    2) right-click,select New simple volume
    3) in the first dialog of the simple volume Wizard, click Next
    4) in the dialogue specifying the size of the volume, enter the size of the future volume in megabytes and click Next
    5) dialog, Assign drive letter or path, specify the drive letter for the future and click Next
    6) in the Format partition dialog box, specify the correct file system, cluster size, the drive letter and select the check box next to the options quick format – for the drive to be formatted at once. Then click on Next
    7) for all configured settings in the dialog Completing simple volume Wizard, click Finish.
    8) virtual disk will appear in the table. In the disk management snap-in, the icon for the virtual disk is visually different from the icons of the physical drives. In Windows Explorer virtual disks look just like a physical.

    Attach the virtual hard disk.
    If you already have created virtual hard disk, then you too can join in the disk management snap-in.

    1) open the Start menu.
    2) in the search bar, or in the run menu (can just hit Win + R), type diskmgmt.msc, and then press Enter.
    3) in the menu bar, click Action and then Attach VHD.
    4) location for the virtual hard disk on your computer and click OK. Specify the location you can either enter a value manually, or by clicking Browse, and Preview files dialog using the virtual drive. If you do not need to write data to disk, in this dialog you can select the read-only.

    Removing (deleting) a virtual hard disk.

    1) locate the virtual disk you want to detach, then right-click on it
    2) click Detach VHD
    3) If you wish to disconnect the virtual disk without removing it from the system, then click OK. To completely remove a disk from the system, check the Delete virtual disk after you remove the disk and then click OK.


    Option 2. Working with virtual disk using Diskpart in command prompt.

    Create a virtual hard disk.

    1) run command prompt as administrator (press Win + R and type cmd-> click OK)
    2) at a command prompt, type Diskpart and press Enter
    Command line looks like this: DISKPART>. This suggests that started interpreter DiskPart.
    3) to create a virtual disk use the command Create Vdisk. The command syntax is as follows:

    Create Vdisk File=< "filename"> Maximum=<n> [Type={Fixed|Expandable}] [Source=< "filename">]
    </n>

    Where:
    File=< "filename"> – Specify the full path and file name of the virtual drive.
    Maximum= – Maximum disc space allowed by the virtual disk that is specified in megabytes (MB).
    [Type = {Fixed |Expandable}] is used to specify the format virtual disk. There are two values for this parameter:
    Fixed creates a virtual drive with a fixed size;
    Expandable creates dynamically extensible image to virtual drive.
    [Source = < "filename">]-the path to an existing virtual hard disk file to prepopulate the new virtual disk. When using the Source parameter data from the source file of a virtual disk are copied block by block in the generated file on the virtual drive. If you copy dynamic disk do not specify a parameter Type=Expandable, the copy will be a maximum size allocated to the source drive, regardless of its current size.
    Examples of using the command:

    Create Vdisk File="E:\VHD\Virtual_disk_1.vhd" Maximum=512 Type=Expandable
    Create Vdisk File="E:\VHD\Virtual_disk_2.vhd" Source="E:\VHD\Virtual_disk_1.vhd"
    

    Attach the virtual hard disk.

    1) run command prompt as administrator (press Win + R and type cmd-> click OK)
    2) at a command prompt, type Diskpart and press Enter command line looks like this: DISKPART>. This suggests that started interpreter DiskPart.
    3) to select your virtual disk by filename and move the focus to it, use the command Select Vdisk. The command syntax is as follows:

    Select Vdisk File=< "filename">

    Example of using the command:

    Select Vdisk File="E:\VHD\Virtual_disk_1.vhd"

    4) for the selected virtual disk use the Attach Vdisk. The command syntax is as follows:

    Attach Vdisk [Readonly] { [SD=<string sddl>] | [Usefilesd] }</string>

    [Readonly] – Attaches virtual disk in the read-only mode. Any write operation causes error i/o devices.
    [Usefilesd] – Specifies that the virtual disk you should use the security descriptor of the virtual file. If not specified, then the disk is explicitly specified security descriptor, if not also set SD = (SDDL string).
    [SD=sddl] – sets the security descriptor in SDDL format. The default security descriptor provides access, similar to any physical drive. For more information about SDDL, see format strings. help for a Create Vdisk.
    Examples of using the command:

    Attach Vdisk
    Attach Vdisk Readonly
    Attach Vdisk Usefilesd
    
    <strong>Detaching a VHD.</strong>
    1) run command prompt as administrator (press Win + R and type cmd->click OK)
    2) at a command prompt, type <strong>Diskpart</strong> and press Enter
    Command line looks like this: <strong>DISKPART></strong>. This suggests that started interpreter DiskPart.
    3) to select your virtual disk by filename and move the focus to it, use the command <strong>Select Vdisk</strong>.
    4) to detach the selected virtual disk use the <strong>Detach Vdisk</strong>.
    
  • 2. create a bootable Windows 7 ISO image from the VHD image + integration LIP.

    We will need to run DISM tool, included with Windows 7, either included in the WAIK, GimageX (old Russian) or GimageX (English), WinImage and ERD Commander for x86 or x64

    Option 1

    1) create a new folder on drive c: DVD, VHD, Lip, Mount, Temp and mWim
    2) Run the WinImage, open the .vhd image. In the dialog box click OK. Select all the files and right click on the highlighted right-click. Choose to Extract, and then click Browse and select the folder the VHD. Just below the choose Extract with pathname. Wait for completion of the process of unpacking. If you receive an error, just click continue.
    3) Extract image distribution (your ISO), using the extraction utility 7zip folder C:\DVD
    4) Copy the folder C:\Lip the LP.cab file and create a subfolder uLip
    5) run the command line as an administrator (Win + R-> cmd-> Ok)
    6) extract the LP.cab in folder C:\Lip\uLip running the console command:

    expand C:\Lip\lp.cab -f:* C:\Lip\uLip

    7) using GimageX learn index Ultimate
    8) export the install.wim file in the folder C:\DVD\sources in folder C:\mWim Ultimate image (index 5 for x86 or 4 for x64) as the install.wim
    9) using GimageX learn index Microsoft Windows Setup (x64)
    10) Export from boot.wim file in the folder C:\DVD\sources to folder C:\mWim Ultimate image (index 2) as boot.wim
    11) then restart your computer.
    Note: commands to DISM, you can also perform command-line ERD Commander to not think about issues of access to folders. Creating an image of ERD described under Miscellaneous in the tip No. 9.
    12) run command prompt as administrator (Win + R-> cmd-> Ok)
    13) Mount the file C:\mWim\install.wim in the folder C:\Mount running the console command:

    dism /Mount-Wim /WimFile:C:\mWim\install.wim /index:1 /MountDir:C:\Mount

    14) Incorporate a LIP in the install.wim

    dism /image:C:\Mount\ /Add-Package /PackagePath:C:\Lip\lp.cab /ScratchDir:C:\Temp

    15) Apply all settings with the command(for example – to the Russian language):

    dism /image:C:\Mount /Set-AllIntl:ru-RU

    16) Copy all files and folders from C:\VHD to C:\Mount except C:\VHD\Boot and C:\VHD\bootmgr file (if you’re into, the Erd Commander through Micosoft Diagnostics and Recovery Toolset-> Explorer)
    17) Dismount the install.wim and save changes from C:\Mount:

    dism /Unmount-Wim /MountDir:C:\Mount /commit

    18) Mount the file C:\mWim\boot.wim in the folder C:\Mount

    dism /Mount-Wim /WimFile:C:\mWim\boot.wim /index:1 /MountDir:C:\Mount

    19) add the boot.wim your language:

    xcopy C:\Lip\uLip\setup\* C:\Mount\ /cheryki

    20) add the boot.wim license files:

    xcopy C:\Lip\uLip\sources\license\* C:\Mount\sources\license\ /cheryki

    21) edit text file (if you’re into, the Erd Commander through Micosoft Diagnostics and Recovery Toolset-> Explorer) C:\Mount\sources\lang.ini

    [Available UI Languages]
    ru-RU = 2
    en-US = 3
    
    [Fallback Languages]
    ru-RU = ru-ru
    en-US = en-us
    

    22) Unmount your boot.wim and save changes from C:\Mount:

    dism /Unmount-Wim /MountDir:C:\Mount /commit

    23) edit text file (if you’re into, the Erd Commander through Micosoft Diagnostics and Recovery Toolset-> Explorer) C:\DVD\sources\lang.ini, which should be the following:

    [Available UI Languages]
    ru-RU = 2
    en-US = 3
    
    [Fallback Languages]
    ru-RU = ru-ru
    en-US = en-us
    

    24) replace the file (if you’re into, the Erd Commander through Micosoft Diagnostics and Recovery Toolset-> Explorer) C:\DVD\sources\install.wim in the distribution file C:\mWim\install.wim
    25) replace the file (if you’re into, the Erd Commander through Micosoft Diagnostics and Recovery Toolset-> Explorer) C:\DVD\sources\boot.wim in the distribution file C:\mWim\boot.wim
    26) reboot Windows
    27) open using UltraISO image distribution. Delete all content and copy the contents of the folder C:\DVD
    28) delete all content and copy the contents of the folder C:\DVD
    29) save to a different location or with a different name.

    Option 2

    1) open the Start menu search box write diskmgmt.msc, and then press Enter
    2) in the top menu click Action-> Attach VHD.
    3) specify the location of the VHD image, press OK
    4) choose the desired drive letter to the disc
    5) install the Windows AIK
    6) start and specify in parameters GImageX:
    Source: – the path to the virtual disk
    Destination – path where you saved install.wim file ready
    Name – Name of the image (Windows 7 Ultimate)
    Description – the description of image (Windows 7 Ultimate)
    Compression – Compression of the install.wim file (Maximum)
    7) Open using UltraISO image distribution Windows 7
    8) Delete folder \Sources file install.wim
    9) Add your new install.wim to replace the old.
    10) Save the image under a new name.
    11) Burn the image to a USB flash drive (stick) or DVD.

    As for using DISM in graphical mode, you can use DISM Tool. This program allows you to perform all necessary you commands using the GUI. Using it you should be able to mount (Mount WIM) and dismantle (Dis-Mount WIM) image, integrate language pack or software update you (use the “Add Packages).

  • 3. installing and booting Windows 7 from the .vhd file.

    Option 1

    The first thing needed is the .vhd image. Second, you need to prepare a logical drive. It is desirable to allocate to install blank disc size 15-25 Gb. Third, this utility WinImage.

    1) launch utility WinImage.
    2) open the Winimage your .vhd images.
    3) in the dialog box click OK.
    4) select all files on the right
    5) click on the highlighted right-click and choose Extract
    6) click Browse and select a prebuilt disk.
    7) below choose Extract with pathname. Wait for completion of the process of unpacking.
    8) after unpacking the download utility EasyBCD.
    9) in the application window, click Add/Remove Entries
    10) in the box Add entries to choose a name for your new OS (e.g. Windows 7 VHD)
    11) Indicate the type (Windows Vista/7)
    12) choose the drive to which you extracted the contents of the image.
    13) click Add entry, and then click Save at the top. The OS should now be two paragraphs.
    14) visit the section Change Settings
    15) choose an OPERATING SYSTEM that is loaded by default, Windows 7 VHD.
    16) click Save settings and restart the computer.

    Option 2 as the basic system.

    1) create a folder on any partition the VHD.
    2) open the .vhd image using WinImage.
    3) select all files, right click on a selected and choose Extract.
    4) click Browse and select the folder the VHD. Don’t forget to select the Extract with pathname. Please wait while unpacking.
    5) reboot in ERD Commander to not think about issues of access to folders. (Imaging ERD described under Miscellaneous in the tip No. 9.)
    6) select Micosoft Diagnostics and Recovery Toolset-> Explorer and delete all files from drive C:\ (The drive is already installed, Windows . Process can be lengthy, wait.
    7) Transfer all files from a folder on the c: drive VHD. Folder-select all VHD files-> > right-click-> move to-> click the drive c: \
    8) remove folder VHD.
    9) reappear in ERD Commander. After selecting the keyboard will automatically search for installed systems. After the search click repair and restart (fix and restart).

    Option 3 as the second system.

    Method 1. Automatically.
    1) create a folder on any partition the VHD.
    2) Open the .vhd image using WinImage.
    3) Select all files, right click on a selected and choose Extract.
    4) click Browse and select the folder the VHD. Don’t forget to select the Extract with pathname. Please wait while unpacking.
    5) reboot in ERD Commander to not think about issues of access to folders. (Imaging ERD described under Miscellaneous in the tip No. 9.)
    6) Select Micosoft Diagnostics and Recovery Toolset-> Explorer and delete all files from drive C:\ (The drive is already installed, Windows. Process can be lengthy wait.
    7) Transfer all files from a folder on the c: drive VHD. Folder-select all VHD files-> > right-click-> move to-> click the drive c: \
    8) remove folder VHD.
    9) reappear in ERD Commander. After selecting the keyboard will automatically search for installed systems. After the search click repair and restart (fix and restart).
    10) after a reboot we become you can select from the two OSes. We are interested in a second Windows 7 Ultimate (recovered), English Windows 7 Ultimate (recovered). Select it and wait until the system setting.
    In the process, the computer will restart twice, don’t forget the second chosen after every reboot, Windows 7 Ultimate (recovered), English Windows 7 Ultimate (recovered).
    11) If are booting via Windows 7 Ultimate (recovered), English Windows 7 Ultimate (restored), the master OS will be available (when downloading via all major OS’S drives are available). If you want to make the disk accessible, use built-in Disk Management utility (Run-> compmgmt.msc). Open Disk Management, you will see that the primary OS partition is not assigned a drive letter. Right-click on the drive, select Change Drive Letter and Paths, click Add, select any letter for the disk, the disk is OK.

    Method 2. Manually without using Winimage, use Bcedit.

    This mode use bcedit, a subset of the Windows Media or recovery tools.

    1) run command prompt as administrator in Windows or on the command line tools, or Restore the Erd Commander (when you select the current system). All further commands entered at the command prompt.
    2) using the specified command, copy the existing record of the current system with a new title:

    bcdedit /copy {current} /d "Windows 7 Virtual"

    3) wait until the message “Record was successfully copied to {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}”.
    Specified in the message is an alphanumeric code insert in the commands below instead: {ID}
    4) Specify the partition where the files are located (device) and a section that contains operating system files (osdevice). Because our virtual drive, the device and osdevice settings values are equal.

    bcdedit /set {ID} device vhd=X:\DIR\filename.vhd
    bcdedit /set {ID} osdevice vhd= X:\DIR\filename.vhd

    where X:\DIR\filename.vhd is the full path and file name specifying the VHD.
    5) to force automatic detection in Windows the disc through an appropriate level of abstraction — Hardware Abstraction Layer (whether to allow accelerated operating system automatically detect version of HAL and kernel file when booting), run the following command:

    bcdedit /set {ID} detecthal on

    6) select added on to the last position in the list of downloads

    bcdedit /displayorder {ID} /addlast

    7) then restart your computer

    If you look at the drives present in the system, you can see that in addition to a virtual disk on a 16 Gb (circled in Orange) which actually loaded Windows 7 also includes the second section of the virtual drive at 200 Mb for system files and real (!) hard drive, on your computer. If you open the disk where previously there was a vhd file, you may find that the size has increased to the 16 GB, with this now severely restricted.

    Some sites also advised to make listing menu.lst (should appear when the computer starts up) as follows:

    title Windows 7 Virtual
    root (hd0,0)
    chainloader /bootmgr
    
  • 4. install Windows 7 on a virtual disk in the .vhd file.

    Installing a system on the virtual disk, in a VHD file, you receive the following advantages compared to conventional system:
    -can make a copy of the operating system just copying the .vhd file
    -be able to test beta versions of these programs without worrying for system
    -be able to explore, to experiment with the registry system without worrying about it to spoil.

    1) insert the installation disc in the drive, Windows 7 boot from it
    2) reach the step wizard, where you are asked to select or create the partition on which you will install Windows 7.
    3) press “Shift + F10″.
    This shortcut will provide access to command line. Type in Diskpart and press Enter.
    Command line looks like this: DISKPART>. This suggests that started interpreter DiskPart.
    3) enter the following command in DISKPART

    create vdisk file="E:\VHD\win7.vhd" type=expandable maximum=30000

    It means-create win7 vhd type being extended., the maximum size limit 30 Gigabytes. Replace e: to drive you want to store the generated file.

    4) mount VHD file that will be available Setup:

    select vdisk file="E:\win7.vhd"
    attach vdisk

    5) following the successful completion of all operations, type exit to exit the utility diskpart, and again exit – already in cmd.exe.To close the command prompt.
    6) you will find yourself in the window again, select the partition to install.
    7) click Refresh button below the list of disks and you will see your new drive
    8) because it has no topics, will be written Unallocated disk space …
    9) to select it, and then Configure disk
    10) click on the button “create”, enter the amount of generated section and click on the button “apply”.
    11) again to make sure you choose your virtual disk and click Continue, ignoring the warning: you cannot install Windows on drive …

    The process of installing Windows 7 on a section of the .vhd drive will continue as if this is the usual logical hard disk partition. This will not only installed a new OS, but replaced the loader to “physical” system partition for a successful start to the VHD. When you install Windows 7 on a clean system, the installation wizard automatically creates a system partition on the disk, which is placed 100 MB boot loader, already for the system itself will create a separate partition.

  • 5. convert volume hard drive in the .vhd file.

    To create a .vhd files from hard disk volumes, you need to use Disk2vhd. It allows you to create a .vhd image directly running the operating system. For its work, the program uses the volume shadow copy (Volume Snapshot) feature of your operating system to create consistent snapshots of volumes at some point in time. Thus, you can create a .vhd file directly on the same topic, which in the Pack. When you create a VHD file, the program includes only the system volume and exclude partitions with data.

    Created by virtual drive can be connected to the virtual machine as IDE drive. Do not use the .vhd file for download from the Download Manager Windows 7 on a real machine. Windows in a special way signs the hard drives, and assigns the .vhd drive a new unique identifier. When you try to boot from VHD error no boot disk or just restarts without prompting the user. But if you use this VHD image in Virtual PC, the system starts and works perfectly.

    To work with your VHD file, you can also use disk management (diskmgmt.msc).
    If you shoot an image of the system drive, and you have a recovery partition (System Reserved), be sure to include it in the .vhd image, because without it, the system will not boot. To create a .vhd file, do the following:

    1) download Disk2vhd
    2) unzip the downloaded archive and run the Disk2vhd
    3) in the box below the .VHD File name, specify the path and name of your .vhd file.
    4) select the check boxes for the volumes hard disk that you want to include in you create VHD file.
    5) click the Create

    To create the script utility supports command line:

    disk2vhd < [drive: [drive:]...]|[*]> <vhdfile></vhdfile>

    Specify which volumes you want to include in the .vhd file or use * to convert all volumes:

    disk2vhd c: e:\Your-PC.vhd
    disk2vhd * e:\Your-PC.vhd
  • 6. convert DVD image of Windows 7 in the .vhd file.

    For converting the DVD image of Windows 7 in the .vhd file, you will need the Windows Automated Installation Kit (AIK) for Windows 7 (the size of the download file 1.25 GB) and WIM2VHD command-line tool

    WIM2VHD – this is the Windows Scripting Host script designed for use on the command line and allows you to create a device-independent .vhd file from installation disk, Windows 7, when initializing the system bypasses the startup phase and unpacking files and will be ready to identify hardware of the computer that is running.

    The essence of the method is to convert the file install.wim in the .vhd file.

    1) Install the Windows Automated Installation Kit (AIK) for Windows 7
    2) place the downloaded file WIM2VHD.WSF in folder C:\Program Files\Windows AIK\Tools\x86\, if you are using a 32-bit system, or in C:\Program Files\Windows AIK\Tools\amd64\ if 64-bit.
    3) run command prompt with administrator rights, then “Start” in the search box, type cmd.exe and press CTRL + ENTER.
    4) go to the folder with script using the CD. For Example:
    For 32-bit Windows:

    С:\>cd /d "C:\Program Files\Windows AIK\Tools\x86\"

    For 64-bit Windows:

    С:\>cd /d "C:\Program Files\Windows AIK\Tools\amd64\"

    Change the paths to match your system.
    5) run wim2vhd. To do this, type the following at the command prompt:

    cscript wim2vhd.wsf /wim:h:\sources\install.wim /sku:ultimate /vhd:e:\vhd\win7.vhd

    Command line decodes to this:
    Take the h:\sources\install.wim file, and Edition ultimate convert to e:\vhd\win7.vhd
    7) for the connection of the .vhd file to an existing boot loader of Windows 7, use the command:

    bcdedit /copy {current} /d "Windows 7 Virtual"

    Command duplicates the boot record of the current running Windows 7. Instead of “Windows 7 Virtual” you can write any value.
    8) Bcdedit will display {GUID} of a newly created record-duplicate – copy it to Clipboard and use to make the .vhd file in the boot options:

    bcdedit /set {ваш GUID} device vhd=[c:]\win7.vhd
    bcdedit /set {ваш GUID} osdevice vhd=[c:]\win7.vhd
    bcdedit /set {ваш GUID} detecthal on

    For information: a script based on utility WIM2VHD ImageX.exe from the WAIK. Other examples of using script WIM2VHD are described here.

  • 7. enable Aero Glass in Windows Virtual PC.

    1. install Windows 7 on the computer that you are remotely access (VM).
    2. install Windows 7 on the computer from which you will be able to remotely access (host).
    3. build of Windows 7 on both must be identical to everything worked correctly.
    4. the computer to which you will receive access must have a graphics adapter that supports the Glass to be inserted.
    5. establish a network connection between two computers.

    The VM you want to activate the Remote Desktop (don’t forget to allow application access through the firewall)
    To run Remote Desktop host computer, type the name or IP address of the VM. If you want to configure the window size, color depth, speed, then enter the appropriate settings.
    Click Connect and enter your login.

    The Remote Desktop session starts, and desktop VM will show the DWM effects.

    In the end, it’s not exactly Glass, but this effect may make it look like Glass, using design Remote Desktop commands.

  • 8. install Windows 7 in VirtualBox.

    VirtualBox - a special program to create in memory PC virtual machines. Each virtual machine can hold an arbitrary set of virtual devices and a separate operating system. Scope of VMS is very wide-from testing prior to the creation of entire networks that are easy to scale, to distribute the load and protect.
    VirtualBox is a free, open source.

    1) download the latest version of VirtualBox from the official site: http://www.virtualbox.org/wiki/Downloads
    2) install it on your computer.
    2.1) run the installer; In the first window, click Next
    2.2) then the components to install, and then click Next.
    2.3) click Next, and then Yes to begin the installation.
    2.4) click on Install. Note: after clicking Install will link with the network (both local and Internet)
    2.5) in emerging Windows to install the software for this device? Press the install button
    2.6) in the final window, leave the check box to start building the virtual machine immediately or clear the check box to create a virtual machine at a later date. Then click Finish. If you have removed the option to run the program, use the icon on the desktop.

    3) in the main window, click on the New button. Opens the Create new virtual machine Wizard. Click Next.
    4) type the name of the virtual machine in the OS type select value:
    Operating system: Microsoft Windows
    Version: Windows 7.
    Click Next.
    5) Enter amount of RAM allocated to the virtual machine.
    Note: the memory will be allocated from physical memory installed in your computer. Do not install memory below 512 Mb and above 50% of the amount of installed physical memory. Click Next.
    6) select bootable virtual hard disk. Select: Create new hard disk. Click Next.
    7) wizard opens a new virtual disk. Click Next.
    8) select the type of virtual hard disk. Dynamic image initially will take little space, and will be expanded gradually. Fixed image immediately creates the drive specified size it may take a long time. Click Next.
    9) select the file name and location of your virtual drive. The default file name matches the name of the virtual machine and the file is located on the same hard disk where Windows 7 installed real, C:\Users\UserName\.VirtualBox.
    Select the size of the virtual hard disk. (Default 20 Gigabytes). Click Next.
    10) click Finish and you return to the previous window, where you will be specified by the virtual machine. Click Finish in the window, and you’ll create a new virtual machine.

    The virtual machine to install Windows 7 on it created.

    11) before you install Windows 7 on your virtual machine should be configured. To configure your virtual machine, click the Settings button.
    12) in from the list on the left, click Display. Set the size of video memory available to the virtual machine no less than 26 Mb. Select the checkboxes for items settings Enable 3D acceleration and Include 2D video acceleration.
    13) in the section settings from the list on the left select Storage
    14) click the DVD icon in Storage Tree, near the falls in box Attributes.
    If you have a Windows 7 installation disc burned to a DVD, insert it into the DVD drive and select the appropriate drive letter. Also check the box to Allow direct access.
    If you have a Windows 7 installation media available as ISO image, then click Choose image to disc. .. Click on the folder icon to open the Virtual Media Manager
    15) in the select disc image, select image file and click Open.
    16) your image is added to the tree settings blank media. Then click OK.
    17) you will find yourself in the main window of the program. Click the Start button
    18) if information Windows, then click on OK
    19) click inside the virtual machine screen and in the information window click Capture
    20) install Windows 7. Installing Windows 7 on a virtual machine is no different from standard installation for the real car.
    21) after you install Windows 7 on a virtual machine, VirtualBox, Windows 7 will launch you directly inside the virtual machine.
    22) Using the mouse and keyboard in the virtual machine to block them for use in real (host) for Windows. To switch between the virtual machine and the Windows, it is necessary to use a host Right Control key.
    The virtual machine has not invaded the mouse and keyboard, and you could easily move the cursor between the guest (virtual) and host (primary) systems

  • 9. install Windows 7 in Microsoft Virtual PC.

    Microsoft Virtual PC is a powerful program that allows you to emulate on a single computer work multiple virtual machines. Each of these machines can be managed by its own operating system (any version of Windows, Netware, Linux, Solaris, etc.) to perform a unique challenge, have its own configuration, etc.

    1) download the latest version of Virtual PC from the official site:
    http://www.microsoft.com/downloads/details.aspx?familyid=28c97d22-6eb8-4a09-a7f7-f6c7a1f000b5 & displaylang = en
    2) install the software. Account setup without warning turn off the connection to the network (both local and Internet).
    3) download and install the updated KB958162.msp to Virtual PC
    4) launch the program. Click Start->All programs->Microsoft Virtual PC
    5) in the window that says: “You are not running on a supported operating system”, press OK.
    6) in the New Virtual Machine Wizard, click Next. This window you can also start by clicking New in the Virtual PC Console or in the menu File choose New Virtual Machine Wizard.
    7) click on the Create a Virtual Machine. Then click Next.
    8) select the file name and location for your virtual machine. The default file name for the New Virtual Machine, and the file is located on the same hard disk where Windows 7 installed real, C:\Users\UserName\Documents\My Virtual Machines. Then click Next.
    9) Select the type of operating system. The lack of Windows 7 on Virtual PC, click the Windows Vista or Other. Then click Next.
    10) click on Adjusting the RAM. Select the amount of RAM allocated to your virtual machine, at least 512 megabytes. Then click Next.

    11) click on A new virtual hard disk to create a virtual image. Then click Next.
    12) select the name and location for the file to your virtual drive. The default file name matches the name of the virtual machine, which added a Hard Disk, and the file is located on the same hard disk where Windows 7 installed real folder:
    C:\Users\UserName\Documents\My Virtual Machines\Name Virtual Machines\
    Enter the amount you want your virtual hard disk in megabytes. I recommend to specify 20480 MB (20 Gb). For information: 1 Gb = 1024 MB. Then click Next.

    13) click Finish to create the virtual machine. You will find yourself in the Virtual PC Console.
    14) then you created the virtual machine and click the Start button
    15) virtual machine starts and stops with the message: Reboot and Select proper Boot device or Insert Boot Media in selected Boot device, because there is no installation disc with Windows 7. Click CD Image Capture CD > and specify the ISO image of Windows 7.
    16) reboot the virtual machine by selecting Action-> Ctrl + Alt + Del or Right Alt + DEL in the virtual machine window.
    17) install Windows 7. Installing Windows 7 on a virtual machine is no different from standard installation for the real car.
    18) after you install Windows 7 on a virtual machine, Microsoft Virtual PC immediately starts you Windows 7 inside the virtual machine.
    19) Using the mouse and keyboard in the virtual machine to block them for use in real (host) for Windows. To switch between the virtual machine and the Windows, it is necessary to use host-press Right Alt.
    The virtual machine has not invaded the mouse and keyboard, and you could easily move the cursor between the guest (virtual) and host (primary) systems, as well as Clipboard would be shared, you need to install Virtual Machine Additions. To install follow these steps: click the running virtual machine, click Action – > Install or Update Virtual Machine Additions and click Continue.
    20) In the AutoPlay popup click Setup.exe, and install the program.
    21) click Yes after install Virtual Machine Additions, and VM restarts.
    22) to turn off the virtual machine that is running the virtual machine menu, select Action-> Close-> Turns Off and press OK.
    23) to run the installed Windows 7 in the main window, click the Start button.

  • 10. installing Windows 7 in a VMware Workstation.

    VMware Workstation is a popular program for virtualization systems. VMware Workstation is a robust solution for software developers and system admins who are creating and testing an fully integrated network applications class servers working in varied environments.

    1) visit a page on the official site for download: http://downloads.vmware.com/d/
    2) click on a link VMware Workstation
    3) on the opened page choose to download VMware Workstation for Windows X.X.X (where X.X.X is the version number)
    4) click on the button Download next to Workstation for Windows 32-bit and 64-bit with VMware Tools.
    5) click on the Register button and fill out the registration form and click Continue
    6) at the bottom of EULA agreement click Yes and find yourself on the download page. The program is free for full use for 30 days. After this period you have to register.
    7) download Workstation for Windows 32-bit and 64-bit Main installation file with Tools. Unlike other virtual machines VMware Workstation has a size of more than 500 Megabytes.
    8) install the software. Restart the computer to do this in the final window, click Restart Now or click Restart Later and restart it manually later.
    9) launch the program. Click on Yes, I accept the terms in the license agreement and press OK
    10) in the main window, click the icon New Vitual Machine.
    11) click on Typical (recommended). Then click Next.
    12) click on the Installer disk image file (.ISO). Click Browse and navigate to the .ISO image of Windows 7. Then click Next.
    13) specify your Windows 7 installation code, user name and password and click Next. If you decide to enter this information later, when you click Next, click the Yes button.
    14) select the name and location for the file to your virtual machine. Then click Next.
    15) set the size of your virtual hard disk in gigabytes.
    16) click Finish to create the virtual machine.
    17) in the VMware Workstation Activation click Enter Serial Number to enter your serial number. If you do not have a serial number, you can get the serial number in 30 days for a full testing programme: https://www.vmware.com/tryvmware/?p=workstation&lp=default
    18) after the introduction of test numbers in the popup window to Register your version of VMware Workstation now! Click Register
    19) in the main window select the tab with the name of your virtual machine (by default, Windows 7) and click the Power on this virtual machine.
    20) Unlike other virtual machine to start installing Windows 7 itself and most of the install VMware Workstation will automatically, your participation in the process of installing Windows 7 almost is not required.
    21) after you install Windows 7 on a virtual machine, VMware Workstation immediately launches you Windows 7 inside the virtual machine.
    22) immediately after launching VMware Workstation itself will set you advanced tools VMware Tools, and if you connect to the Internet to install all necessary drivers.
    23) use Ctrl + G to unlock the simultaneous use of the mouse as the virtual system and core.
    24) to turn off the virtual machine shut down in a virtual Windows 7 as in normal Windows. Start-> Shutdown.
    25) to run the installed Windows 7 in the main window in the left column, click the name of your operating system. In the tab with the name of your virtual machine (by default, Windows 7) click the Power on this virtual machine.

  • 11. create a shared folder for virtual and main Windows in VirtualBox.

    To create a shared folder for the guest (virtual) Windows 7 running in VirtualBox VM and host (real) of Windows 7, do the following:
    1) running the virtual machine menu to open the Device->Shared folders
    2) press the Insert button on the keyboard or click on the folder icon with a plus.
    3) check to establish a permanent folder.
    4) in the dropdown menu next to the path of the folder, click other…
    5) browse to your folder and click on each click OK.

    If you want the guest OS will automatically add this folder during startup check for Auto-connection.
    If you want the shared folder has been fixed for a given machine, select the create a permanent folder, otherwise the selected shared folder will be temporary.
    6) to open a shared folder on the guest (virtual) Windows 7, open Windows Explorer-> Network-> VBOXSVR-> your folder

  • 12. create a shared folder for virtual and main Windows in Microsoft Virtual PC.

    To create a shared folder for the guest (virtual) Windows 7 installed in a virtual machine in Microsoft Virtual PC and host (real) of Windows 7, do the following:

    1) running the virtual machine menu to open the Edit-> Settings or press: Right Alt + E
    2) in the list of Shared Folders, and then click Share Folder …
    3) check the Share Every Time, specify your folder and select the drive letter in the form name will be displayed in a virtual Windows folder, and then click OK.
    4) to open a shared folder on the guest (virtual) Windows 7, open Windows Explorer-> > computer Disconnected network drive (the drive letter is assigned to you)

  • 13. create a shared folder for virtual and main Windows in VMware Workstation.

    To create a shared folder for the guest (virtual) Windows 7 installed in a virtual machine, VMware Workstation and the host (real) of Windows 7, do the following:

    1) in the tab with the name of your virtual machine (by default, Windows 7) tab Options.
    2) double click the folder Shared Folders
    3) click the radio button for Always enabled.
    4) click the Add button, and then click Next.
    5) click the Browse button. Specify the path to your shared folder in host (real) of Windows 7 and its name in the virtual Windows, then click OK.
    6) click Next, and then click Finish. Exit the options by clicking OK.
    7) to open a shared folder on the guest (virtual) Windows 7, open Windows Explorer-> Network-vmware-host->Shared Folders-> your folder

  • 14. run older 16-bit applications and DOS games under Windows, using DosBox.

    To run legacy 16-bit applications and DOS games under Windows, you can use DosBox Environment NGO program. To you it was easier to work, you may use one of proposed site skins.

    1) download and install the GUI D-Fend Reloaded
    2) Then a file – > settings.
    3) Select Language in the user interface and set the parameter values according to the language requirements of the program you are going to run and click OK.
    4) to add a new 16-bit application (DOS game), just drag and drop ZIP archive with the program or the unpacked folder with files of applications (games) in the program window.
    5) depending on the action, the Import file or the import folder.
    6) in this window, press OK and profile for this game is added to the program so you can run it at any time.
    7) right-click on the created profile games and select Run configuration.
    8) configure the running game and exit settings.
    9) right-click on the created profile games and select run this program.
    Add-ons:

    Toggle between screen and windowed mode is a combination of Alt + Tab.
    Specify the Sound Blaster sound card/Sound Blaster Pro
    Sometimes to have to manually enter Exit and press Enter.

Leave a Reply