Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Virtual Hard Disk (.vhd file) contents may be accessed by all users after you mount the file as a loopback device in Windows Server 2008


View products that this article applies to.

Symptoms

Consider the following scenario. You mount a Virtual Machine hard disk file (.vhd file) as a loopback device in Windows Server 2008. The .vhd file is now available as a virtual hard disk. In this scenario, users may access the virtual machine, and they can read from or write to the virtual hard disk.

↑ Back to the top


Cause

This issue occurs if you mount a .vhd file as loopback device by using the Hyper-V Windows Management Instrumentation (WMI) APIs.

↑ Back to the top


Workaround

To enforce the security of the contents of a .vhd file that is mounted as a loopback device, use one of the following methods:
  • Configure NTFS file system permissions on files and folders in the mounted .vhd file.
  • Use a separate server to which virtual machine users do not have access.

↑ Back to the top


References

For more information about Hyper-V, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB954358, kbtshoot, kbbug, kbexpertiseadvanced, kbwmi, kbfile, kbpermissions

↑ Back to the top

Article Info
Article ID : 954358
Revision : 2
Created on : 6/23/2008
Published on : 6/23/2008
Exists online : False
Views : 298