DHCP Enabled: One Windows Server 2019 and Another Windows 10 Pro VM - No Internet Access

Abstract: Resolve no internet access in Windows Server 2019 and Windows 10 Pro VMs by fixing VMware network adapter settings, IP allocation, and DNS configuration.

Created: 2026-08-07 by
Both Windows Server 2019 and Windows 10 Pro virtual machines fail to access the internet despite having DHCP enabled in VMware Workstation. This issue typically stems from incorrect virtual network adapter configurations, misconfigured DNS settings within Active Directory, or host firewall restrictions blocking outbound traffic. The following guide provides a systematic approach to diagnosing and resolving these connectivity failures by verifying network adapters, IP allocation, and DNS resolution paths.

Verify Virtual Network Adapter Configuration

The most common cause of internet loss in virtualized environments is an improperly configured virtual network adapter. In VMware Workstation, you must ensure that both the Windows Server 2019 and Windows 10 Pro VMs are connected to a network type that provides NAT (Network Address Translation) or Bridged connectivity. NAT is generally recommended for isolated lab environments where you want the VMs to share the host's IP address while maintaining security. Open the VMware Workstation interface and navigate to the virtual machine settings. Select the network adapter and check the connection status. If the adapter is set to "Host-Only," it will not have internet access because this mode isolates the VM from the external network. Switch the setting to "NAT" or "Bridged." After changing the setting, restart the virtual machine to allow the guest operating system to re-initialize the network stack. This simple change often resolves immediate connectivity issues without requiring deeper configuration changes.

Check IP Address Allocation and Subnet Mask

Once the network adapter is correctly configured, verify that the VMs are receiving valid IP addresses via DHCP. Open Command Prompt on both the server and the client and run ipconfig /all. Look for the IPv4 address, subnet mask, default gateway, and DNS servers. If the IPv4 address starts with 169.254.x.x, the VM has failed to obtain an IP from the DHCP server and is using a Link-Local address. This indicates a communication failure between the VM and the DHCP service. If the IP address is valid but the default gateway is missing or incorrect, check the VMware virtual network editor. Go to Edit > Virtual Network Editor in the main VMware menu. Ensure that the NAT subnet matches the expected range for your environment. Verify that the DHCP service is enabled for the selected virtual network. If you are using a custom subnet, ensure that the gateway IP falls within that subnet range. Incorrect subnet masks can also prevent routing, so confirm that the mask (typically 255.255.255.0) aligns with your network design.

Validate DNS Settings in Active Directory

Since Active Directory is installed, DNS plays a critical role in name resolution. Misconfigured DNS settings can make it appear that there is no internet access, even if basic ping commands to IP addresses work. On the Windows Server 2019 domain controller, open the Network Connections panel and right-click the active adapter. Select Properties and then double-click Internet Protocol Version 4 (TCP/IPv4). Ensure that the preferred DNS server points to the local IP address of the Windows Server 2019 machine. On the Windows 10 Pro client, perform the same check. The client should point to the domain controller for DNS resolution. If the client is pointing to an external DNS server like 8.8.8.8, it may bypass internal AD records, causing authentication and connectivity issues. To test if DNS is the root cause, try pinging an external IP address like 8.8.8.8 from both VMs. If the ping succeeds but browsing fails, the issue is likely DNS-related. Flush the DNS cache on both machines using ipconfig /flushdns and retry.

Inspect Host Firewall and Routing Rules

The host computer running VMware Workstation may have firewall rules that block traffic from virtual network interfaces. Check the Windows Defender Firewall on the host machine. Ensure that inbound and outbound rules allow traffic for the VMware virtual adapters. Sometimes, third-party antivirus software or corporate firewalls interfere with virtual network drivers. Temporarily disable the host firewall to test if connectivity is restored. If it works, create specific exceptions for VMware processes rather than leaving the firewall disabled. Additionally, verify that the host itself has internet access. If the host cannot reach the internet, the VMs certainly will not. Check the host's network connection and ensure it is not behind a restrictive proxy. If the host uses a proxy, configure the VMs to use the same proxy settings in their TCP/IP properties. This step is crucial in enterprise environments where direct internet access is restricted.

Review VMware NAT Service Status

For NAT-based networks, the VMware NAT Service must be running on the host machine. Open the Services console (services.msc) on the host and locate "VMware NAT Service." Ensure its status is "Running" and the startup type is "Automatic." If the service is stopped, start it manually and observe if the VMs gain connectivity. Restarting the VMware networking services can also reset any stuck connections. Navigate to Edit > Virtual Network Editor, click "Restore Defaults," and apply the changes. This action resets all virtual network configurations to their factory state, which often resolves complex configuration drift issues.

Check for IP Conflicts and Lease Renewal

Occasionally, IP conflicts arise if multiple devices claim the same address. Use arp -a in the command prompt to view the ARP table and identify duplicate entries. If you suspect a conflict, release and renew the IP address on the VMs by running ipconfig /release followed by ipconfig /renew. This forces the DHCP client to request a fresh lease from the server. Monitor the DHCP server logs on Windows Server 2019 to see if the renewal requests are being processed correctly. If the server rejects the requests, check the DHCP scope options and exclusions to ensure the requested IP is available.

Frequently Asked Questions

Why does my VM show a 169.254 IP address?

A 169.254 address indicates that the VM could not contact a DHCP server. This usually happens when the virtual network adapter is disconnected, the VMware DHCP service is stopped, or the network type is set to Host-Only instead of NAT or Bridged.

Can I use Bridged mode instead of NAT?

Yes, Bridged mode connects the VM directly to the physical network, giving it its own IP address on the LAN. However, this requires that your physical router assigns IPs dynamically and that your network allows new devices to connect, which may not be permitted in secure corporate environments.

How do I reset VMware virtual network settings?

You can reset the settings by opening the Virtual Network Editor in VMware Workstation, clicking the "Restore Defaults" button, and applying the changes. This process reinstalls the virtual adapters and resets the NAT and DHCP configurations to their original state.

What if ping works but web browsing fails?

This symptom strongly suggests a DNS resolution problem. Verify that the VMs are pointing to the correct DNS server, which should be the Windows Server 2019 domain controller. Clear the DNS cache with ipconfig /flushdns and ensure that the DNS forwarder settings on the server are configured to resolve external names.

Does disabling the host firewall help?

Temporarily disabling the host firewall can help determine if it is blocking virtual network traffic. If connectivity returns, you should create specific inbound and outbound rules for VMware executables rather than leaving the firewall permanently disabled, as this poses a security risk.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More