Saturday, May 15, 2010

Virtual Machine Folder ACL access denied

I upgraded a Windows 2008 Hyper-V server to R2 and one of the virtual machine failed to start with error “Account does not have sufficient priviledge to open attachment “<Virtual machine file>” (0x80070005). (Virtual machine ID <GUID>)”.

Hyper-V could not read the virtual machine files due to ACL issues. Added SYSTEM account, etc does not work as Hyper-V has it’s own Service SID “NT VIRTUAL MACHINE”

To resolve this, try the follow:

  • Open the directory that stores your virtual machine
  • Open the “Virtual Machines” subdirectory under your virtual machine directory
  • Record the GUID as per the file name of the .xml file in this directory
  • Run icacls “<virtualmachinefolder>” /grant “NT VIRTUAL MACHINE\<virtualmachineguid>”:F /T
  • Monday, April 19, 2010

    Hosting Windows 7 VHD on Virtual PC

    Follow up to my earlier post to convert your Windows 7 physical computer to virtual. Let’s create a Virtual Machine on Virtual PC to run your Windows 7 VHD.

    First, you need to have your Windows Virtual PC installed. And get ready your Windows 7 DVD or ISO image.

    1. Open Windows Virtual PC and click on Create Virtual Machine.


    2. Give your Virtual Machine a meaningful name and specify the location to save the virtual machine file.


    3. Specify the memory to allocate to this VM and specify whether you want to enable network connectivity to this VM.


    4. Attached the Windows 7 VHD that you create from Disk2VHD earlier. Specify if you want to enable Undo Disk. Undo disk allows you to delete any changes you made to the VHD and recover it to its initial state.


    5. Open your new VM.


    6. You will encounter boot error. Attach your Windows 7 DVD or ISO to your VM and configure your VM BIOS to first boot to CDROM.



    7. Reboot your VM to Windows 7 DVD and select to Repair your computer.



    8. On System Recovery Options, select Repair and restart.


    9. You should be able to login to your system after restart. The final step is to install Integration Components.


    10. You are done after installing Integration Components!!



    Friday, April 16, 2010

    Converting your Windows 7 computer to VHD

    Here I am working on a project to convert my Windows 7 laptop to a VHD. With this VHD I can keep my workspace regardless of hardware as long as I am able to boot from a VPC.

    It also proves to be a good way to backup your computer while keeping your programs and files the way they are. You can always use a cloning tool to restore the VHD to your hard disk.

    There are a few tools we need:

    1. Disk2vhd – Windows Sysinternals tools

    2. VHD Resizer – VMToolKit

    3. Windows Virtual PC

    Let’s start to convert your Windows 7 computer to VHD.

    1. Run Disk2vhd, select the disk to convert to VHD. Then enter a VHD file name. Once done, click on Create to start the conversion.



    2. One of the limitations of Windows Virtual PC is IDE hard disk and disk size limit of 127 GB. For those of you who’s hard disk are bigger than 127GB, you have to shrink it. To shrink the VHD, open Computer Management Console and Attach VHD.


    3. Right click and bring the VHD Online.


    4. Shrink the OS volume.


    5. Now shrink the VHD volume to less than 127GB. Detach the VHD when shrinking completes.


    6. Open VHD Resizer to resize the VHD to less than 127GB.


    This completes how to convert your physical Windows 7 computer to a VHD. I will be posting an article on running this Windows 7 VHD on a Windows Virtual PC soon.

    Friday, March 26, 2010

    vSphere vs XenServer vs Hyper-V

    For those of you trying to compare the different hypervisors, this is one good link to help you. Project VRC released an interesting whitepaper analyzing Terminal Services workloads running on the latest generation hardware and hypervisors in the market.

    Happy reading!!

    Friday, March 19, 2010

    Windows XP Mode no longer requires Hardware Virtualization Technology

    This must be a great piece of news for users who’s computer does not supports Hardware Virtualization Technology. This is also good news for small and medium enterprise. Now you can migrate to Windows 7 and still able to support Windows XP-based applications in Windows XP Mode.

    You have to install this update package KB977206 to enable Windows XP mode on non HAV machines.

    Wednesday, March 3, 2010

    Adding Trusted Sites to Internet Explorer using GPO

    For those of you whom wanted to customize the Internet Explorer settings for your clients, you should check out IEAK – Internet Explorer Administration Kit.

    In this post, I will illustrate a simple scenario where an organization with Active Directory wants to add Trusted Sites to users’ Internet Explorer settings using GPO.

    Before we start doing anything, please note that on Windows Server 2003 and 2008, we have Internet Explorer Enhanced Security Configuration turned on. This will not work with Windows XP, Vista or Windows 7 clients. So to begin, we have to turn off Enhanced Security Configuration to create a GPO for computers that do not have Enhanced Security Configurations.

    To disable IE ESC, open Server Manager, Security Information, click on Configure IE ESC.


    Turn off Internet Explorer Enhanced Security Configurations.


    Now we are ready to configure a GPO to add Trusted sites to IE settings. You can find IE configuration settings on User Configuration –> Policies –> Windows Settings –> Internet Explorer Maintenance –> Security. Open Security Zones and Content Ratings.


    Under Security Zones and Privacy, select Import the current security zones and privacy settings.


    You will see a pop-up that warn you that you are configuring settings for computers that don’t have IE Enhanced Security Configuration enabled.


    Add your Trusted sites and you are ready to test out your new GPO.


    Tuesday, March 2, 2010

    App-V 4.6 RTM and MED-V v1 SP1 RC now available

    Microsoft released App-V 4.6 and MED-V v1 SP1 RC on the 23 Feb 2010 as part of MDOP 2010. You can download App-V 4.6 from TechNet and MSDN. You can download MED-V v1 SP1 RC from Connect while we awaits the final release which is expected to come in April 2010.

    Please read about it on The Official MDOP Blog here.

    Thursday, February 4, 2010

    Linux Integration Components for Windows Server 2008 Hyper-V

    This latest version 2 of Linux IC for Hyper-V was released on 29 Jan 2010. Supported Host Operating Systems includes Windows Server 2008, WIndows Server 2008 R2, Microsoft Hyper-V Server 2008, and Microsoft Hyper-V Server 2008 R2.

    Supported Guest Operating Systems includes:

    SUSE Linux Enterprise Server 10 SP2 x86 and x64 (1 vCPU)
    SUSE Linux Enterprise Server 11 x86 and x64 (1 vCPU)
    Red Hat Enterprise Linux 5.2, 5.3, and 5.4 x86 and x64 (1 vCPU)

    Installing Steps are similar to my previous post here.

    Monday, January 18, 2010

    Create a Multiboot System for Windows 7

    This is a nice way to have Windows 7 if you like to keep your existing version of Windows.

    This article is on Technet Magazine. Have fun with your multiboot Windows 7. Click here.

    Sunday, January 10, 2010

    Infrastructure Planning and Design Guides for Virtualization (IPD Guides)

    Microsoft released an updated series of IDP guides which covers Windows Server 2008 R2.

    If you are trying to find out more before deploying your virtualization projects or you are looking for some guides that can get you up to speed quickly to start planning, then these IPD guides are the right documents you need.

    The Infrastructure Planning and Design guide series gives you architectural guidance for Microsoft infrastructure products. The IPD guides help clarify and streamline design processes for Microsoft infrastructure technologies, with each guide addressing a unique infrastructure technology or scenario.

    You can either choose to download the entire IPD series or Individual guides by Scenario. Check it out guys!!

    Get the Guides

    Guides by Scenario

    Wednesday, January 6, 2010

    Offline Virtual Machine Servicing Tools

    Microsoft released this Offline Virtual Machine Servicing Tool 2.1 that allows you to perform operating system updates to your offline virtual machines that are stored in your Microsoft System Center Virtual Manager library.

    This is helpful in keeping your offline virtual machines up-to-date so that when you create a new virtual machines from your selected library, you can confidently bring it online as it will not introduce vulnerables into your organization.

    It also saved your time and effort in recreating library images when new service packs and updates are released.

    Download it here. Click.