“Fix Tech Daily helps you solve real-world IT problems, with daily tips on Windows, Office, networks, and devices.”
Friday, August 8, 2025
Network issue in window server (no internet in Virtual Machine).
✅ Step-by-Step Guide to Fix No Network on Windows VM
🔹 Step 1: Confirm Your Virtual Machine Type
Which hypervisor are you using?
-
Hyper-V (Windows built-in)
-
VMware Workstation/Player
-
VirtualBox
-
[Let me know if another]
For now, I’ll explain for Hyper-V and VMware.
🔧 A. If You Are Using Hyper-V
1. ✅ Create a Virtual Switch
To give your VM access to the physical network:
-
Open Hyper-V Manager.
-
On the right, click Virtual Switch Manager.
-
Choose New virtual network switch → Select External → Click Create Virtual Switch.
-
Name it something like
ExternalSwitch
. -
Under Connection type, select the physical network adapter (e.g., Broadcom NetXtreme).
-
Check Allow management OS to share this network adapter (optional).
-
Click OK.
2. 🔌 Connect VM to Virtual Switch
-
Right-click your VM → Settings.
-
Go to Network Adapter.
-
Change Virtual switch to the one you just created (
ExternalSwitch
). -
Click OK.
3. 🌐 Check Inside Windows VM
-
Boot the VM.
-
Go to Network & Internet Settings → Change Adapter Options.
-
Right-click Ethernet → Properties.
-
Select Internet Protocol Version 4 (TCP/IPv4) → Properties.
-
Choose Obtain an IP address automatically (DHCP).
-
Or, manually assign IP like:
-
IP: ip address of your server
-
Subnet Mask:
255.255.255.0 as your ip class
-
Gateway: default
-
DNS: 8.8.8.8./ ip
-
-
-
Click OK, then restart the adapter.
4. ✅ Test Internet
-
Open CMD in VM and run:
nginxping 8.8.8.8 ping google.com
🔧 B. If You Are Using VMware Workstation/Player
1. 🛠 Check Network Mode
-
Power off the VM.
-
Go to VM > Settings > Network Adapter.
-
Choose:
-
Bridged – Connects directly to your physical network.
-
OR NAT – VM shares host IP but gets internet.
-
-
Make sure “Connect at power on” is checked.
2. 🌐 Inside the Windows VM
Follow the same IP configuration steps as in Hyper-V above.
✅ Common Issues to Check
Issue | Solution |
---|---|
VM network adapter is missing | Go to Device Manager > Network > Scan for hardware changes or install VMware Tools / Hyper-V Integration Services |
Wrong Virtual Switch | Make sure it's External, not Internal/Private |
Physical NIC doesn't support bridging | Try using NAT instead |
Firewall or AV blocking | Temporarily disable and test |
📄 Summary (Checklist)
Step | Action |
---|---|
✅ | Create External Virtual Switch (Hyper-V) |
✅ | Assign that switch to VM |
✅ | Use DHCP or a Static IP in the same subnet |
✅ | Set correct gateway and DNS |
✅ | Test with ping and browser |