sodcalculator

10 Tech How-To

How to Use Windows PC as Router (Wireless & Wired)

Guide 10-46469 · Updated · Step by step

Turning a Windows PC into a router lets you share its internet connection with other devices, either over Wi‑Fi (creating a mobile hotspot) or through an Ethernet cable (Internet Connection Sharing). This is useful when you have a wired connection that lacks Wi‑Fi, need a temporary network, or want to extend your existing network. Before you start, make sure your PC has at least two network adapters: one connected to the internet (Wi‑Fi or Ethernet) and one that will serve the new network (Ethernet for wired sharing, or a supported Wi‑Fi adapter for a hotspot).

What You’ll Need

  • A Windows PC (Windows 10 or 11) with an active internet connection.
  • For wireless sharing: a Wi‑Fi adapter that supports hosted network or Mobile Hotspot (most modern adapters do).
  • For wired sharing: an Ethernet port on the PC and an Ethernet cable to connect to the client device.
  • Administrator access to the PC.

Step-by-Step

Option A: Set Up a Wireless Hotspot (Windows 10/11)

  1. Open Settings (Windows key + I).
  2. Go to Network & Internet > Mobile hotspot.
  3. Under Share my internet connection from, select the adapter that has internet (e.g., “Ethernet” or “Wi‑Fi”).
  4. Click Edit to set a network name (SSID) and password. Choose WPA2-Personal for security.
  5. Toggle Share my internet connection with other devices to On.
  6. On the client device, connect to the new Wi‑Fi network using the credentials you set.

Option B: Set Up Wired Internet Connection Sharing (ICS)

  1. Connect the Ethernet cable from your PC’s Ethernet port to the device that needs internet (e.g., a switch, another PC, or a game console).
  2. Open Control Panel > Network and Sharing Center > Change adapter settings.
  3. Right-click the adapter that has internet access (the one connected to your modem or router). Select Properties.
  4. Go to the Sharing tab.
  5. Check Allow other network users to connect through this computer’s Internet connection.
  6. In the Home networking connection drop-down, select the Ethernet adapter that is connected to the client device.
  7. Click OK. The client device should now receive an IP address via DHCP and have internet access.

Option C: Use Command Line for a Hosted Network (Older Windows)

  1. Open Command Prompt as Administrator (right-click Start > Windows Terminal (Admin) or Command Prompt (Admin)).
  2. Check if your Wi‑Fi adapter supports hosted network: type netsh wlan show drivers and look for “Hosted network support: Yes”.
  3. Create the virtual network: netsh wlan set hostednetwork mode=allow ssid=YourNetworkName key=YourPassword.
  4. Start the network: netsh wlan start hostednetwork.
  5. Open Network Connections (run ncpa.cpl), right-click the internet adapter, go to Sharing, and allow other users to connect, selecting the virtual adapter (usually “Local Area Connection* 12”) as the home network.
  6. To stop the network later: netsh wlan stop hostednetwork.

Common Mistakes

  • Choosing the wrong source adapter in Mobile Hotspot or ICS. Make sure you select the one that actually has internet, not the one you’re sharing to.
  • Forgetting to enable sharing on the internet adapter. Without this step, clients get an IP but no internet.
  • Using a weak password or leaving the network open. Always use WPA2 and a strong passphrase.
  • Not checking adapter compatibility for hosted network. Some Wi‑Fi drivers don’t support it; Mobile Hotspot is more reliable on Windows 10/11.
  • Firewall or antivirus blocking the shared connection. Temporarily test with the firewall disabled (but re-enable it after).

Tips

  • For best performance, use a wired Ethernet connection for the internet source and a separate adapter for sharing.
  • Keep your Windows updated to avoid driver issues.
  • If you’re sharing over Wi‑Fi, place the PC close to the clients to avoid signal drop.
  • Use a static IP on the client device if DHCP fails, but note that ICS usually handles DHCP automatically.
  • For a permanent setup, consider using a dedicated router or a software router like pfSense, but Windows ICS is fine for temporary use.

Troubleshooting

  • Clients connect but no internet: Check that the source adapter has internet (test on the PC). Re-enable sharing. In ICS, make sure the correct home adapter is selected.
  • Mobile hotspot toggle is greyed out: Your Wi‑Fi adapter may not support it. Try the command line method, or update the driver.
  • Hosted network won’t start: Run netsh wlan show drivers to confirm support. Also, the Wi‑Fi adapter might be in use; disconnect from any Wi‑Fi network and try again.
  • Client gets an IP but no internet: Temporarily disable Windows Firewall to test. If that fixes it, add an exception for ICS.
  • Slow speeds: Wired sharing is faster than wireless. Also, check for interference on Wi‑Fi channels.
  • ICS sharing tab is missing: Ensure you have administrator rights. The tab appears only on the adapter that has internet.

Frequently Asked Questions

Can I share both Wi‑Fi and Ethernet simultaneously?
Yes, you can enable Mobile Hotspot (for Wi‑Fi) and ICS (for Ethernet) at the same time, but the source adapter must be different from both. For example, use a cellular connection as the source.

Will this work on Windows 7 or 8?
Yes, using the hosted network command line method. Windows 10/11 have the built-in Mobile Hotspot feature that is easier.

Does the PC need to stay on for the internet to work?
Yes, the PC acts as the router, so it must remain powered on and connected to the internet.

Can I limit the number of devices connecting?
Windows Mobile Hotspot does not have a built-in limit. You can set a strong password to control access, but there is no device count limit.

Is it safe to use my PC as a router?
Yes, but keep Windows firewall enabled and use a strong network password. Also, be aware that the PC is more exposed to the network, so keep it updated.

Why is my hotspot not showing up on other devices?
Check that the hotspot is turned on, the SSID is broadcast, and that the Wi‑Fi adapter is not in airplane mode. Also, ensure the client device supports the same Wi‑Fi standard (e.g., 2.4 GHz vs 5 GHz).

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

The whole Tech How-To bed →