Staging Files to Virtual Machines

by Mitch Tulloch [Published on 17 May 2011 / Last Updated on 11 April 2010]

Here's a tip on how you can quickly stage files from your Hyper-V R2 host computer to a virtual machine on that host.

If you need to stage files from your Hyper-V R2 host computer to a virtual machine on that host, you can quickly do so as follows:

1. Shut down the virtual machine.

2. Mount the virtual machine's .vhd file using DiskMgmt.msc on the host computer. To do this, select Attach VHD from the Action menu in Disk Management.

3. Use Windows Explorer to copy files from the host computer to the virtual machine's guest operating system as needed.

4. Unmount the .vhd file. To do this, right-click on the virtual disk (not the volume) in Disk Management and select Detach VHD.

5. Restart the virtual machine.

If you have feedback concerning this tip, please email me. And be sure to check out my website!

The Author — Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see .

Latest Contributions

Featured Links