Click here to try Mozy for FREE!
Recommended: Click here repair PC errors
Click here to run a Free Registry scan
WebWatcher

How to Enable File Sharing in Virtual PC

by Gilberto J Perera View Comments Share
Enable File Sharing in Virtual PC

If you’ve ever worked with Virtual environments then you know the importance of file accessibility. In my case I have a preset list of programs that I install when testing Windows environments as such seamless access to these files is essential. Virtual PC has a set of additions that enable users the ability to share folders with the host PC, the software does this via the creation of network drives that are enabled in the virtual environment which link files/directories to the host machine. The guide below will demonstrate how to add shared folders from your host computer to the virtual environment. If you have any comments or questions, please post them below.

Note: I used Virtual PC 2007, Windows XP SP3 as the virtual environment, and Vista SP1 Premium as the host for this tutorial.

1. Install Virtual PC Additions by following this tutorial, you can skip this step if you have already installed virtual machine additions.

Enable File Sharing in Virtual PC

2. While running your Virtual Machine, click on Edit > Settings

Enable File Sharing in Virtual PC

3. A dialog box will appear, it states that some settings cannot be modified while the Virtual PC is running, in this case is does not matter, so click OK to proceed.


Enable File Sharing in Virtual PC

4. Select Shared Folders from the list to the left, an empty shared folders list will appear to the right, click on the Share Folder button below the list.

Add Remove Accounts in Outlook

5. Browse and select the directory you wish to share, before clicking OK you have two options available; the ability to re-share the directory (Share every time check box) and the assignment of a Drive letter.Once you’ve chosen your settings click OK to return to the Shared Folders list.

Enable File Sharing in Virtual PC

6. Click OK to return to the Virtual PC

Enable File Sharing in Virtual PC

7. Open My Computer in the virtual environment and you will see the folder you just shared listed as a network drive in the virtual environment

Do you like this article?

Related Posts

  1. How to Install Virtual Machine Additions Using Virtual PC 2007
  2. How to Edit the Default Virtual Machine Directories in VirtualBox
  3. How to Install Guest Additions in VirtualBox
  4. How to Create a Virtual Machine with Windows Virtual PC
  5. How to Create a New Virtual Machine in VirtualBox
How-to

About the author

Gilbert is a Microsoft MVP, a full-time blogger, and technology aficionado. When Gilbert is away from his bike and his iPad, he's busy writing technology how-to's from his home-office in Miami, Florida on the latest programs and gadgets he can get his hands on. He's locally known as "the computer guy" and has spent the last 12 years helping family, friends, and GilsMethod.com visitors with their computer questions and problems. He was awarded the 2009 MVP award from Microsoft for his contributions in forums and blogs and is enjoying the new addition to his family.

Want more articles like this delivered for free to your inbox?

To receive the latest technology how-to's, news, and reviews, enter your email address below.

Sign up below

View Comments to “How to Enable File Sharing in Virtual PC”

  1. Bharath says:

    Thanks Gilberto. I was successfully able to share my folders.

    Bharath.

  2. razeshzone says:

    Hello i have installed virtiual PC-SP1 and have shared the files from host to virtual Pc. Now the problem i have is that i want to share the files of VIRTUAL PC to my HOST PC. So can you help me providing the easy steps of doing this?

  3. Gilberto J Perera says:

    @Arthur: Have you verified that meet the minimum requirements (correct OS, etc)? Also do you have Virtual Machine Additions installed? Let me know so that I can help you.

    http://www.gilsmethod.com/how-to-install-virtual-machine-additions-for-virtual-pc

  4. Arthur says:

    Guys i’ve tried it and it didn’t work the share folder is not accessible it doesn’t let you mark or unmark it simple stuck.. please help

  5. Gilberto J Perera says:

    @Randy West: Performance wise it depends on the specs for the host PC. Regarding the shared file for QuickBooks, I don’t think you can do that…I ran into some issues using QB08′ on a shared directory and using the Offline files feature in Vista. I looked up it on their website and they confirmed it.

    I’m not sure how related that is to sharing a file on a Virtual share, but it’s worth the try.

    One word of advice though. Back up your QuickBooks file…please. I went through a really bad scare and if it wasn’t for a backup I’d be SOL. Hope this helps and good luck.

  6. Randy West says:

    I have vista ultimate 64 operating system as host. I would like to add a virtual machine with a shared file to run Quickbooks 2009 mulituser version from both the virtual machine and host operating systems. Do you forsee an issue with doing this? i.e. – is it possible, will there be performance issues, etc.

    Thanks,
    Randy

  7. DonBakke says:

    This seems to be the standard method I’ve found for enabling file sharing. However, I find this method to be extremely slow. I want to use Virtual PC to test programs I write in different environments *without* having to copy/install them to each virtual machine. In some cases I get a “The parameter is incorrect” error message when attempt to launch an .exe file on the shared drive.

    Any ideas?

    • Gilberto J Perera says:

      @DonBakke: I’ve had similar issues while transferring large files from the Virtual PC to the host via shared folders. I resolved this by mounting the VHD files using Gizmo, but this sounds like a different issue. Have you verified that you host PC meets the minimum requirements set by Virtual PC? I had a user on this page whose problem seemed to stem from the fact that he was running Vista Home edition. If that isn’t the problem, have you considered creating an image file (ISO) of these files to load onto each virtual machine as a CD-ROM and then running the files from there? This will keep you from copying them to each virtual machine and you just keep one copy.

      If that doesn’t work for you try using Virtual Box instead. Please follow up with your solution so that everyone can learn from your experience. Thanks and good luck.

  8. velmurugan says:

    Share Folder in Virtual PC is not working

    1. My host pc is Vista Home Basic,
    2. I have installed Virtual PC 2007
    3. I have installed Guest OS XP in Virtual PC
    4. Action –> Install or Update Virtual Machine Additions – done
    5. Then I tried to enable share folder in virtual pc as per above mentioned steps.
    6. For me still Share Folders — current value showing not installed, Share Folders button not enable in right side.

    Please help me out to resolve this issue.

    Thanks,
    Velmurugan

    • Gil says:

      @velmurugan: Thanks for getting back to me. I think I found your problem. The host PC for Virtual PC 2007 per Microsoft’s website has to be Vista Business and above, it seems that you are running Home Basic and it is unsupported by Virtual PC 2007. There are several people online that have installed it successfully in Home Basic and Premium, but Microsoft warns that it is at your own risk. Those that have installed it seem to have the same issue.

      Before giving up I would try to reinstall the Virtual Machine Additions on guest PC. To uninstall head over to the control panel and locate Virtual Machine Additions.

      You can also install Virtual PC on another computer (supported OS) or try dragging and dropping files from Host to Guest…it should work, but I’m not sure if it will work with the whole unsupported issue.

      Hope this helps you understand the error you are receiving. Please see the link below.

      Microsoft Virtual PC 2007 Requirements

  9. Gil says:

    @velmurugan: Can you please be more specific? Where is it that you are getting stuck? Thanks.

  10. velmurugan says:

    We have tried this option for no longer it’s not working. I have installed the add on applications, but no luck.. please help me out.

    Thanks,
    Velmurugan

Leave a Reply

blog comments powered by Disqus