Cannot install new virtual Hard Disk - Hyper V 2008 Standard

Posted on 2011-05-12
Last Modified: 2012-05-11
Hi all,

since the latest updates (might be coincidence) but i can no longer use my Hyper V install.
I have removed the Hyper V Role, reinstalled it and i now get this message no matter what.
I was receiving a similar message before removing the role fully.

I have tried installing on in a different area on the hard drive to no avail.

The Server encountered an error while configuring hard disk on "New Virtual Machine"
Failed to add device "Microsoft Virtual Hard Disk"
Cannot open attachement "C:\HyperV\test server\new virtual machine.vhd, Error: The process cannot access the file because it is beiong used by another process."

cannot get information for attachment "c:\hyperv\test server\new virtual machine.vhd

cannot open attachment "c:\hyperv\test server\new virtual machine.vhd. error " the process cannot access the file because it is being used by another process.

new virtual failed to add device Microsoft virtual hard disk. (virtual machine id 6F41C7B3-180C-4160-A282-F4685F2C6C67)

new virtual machine: cannot open attachment "C:\hyperv\test server\new virtual machine.vhd. error the process cannot access the file because it is being used by another process. (0X80070020). (virtual machine id 6F41C7B3-180C-4160-A282-F4685F2C6C67)

it then more or less repeats the above errors.
Question by:andymdb
    LVL 20

    Expert Comment

    by:Svet Paperov
    Do you have anti-virus software on the server? Disable AV scanning on the Hyper-V folders.

    Do you have another Event errors (pls, provide Event IDs)?

    Author Comment

    OK, yes we use Trend Micro Worry Free.

    I'll try that now. I



    Author Comment

    Nope, that's not the problem.

    I have managed to create a new virtual hard disk, but on creating a new virtual machine it walks through the wizard perfectly until you either chose to use the existing virtual disk at this point it fails with the process in use error, or if you chose new it fails with the same process is in use error.

    Really annoying this.

    Author Comment

    Just attempted to edit the disk as a trial to see if i caould access it. error message below

    Accepted Solution

    The Fix

    This error used to come up only when we were specifying the details of VHD during  the process of creating a virtual machine. We were able to create a virtual machine if we skip VHD details and also were able to create VHD individually
    Resolution :
    We captured logs from the machine and analyzed them. We found following:
    Filter                Volume Name                              Altitude        Instance Name      Frame  VlStatus
    --------------------  -------------------------------------  ------------  ---------------------  -----  --------
    FAMv4                 C:                                      285125       FAMv4 Instance           0    
    FAMv4                                                         285125       FAMv4 Instance           0    
    FAMv4                 D:                                      285125       FAMv4 Instance           0    
    FAMv4                 \Device\HarddiskVolumeShadowCopy62      285125       FAMv4 Instance           0    
    FAMv4                 \Device\HarddiskVolumeShadowCopy63      285125       FAMv4 Instance           0    
    FAMv4                 \Device\HarddiskVolumeShadowCopy1       285125       FAMv4 Instance           0  
    From the logs, we figured out that one of the filter driver (FAMv4.SYS) present on the machine have open handle on the process and hence not allowing us to create a virtual machine. We disabled the driver from registry and rebooted the machine for the changes to take effect. After reboot, we were able to create the virtual machine successfully.
    I would like to share a few articles related to Hyper V that you may find useful, while using this technology. I hope you will appreciate it.
    Troubleshooting Hyper-V
    Hyper-V Technical Information and Resources
    Hyper-V Guest Clustering Step-by-Step Guide
    Hyper-V Snapshots: Suggestions for Success
    How to recover snapshots
    Virtual Machine Snapshots with Hyper-V
    Getting some more info about my .vhd and .avhd files
    Hyper-V Videos
     Hope this helps some one
    This fix costs us £199 from Microsoft.

    Author Closing Comment


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction I've already written articles on how to set up a Hyper-V Cluster (, and how we can benefit from Microsoft licensing grants within Hyper-V (, but …
    Introduction In one of my previous articles (, I explained how to create a native Windows 2012 Cluster.  The metho…
    This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now