Showing posts with label Hyper-V Server 2008. Show all posts
Showing posts with label Hyper-V Server 2008. Show all posts

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, June 29, 2009

    Installing Hyper-V Server 2008

    A friend asked me how difficult is it to setup Hyper-V Server 2008 for his IT-Lab. My answer to him is "It is very simple. Just go ahead and do it!". Hyper-V Server 2008 is free!!

    Below are all the information that I fed him and these are enough for him to proudly setup his first Hyper-V Server 2008.

    Good Web Resources:
    1. Microsoft Hyper-V Server Home Page
    2. Download your Hyper-V Server ISO
    3. Microsoft Assessment and Planning Toolkit to help you assess your current IT infrastructure.
    4. Window Server Virtualization Guide for your reading and knowledge, to help in your planning and deployment.
    5. Hyper-V Server Configuration Tool Guide

    Installation:
    Installation is very simple. Burn the ISO into a DVD and boots your machine with your DVD.
    1. The first screen that greets you is to ask you to select a Language.
    2. Then select the "Language to install", "Time and currency format", and "Keyboard or input method".
    3. Click on Install Now to start installing.
    4. Accept the license agreement
    5. Select Custom (advanced)
    6. Select which Disk and Partition to install Hyper-V. Click Next and installation begins.

    Configuring Hyper-V Server 2008:
    1. First thing that you need here is the Administrator's password to login to your newly installed Hyper-V Server. Enter Administrator and an empty password to login. You will be prompted to create a new password.
    2. You will not get your desktop on Hyper-V Server 2008, you will be given a menu driven User Interface tool known as Hyper-V Configuration Tools. If you need to start the tools at any time run hyconfig.cmd.


    3. I think the configuration tools menu is self explanatory. I will leave it to you to set your computer name (2), Join Domain/workgroup (1), configure your network settings(3).
    4. Finally, you can manage this Hyper-V Server 2008 machine remotely using the following methods:
    • Microsoft® Windows Server 2008 (a full installation) with the Hyper-V Manager
    • Microsoft® Windows® Vista SP1 with the Hyper-V Manager
    • Microsoft® System Center Virtual Machine Manager 2008

    5. Have fun!!!