Cannot assign physical hard drive to VM


  1. Posts : 469
    Win 7 Pro 64-bit
       #1

    Cannot assign physical hard drive to VM


    I created a Win 7 VM using Hyper V (not an expert) and it seems to work just fine except that I cannot get it to see the host physical drive. The VHDX is fine, the CD is fine, but the in the VM settings, the Physical hard disk setting is greyed out. Iwant to share files between the host and the VM, What am I missing?
    Attached Thumbnails Attached Thumbnails Cannot assign physical hard drive to VM-cannot_connect_physical_drive.png  
      My Computer


  2. Posts : 2,468
    Windows 7 Ultimate x64
       #2

    The screenshots hints a possible cause, the disk must be offline. That is, it must not have been assigned any letter to any partition on the host system, so that the VM can take over it.

    Is mounting the whole HD really needed? If you need to share files, you could use some other, more normal way to share them, like using standard Windows shares on those files, or mounting a FTP or SSH server, for example, just as if they were separate physical machines.
      My Computer


  3. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #3

    Alejandro85 said:
    The screenshots hints a possible cause, the disk must be offline. That is, it must not have been assigned any letter to any partition on the host system, so that the VM can take over it.
    Exactly. Using Disk Management on host you have to unmount / make offline every host disk you want to use on a vm. Of course you cannot make the host system disk offline, making it impossible to use it on vm.


    Alejandro85 said:
    Is mounting the whole HD really needed? If you need to share files, you could use some other, more normal way to share them, like using standard Windows shares on those files, or mounting a FTP or SSH server, for example, just as if they were separate physical machines.
    Repeating myself but again: Exactly!

    Another option: Your vm seems to run Windows 7 Pro, why don't you connect to it using Remote Desktop Connection? Simply run the vm, allow remote connections to it, close the Virtual Machine Connection (the vm) window and connect to it from host using remote desktop.

    Remote Desktop tutorial at Seven Forums: Remote Desktop Connection (RDC) - Network

    A bit more in-depth Remote Desktop connection tutorial on our sister site the Ten Forums, applies to Windows 7, 8, 8.1 & 10 (step 3.6 shows how to give the vm / remote computer access to your host drives): RDC - Connect Remotely to your Windows 10 PC - Windows 10 Forums

    Kari
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:49.
Find Us