Use Local Devices and Resources on Hyper-V Virtual Machine in Windows  

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 24,602
    10 Home x64 (21H2) (10 Pro on 2nd pc)
       #10

    m534753 said:
    I just wanted to create internal network so that the virtual image will be able to communicate the host system.
    For an XP Hyper-V VM there are three things to know in order to use sharing. The first is that the XP VM can only use a 'Legacy Network Adapter'.

    The second is that you need to create a an external switch for XP to use.

    Note   Note
    Since Windows 10 version 1709, Hyper-V now includes a default virtual switch named simply as Default. Creating your own external virtual switches is no longer required to get Internet connection to virtual machines.

    However, to guarantee best networking capabilities between host machine and its virtual machines, it is recommended to create an external switch and use it instead. Using Default switch is totally OK if networking between host and Vm is not required.
    Hyper-V virtualization - Setup and Use in Windows 10

    The third is that any W10 machine you want to connect to from XP must have 'SMB 1.0/CIFS Server' enabled in Windows Features' because XP uses SMB1. If you just want to connect to an XP share from W10, then you only need 'SMB 1.0/CIFS Client' on the W10 machine.

    Here's one I made earlier: Win 10 networking to an XP computer has changed - post #10
      My Computers


  2. Posts : 1
    Windows, Ubuntu
       #11

    Hey,

    Thanks for the information.
    I want to ask if it is possible to automate this process through a ps1 script? Or this has to be done manually?
    I'm able to enable enhanced session through ps1, but I'm not able to find anything that can help me automate the rest of the process (step 4-9).
    Do you have any ideas?

    Thanks!
      My Computer


  3. Posts : 13,934
    Windows 10 Pro X64 21H1 19043.1503
       #12

    @Brink, I don't get the VMConnect dialog and Enhanced Session is checked under View. Any other things I can check?

    Host is 2004 19041.331, VM is 2004 20161.1000

    I'm trying to share host drives with VM.
      My Computers


  4. Posts : 61,554
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #13

    Ztruker said:
    @Brink, I don't get the VMConnect dialog and Enhanced Session is checked under View. Any other things I can check?

    Host is 2004 19041.331, VM is 2004 20161.1000

    I'm trying to share host drives with VM.
    Hello Rich,

    Double check to make sure the Remote Desktop Services service is enabled and running.

    If so, then see if the note box under step 4 may help.
      My Computers


  5. Posts : 13,934
    Windows 10 Pro X64 21H1 19043.1503
       #14

    Yes, already checked that and it's running. I'll check Note 4, thanks.

    Edit: That worked great, thanks Shawn.
      My Computers


  6. Posts : 23
    Win10 21H2 Build 19044.1469
       #15

    Hello Shawn @Brink,

    Your words:
    Upon creating "If you don't see the VMConnect dialog and the virtual machine is currently running without enhanced session, then click/tap on View on the menu bar of the virtual machine, and click/tap on the unchecked Enhanced session to open the VMConnect dialog."

    On the 'View' menu, in between ''Toolbar' and 'Zoom', the 'Enhanced session' is grayed out on . My Manjaro linux VM runs well, but without sound. When this VM was created, I did enable the Server setting "Enhanced Session Mode Policy", and in the User setting "Use enhanced session mode".

    What could be the reason for the 'Enhanced session' being grayed out? I wanted the enhanced session as I thought it would enable the local sound and video card hardware on my Windows 10 sever to be used by my Manjaro VM.
      My Computer


  7. Posts : 61,554
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #16

    namitutonka said:
    Hello Shawn @Brink,

    Your words:
    Upon creating "If you don't see the VMConnect dialog and the virtual machine is currently running without enhanced session, then click/tap on View on the menu bar of the virtual machine, and click/tap on the unchecked Enhanced session to open the VMConnect dialog."

    On the 'View' menu, in between ''Toolbar' and 'Zoom', the 'Enhanced session' is grayed out on . My Manjaro linux VM runs well, but without sound. When this VM was created, I did enable the Server setting "Enhanced Session Mode Policy", and in the User setting "Use enhanced session mode".

    What could be the reason for the 'Enhanced session' being grayed out? I wanted the enhanced session as I thought it would enable the local sound and video card hardware on my Windows 10 sever to be used by my Manjaro VM.
    The Hyper-V virtual machine (guest) must run Windows Server 2012 R2, Windows Server 2016, Windows 8.1, or Windows 10 as the guest operating system.

    Since you are running a Manjaro linux VM, it will not support enhanced session mode.
      My Computers


  8. Posts : 23
    Win10 21H2 Build 19044.1469
       #17

    Thank you Shawn. Thinking about it before seeing your response, I thought it might have been the inability to create a generation 2 VM. Upon creation, gen1 was my only choice. You've completely cleared up why 'Enhanced session' was grayed out.
      My Computer


  9. Posts : 61,554
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #18

    namitutonka said:
    Thank you Shawn. Thinking about it before seeing your response, I thought it might have been the inability to create a generation 2 VM. Upon creation, gen1 was my only choice. You've completely cleared up why 'Enhanced session' was grayed out.
      My Computers


  10. Posts : 24,602
    10 Home x64 (21H2) (10 Pro on 2nd pc)
       #19

    Brink said:
    The Hyper-V virtual machine (guest) must run .. Windows 8.1, or Windows 10 as the guest operating system....
    In addition, it must be a Windows 8.1/10/11 Pro guest. Home does not support an enhanced session.
      My Computers


 

Tutorial Categories

Use Local Devices and Resources on Hyper-V Virtual Machine in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


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

Designer Media Ltd
All times are GMT -5. The time now is 23:11.
Find Us




Windows 10 Forums