If Windows Sandbox on Windows 11 shows no internet connection, the fix is usually to enable the virtual switch or reset the network stack inside the sandbox. This article explains why the issue happens and provides step-by-step solutions that work for most users.
Why Windows Sandbox Loses Internet
Windows Sandbox runs a lightweight, isolated Windows instance that shares the host’s network via a virtual switch. When that switch fails to initialize or the sandbox’s network adapter gets a stale configuration, you see the “No internet access” error. Common triggers include:
- Third-party firewall or VPN software blocking the virtual adapter.
- Windows Sandbox feature not fully installed or corrupted.
- Hyper-V or Virtual Machine Platform disabled after a Windows update.
- DNS cache or IP lease conflicts on the host.
Quick Fix: Reset the Sandbox Network
Start with the simplest method that often resolves the issue immediately.
- Close Windows Sandbox completely.
- Open Command Prompt as Administrator (right-click Start, select “Terminal (Admin)” or “Command Prompt (Admin)”).
- Run the following commands one by one, pressing Enter after each:
ipconfig /releaseipconfig /renewipconfig /flushdnsnetsh winsock reset - Restart your PC.
- Reopen Windows Sandbox and test the internet.
If the issue persists, move to the next fix.
Enable the Virtual Switch Manually
Windows Sandbox relies on the “Default Switch” created by Hyper-V. Sometimes it gets disabled or misconfigured.
- Press Win + R, type
ncpa.cpl, and press Enter. - Look for a network adapter named vEthernet (Default Switch).
- If it’s disabled, right-click and select Enable.
- If it’s missing, open Hyper-V Manager (if installed) or run
Get-Service vmmsin PowerShell to check the Virtual Machine Management service is running. - In an elevated PowerShell, restart the service:
Restart-Service vmms.
If the adapter still doesn’t appear, you may need to reinstall the Windows Sandbox feature.
Reinstall Windows Sandbox Feature
Corrupted feature files can break networking. Reinstalling is safe and preserves your files.
- Open Settings > Apps > Optional Features.
- Find Windows Sandbox and click Uninstall.
- Restart your PC.
- Go back to Settings > Apps > Optional Features and click Add a feature.
- Select Windows Sandbox and install it.
- Restart again and test.
This re-enables the virtual switch and often fixes the network issue.
Adjust Firewall and VPN Settings
Third-party security software can block the sandbox’s virtual adapter. To rule this out:
- Temporarily disable your VPN or firewall and test the sandbox.
- If it works, add an exception for the Windows Sandbox process (usually
vmwp.exe) in your firewall. - Ensure the network profile for the virtual adapter is set to Private (not Public) in Windows Security.
If you use a VPN, try connecting through the sandbox’s own VPN client instead of the host’s.
Check Hyper-V and Virtualization Settings
Windows Sandbox requires virtualization enabled in BIOS and the following features enabled:
- Virtual Machine Platform
- Windows Hypervisor Platform
- Hyper-V (optional but recommended)
To enable them:
- Open Control Panel > Programs > Turn Windows features on or off.
- Check all three boxes listed above.
- Click OK and restart.
Also ensure virtualization is enabled in your BIOS/UEFI (look for “Intel VT-x” or “AMD-V”). If it was disabled, enable it and boot into Windows.
Frequently Asked Questions
Why does Windows Sandbox have no internet even after I tried all these fixes?
If none of the above works, the issue may be a conflict with a third-party hypervisor (like VirtualBox or VMware) or an outdated network driver. Try uninstalling other hypervisors temporarily, updating your network driver from the manufacturer’s website, and running the Windows Network Troubleshooter (Settings > System > Troubleshoot > Other troubleshooters).
Can I use a proxy or custom DNS inside Windows Sandbox?
Yes, you can configure network settings inside the sandbox just like a regular Windows PC. Open Settings > Network & Internet > Proxy or DNS settings within the sandbox. However, the sandbox resets to a clean state every time you close it, so changes are not persistent.
Is there a way to share the host’s VPN connection with Windows Sandbox?
By default, the sandbox uses NAT through the host, so if the host has a VPN active, the sandbox may route through it. If not, you can enable Internet Connection Sharing (ICS) on the host’s VPN adapter, but this is advanced and may require extra configuration.
Does Windows Sandbox support Wi-Fi or only Ethernet?
It supports any connection that the host has, including Wi-Fi, Ethernet, or cellular. The sandbox uses a virtual switch that bridges to the host’s active network.
Will resetting the sandbox delete my files?
No, resetting the network settings or reinstalling the feature does not delete files inside the sandbox. However, Windows Sandbox is ephemeral by design—it discards all changes when you close it. So any files you save inside the sandbox are lost when you exit.
Can I run Windows Sandbox on Windows 11 Home?
Yes, Windows Sandbox is available on Windows 11 Home editions, but you must manually enable the feature via Optional Features, as it may not be pre-installed. It also requires a compatible CPU with virtualization support.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Mac Restart Problem? Fix the Error
- MacBook Sleep Mode: How to Turn It Off
- Oculus Air Link Not Working on Windows? Fixes
- Windows 10 Can’t Detect Hard Drive? Fixes That Work
- How to Archive Emails in Outlook Automatically or Manually
- Restore iPhone from Backup: iCloud & iTunes Steps