Sharing files with a Non Hyper-V R2 VM

Hi all,


Recently I got sick of constantly having to break my scripts down into 512 character chunks (here is a great work-around if you want to increase the amount ) I decided to come up with a–what I feel– is clever work-around to this problem.


  1. First, from the parent partition, create a new VHDx file.  Mount this to your host OS.
  2. Copy any scripts, files, etc you’d like to share with the guest it into the file
  3. Mount this VHDx on the SCSI controller of your VM (to get live access to it)
  4. Enjoy!


In order to copy back and forth, you’ll need to take the vhd offline from Disk Manager on the host machine, and likewise for the guest, but it is a work-able work-around.

Have a code issue? Share your code by going to and pasting your code there, then post the link here!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.