Hyper V Windows XP VM - Beginner


GerBear69

New member
Local time
10:41 AM
Posts
10
OS
Windows 11
Hi Guys,

Looking for some help getting an internet connection to a newly created Windows XP virtual machine using Hyper V.

I'm unable to connect the new external virtual switch to my Wireless Network Adapter. It keeps giving me binding errors.

I am able to get a successful LAN connection using the internal switch.

I'm very new to VM's so bare with me :geek:
 
Windows Build/Version
Windows 11

My Computer

System One

  • OS
    Windows 11

Bree

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,736
Location
S/E England, UK
OS
Windows 11 Home
Looking for some help getting an internet connection to a newly created Windows XP virtual machine using Hyper V.
Welcome to Eleven Forum.

The most important thing when using an XP VM in Hyper-V is to use the Legacy Network Adapter. The Default Switch should give you internet access.

1651522603871.png
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

Bree

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,736
Location
S/E England, UK
OS
Windows 11 Home
I'm unable to connect the new external virtual switch to my Wireless Network Adapter.
I had no problems creating a Virtual Switch using my WiFi adapter.

1651523466608.png

I did however run into another problem. The Host machine had a very slow connection to anything else on my network if I had a Virtual Switch present. If you have that problem too, see this thread.

 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

GerBear69

New member
Thread Starter
Local time
10:41 AM
Posts
10
OS
Windows 11
Unfortunately, I am getting an error after I try to apply the External Network connection type while it's configured as the Legacy Network Adapter

Hyper V 2.png
 

My Computer

System One

  • OS
    Windows 11

GerBear69

New member
Thread Starter
Local time
10:41 AM
Posts
10
OS
Windows 11
OK! So, using the default switch allows me to get out to google and google topics on the Windows XP VM... I think because I was attempting to link the new "External VM switch" with the "Default Switch" already configured to use the WiFi adapter, it wouldn't allow them both to use it...

BUT going to any sites leaving google, it blocks me... says that can't connect to server. So I'm going to have to look into some security settings or maybe a DNS issue.
 

My Computer

System One

  • OS
    Windows 11

Bree

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,736
Location
S/E England, UK
OS
Windows 11 Home
going to any sites leaving google, it blocks me... says that can't connect to server. So I'm going to have to look into some security settings or maybe a DNS issue.
No, what you need is another browser that will run in XP. XP's Internet Explorer 8 can't handle https sites, Google is one of the few websites that still have an http url available, so that's why it still works. Most website these days are https only.

What's the most secure browser for Windows XP? Here are the best web browsers for Windows XP, compared.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

GerBear69

New member
Thread Starter
Local time
10:41 AM
Posts
10
OS
Windows 11
Thanks Bree much appreciated! I have some old Rockwell Automation software I need to download and the firmware versions of the software are only compatible with Windows XP.

I’m sure I’ll need some more help in the future with Hyper V and VMs and it looks like I came to the right spot.
 

My Computer

System One

  • OS
    Windows 11

Bree

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,736
Location
S/E England, UK
OS
Windows 11 Home
Thanks Bree much appreciated! I have some old Rockwell Automation software I need to download....
Rather than try to download in XP, I would download on the host machine's own browser, such as Edge. Then you could transfer it to the VM, either by a network share on the XP VM (you'll need to enable SMB1 Client in Windows 11 before it can connect to a share on an XP machine). Or you could use Hyper-V Manager to create a new virtual hard disk (.vhd or .vhdx). Mount this in Windows 11 File Excplorer by double-clicking on it. Then copy the files to it. Use Disk Management to detach the virtual disk, then add it as a second hard drive for the XP VM.
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

cereberus

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,011
OS
Windows 10 Pro + others in VHDs
The issue of internet running slowly when you have an external switch in hyperv enabled is an known issue.

This is basically what you need to do. Instructions here are for Intel NICs but may differ for other NICs but principle is same.



PS in your original post "bare with me" means for both of us to take off our clothes. I am sure you meant "bear with me" LOL.
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

jimbo45

Well-known member
Power User
VIP
Local time
2:41 PM
Posts
1,631
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
OK! So, using the default switch allows me to get out to google and google topics on the Windows XP VM... I think because I was attempting to link the new "External VM switch" with the "Default Switch" already configured to use the WiFi adapter, it wouldn't allow them both to use it...

BUT going to any sites leaving google, it blocks me... says that can't connect to server. So I'm going to have to look into some security settings or maybe a DNS issue.
If you are BROWSING on XP then you'll probably find because of HTML4 and other changes to HTTP protocols since XP that you'll need something like Firefox. Many sites won't take IE or similar.

XP also has (AFAIK) no USB 3 support so set to USB2 . I don't think that there should be problems with the external VM switch unless there's no XP driver for it - HYPER-V should be able to sort that out though with an appropriate "Virtual Network adapter".

I'm not using HYPER-V but the principle should be the same --here my XP VM is using two Virtual Nics - On this system you need two if you want Host/Guest communication - on HYPER-V that might not be necessary. On my system one Nic is for Internet and LAN access while the other a (Macvtap device) is used for Guest/Host communication on a "private" or subnet connection. Messing around with Network Bridges etc is a bit of a pain IMO. NAT works but has that disadvantage with Guest/Host communication - hence the Macvtap device for the 2nd Virtual NIC.

(I wouldn't though recommend a lot of Internet usage with XP though) !!!! I'm just showing this "Because it still can be done".

If you want SOUND on XP - again it should depend on what the HOST VM software package can provide (unless you attach a USB device directly to the GUEST and install a driver). AC97 usually works for XP or even SB-16 (remember "Sound Blaster" cards !!!). I think HYPER-V can manage all that these days though.

Screenshot_20220503_103400.png


Guest>Host communication :

Screenshot_20220503_104004.png


cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

GerBear69

New member
Thread Starter
Local time
10:41 AM
Posts
10
OS
Windows 11
Rather than try to download in XP, I would download on the host machine's own browser, such as Edge. Then you could transfer it to the VM, either by a network share on the XP VM (you'll need to enable SMB1 Client in Windows 11 before it can connect to a share on an XP machine). Or you could use Hyper-V Manager to create a new virtual hard disk (.vhd or .vhdx). Mount this in Windows 11 File Excplorer by double-clicking on it. Then copy the files to it. Use Disk Management to detach the virtual disk, then add it as a second hard drive for the XP VM.
I think it would be preferable to create a share as I will have files that could prove beneficial to have on both my host machine and the guest VM. Having some connectivity between my XP machine and other devices on my network could also prove useful... Will SMB1 be required to connect to other devices on my network? From what I'm reading, SMB1 is very outdated and Microsoft provides a "Leasing Mode" option.
 

My Computer

System One

  • OS
    Windows 11

GerBear69

New member
Thread Starter
Local time
10:41 AM
Posts
10
OS
Windows 11
If you are BROWSING on XP then you'll probably find because of HTML4 and other changes to HTTP protocols since XP that you'll need something like Firefox. Many sites won't take IE or similar.

XP also has (AFAIK) no USB 3 support so set to USB2 . I don't think that there should be problems with the external VM switch unless there's no XP driver for it - HYPER-V should be able to sort that out though with an appropriate "Virtual Network adapter".

I'm not using HYPER-V but the principle should be the same --here my XP VM is using two Virtual Nics - On this system you need two if you want Host/Guest communication - on HYPER-V that might not be necessary. On my system one Nic is for Internet and LAN access while the other a (Macvtap device) is used for Guest/Host communication on a "private" or subnet connection. Messing around with Network Bridges etc is a bit of a pain IMO. NAT works but has that disadvantage with Guest/Host communication - hence the Macvtap device for the 2nd Virtual NIC.

(I wouldn't though recommend a lot of Internet usage with XP though) !!!! I'm just showing this "Because it still can be done".

If you want SOUND on XP - again it should depend on what the HOST VM software package can provide (unless you attach a USB device directly to the GUEST and install a driver). AC97 usually works for XP or even SB-16 (remember "Sound Blaster" cards !!!). I think HYPER-V can manage all that these days though.

View attachment 28321


Guest>Host communication :

View attachment 28322


cheers
jimbo

Thanks Jimbo... As I was only looking to get out to the internet to download some legacy software and realizing other options now exist I will definitely limit my internet usage.

I do however need to install software and transfer files between the two machines so setting up a share would be ideal. I'll also need to connect to other devices on my network similarly to what you have setup. So, if I want to connect my two machines(Host Windows 11 and Guest Windows XP) I could use a private network with one Virtual Network Interface Card and then an external switch with another virtual network card to be able to connect to other devices on my network over a LAN/Internet connection?
 

My Computer

System One

  • OS
    Windows 11

Bree

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,736
Location
S/E England, UK
OS
Windows 11 Home
Will SMB1 be required to connect to other devices on my network? From what I'm reading, SMB1 is very outdated and Microsoft provides a "Leasing Mode" option.
No, not exactly a 'leasing mode'. There is an option to remove it automatically after a while if it isn't used but if that is not ticked then it stays installed.

For a W10/11 machine to be able to see and use a share on an XP machine then the 'SMB 1.0/CIFS Client' must be enabled in W10/11. For an XP machine to see and use a share on a W10/11 machine, then that W10/W11 machine must have the 'SMB 1.0/CIFS Server' enabled. It is probably the SMB1 server that is the bigger security risk, so I would advise just enabling the client then initiating all sending or reading of files from the W10/11 machine.

view
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

GerBear69

New member
Thread Starter
Local time
10:41 AM
Posts
10
OS
Windows 11
No, not exactly a 'leasing mode'. There is an option to remove it automatically after a while if it isn't used but if that is not ticked then it stays installed.

For a W10/11 machine to be able to see and use a share on an XP machine then the 'SMB 1.0/CIFS Client' must be enabled in W10/11. For an XP machine to see and use a share on a W10/11 machine, then that W10/W11 machine must have the 'SMB 1.0/CIFS Server' enabled. It is probably the SMB1 server that is the bigger security risk, so I would advise just enabling the client then initiating all sending or reading of files from the W10/11 machine.

view
OK sounds good I will give that a go. So, with the SMB 1.0/CIFS Client enabled... I should be able to map a network drive on my Windows XP VM, which should then show up on my network on my W11 machine and be able to transfer files back and forth? If I map the drive on my W11 machine will this automatically show up on my Windows VM machine?
 

My Computer

System One

  • OS
    Windows 11

Bree

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,736
Location
S/E England, UK
OS
Windows 11 Home
with the SMB 1.0/CIFS Client enabled... I should be able to map a network drive on my Windows XP VM, which should then show up on my network on my W11 machine and be able to transfer files back and forth? If I map the drive on my W11 machine will this automatically show up on my Windows VM machine?
If your W11 machine maps a drive to a share on the XP machine then it will show in the W11 machine and you'll be able to move files in both directions, subject to share and file permissions set on the XP machine. For my purposes I like to share a Temp folder with the share permissions and the NTFS permissions of that folder both set to Everyone: Full control.

Mapping the W11 machine to an XP share does not mean that the XP machine will then see any shares on the W11 machine. That is a quite seperate and independent mapping, and requires the W11 machine to have the SMB1 Server enabled.
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

jimbo45

Well-known member
Power User
VIP
Local time
2:41 PM
Posts
1,631
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
If your W11 machine maps a drive to a share on the XP machine then it will show in the W11 machine and you'll be able to move files in both directions, subject to share and file permissions set on the XP machine. For my purposes I like to share a Temp folder with the share permissions and the NTFS permissions of that folder both set to Everyone: Full control.

Mapping the W11 machine to an XP share does not mean that the XP machine will then see any shares on the W11 machine. That is a quite seperate and independent mapping, and requires the W11 machine to have the SMB1 Server enabled.

@GerBear69

If you install Putty on XP you don't need to bother with ANY version of SMB if you just want to transfer files

on the windows XP system (or W11) install Putty
generate a key (ist time -- Puttygen) use Rsa, save public and private keys -- all on the minigui.
Ensure SSH is available on target server



then simple


Screenshot_20220503_183743.png
Just send / receive files

To initiate the session : just put IP address of remote server in the box

Remote server can be windows -- same deal. In my case I'm using a NAS (Linux on LAN) as remote from Windows XP in this example

Screenshot_20220503_184318.png




Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

GerBear69

New member
Thread Starter
Local time
10:41 AM
Posts
10
OS
Windows 11
If your W11 machine maps a drive to a share on the XP machine then it will show in the W11 machine and you'll be able to move files in both directions, subject to share and file permissions set on the XP machine. For my purposes I like to share a Temp folder with the share permissions and the NTFS permissions of that folder both set to Everyone: Full control.

Mapping the W11 machine to an XP share does not mean that the XP machine will then see any shares on the W11 machine. That is a quite seperate and independent mapping, and requires the W11 machine to have the SMB1 Server enabled.

Trying to get my machines to map together but it doesn't seem to want to find the XP machine in the network... I've got the connections bridged and I can see the LAN connections on the XP machine but unable to find that when I browse my network. Network sharing is on.

Hyper V 3.jpg

You can see there is a network bridge, connecting the Wifi and the vEthernet (Internal VM Switch)

Hyper V 4.jpg
You can see the connected LAN connections going to the XP machine. But still unable to see either machine from eachother.

Hyper V 5.jpg
 

My Computer

System One

  • OS
    Windows 11

jimbo45

Well-known member
Power User
VIP
Local time
2:41 PM
Posts
1,631
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Trying to get my machines to map together but it doesn't seem to want to find the XP machine in the network... I've got the connections bridged and I can see the LAN connections on the XP machine but unable to find that when I browse my network. Network sharing is on.

View attachment 28371

You can see there is a network bridge, connecting the Wifi and the vEthernet (Internal VM Switch)

View attachment 28372
You can see the connected LAN connections going to the XP machine. But still unable to see either machine from eachother.

View attachment 28373
Hi there
can you display the IP addresses of the Host and Guest -- in command mode in each machine type ipconfig.

Then on each machine you should basically see two IP adresses - one for each interface
e.g on my HOST here there's the one eno2 which is the physical one that the HOST accesses the Internet and is acessible to other machines on the LAN -- 192.168.1.56 and the Virtual NAT one 192.168.254.1 which is the IP address that the GUEST uses to access the Host.

Screenshot_20220503_221144.png

Now on the Guest : it's 192.168.1.164 which is the address this VM is known to other machines on the LAN and it's Virtual NAT of 192.168.254.176.

so on the Guest if I ping the Host at 192.168.254.1 i should see a response from the Host

Screenshot_20220503_221903.png

and the other way : On the Host if I ping 192.168.254.176 the guest should send this response:

Screenshot_20220503_222510.png

Then on your say W11 machine try in your folder to map to \\Ipaddress using the appropriate subnets - this will depend on your network but post the IP addresses as I've done.

Enabling SMB1 is fine while you are testing. Ensure also firewall allows inbound / outbound traffic and "allow remote connections to this machine are enabled in Windows and uncheck the box only allow "secure" connections or whatever in the box under allow remote connections ,

Enable also on the XP machine slightly different panel but it's in control panel ->system>remote

Screenshot_20220503_223232.png

Then you should be able to connect a network drive

From GUEST to see Host :

Screenshot_20220503_223805.png

Similarly from Host to Guest (not logged on to W11 currently so can't screenshot but it DOES work !!!!

The trick is to find the two NAT addresses as I've tried to show in the examples. Post your's and it should be "Sortable out" - I don't think there should be any inherent difficulty in Host / Guest communication in HYPER-V assuming the network has been set up correctly.

While testing also on a LAN at home I'd switch firewall off completely on both Guest and Host -- don't add extra complications into networking - once the basic flow works then you can adjust security as required. Windows Networking often to me seems to need more magic than "Gandalf the Wizard" has to get it working. !!!

Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

Bree

Well-known member
Pro User
VIP
Local time
3:41 PM
Posts
2,736
Location
S/E England, UK
OS
Windows 11 Home
Trying to get my machines to map together but it doesn't seem to want to find the XP machine in the network...
Generally the Host machine should be able to see shares on the guest VM (and vice versa) using the Default Switch. For access to and from other PCs on the network you need to use a Virtual Switch.


In practice I find accessing network shares from the XP VM to be problematic. I find it simplest/easiest to access a share on the XP VM from the Host machine (XP is sharing C:\Temp in this example). Make sure the XP machine is in the same Workgroup (mine is named Home).

1651615201467.png
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

jimbo45

Well-known member
Power User
VIP
Local time
2:41 PM
Posts
1,631
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Generally the Host machine should be able to see shares on the guest VM (and vice versa) using the Default Switch. For access to and from other PCs on the network you need to use a Virtual Switch.


In practice I find accessing network shares from the XP VM to be problematic. I find it simplest/easiest to access a share on the XP VM from the Host machine (XP is sharing C:\Temp in this example). Make sure the XP machine is in the same Workgroup (mine is named Home).

View attachment 28398
Hi there
Shouldn't be a problem one way or the other (Host->Guest and Guest t> Host) provided you choose the right network connections .

BTW if you really do want internet browsing on XP then filefox v52 ESR is the last one that will work OK on XP.

Screenshot_20220504_092414.png
cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Top Bottom