How to connect to the Internet on a PC via a laptop with Wi-Fi: 3 proven methods

The situation is familiar to many: your laptop has working Wi-Fi, but your desktop PC remains without internet. The reasons can vary, from a missing Wi-Fi adapter in the system unit to a faulty router. Fortunately, modern operating systems allow you to use your laptop as a desktop computer. intermediary to distribute the Internet to other devices. This process is called computer-to-computer connection or creation virtual router.

In this article, you will find three current ways to connect a PC to the Internet via a laptop: from built-in tools Windows to specialized programs. We'll examine the pros and cons of each method and provide recommendations for eliminating common errors. All instructions have been tested on Windows 10 And Windows 11, but most of the steps will work for older versions of the system as well.

Before you begin, make sure your laptop meets two key requirements:

  • 🔄 Has a working Wi-Fi adapter (to receive a signal from a router and distribute it to a PC).
  • 🔌 Connected to PC via Ethernet cable (recommended) or by Wi-Fi Direct (less stable).
📊 What internet sharing method have you tried before?
Mobile hotspot in Windows
Command line (netsh)
Third-party programs (MyPublicWiFi, Connectify)
Never tried it

Method 1: Mobile hotspot (the easiest)

IN Windows 10/11 there is a built-in function Mobile Hotspot, which transforms a laptop into a hotspot in just a few clicks. This method is ideal for beginners, as it doesn't require the command line or installing additional software.

To activate the hotspot:

  1. Open Settings → Network & Internet → Mobile Hotspot.
  2. In the drop-down menu "Sharing" Select the connection through which the laptop receives the Internet (usually Wi-Fi or Ethernet).
  3. Click "Change" next to the fields Network Name And "Password"to set your own parameters (it is recommended to use a password of at least 8 characters with numbers).
  4. Move the slider Wi-Fi Sharing in position "On".

Now, on your desktop computer, find the new Wi-Fi network with the specified name, connect to it, and enter the password. Your internet connection should be working automatically.

The laptop is connected to the internet | The Wi-Fi adapter is turned on (no airplane mode) | The network card drivers are installed on the PC | The antivirus does not block network sharing -->

⚠️ Attention: If your laptop's internet connection disappears after you turn on the hotspot, check your firewall settings. Sometimes Windows Defender blocks distribution as "suspicious activity." Add an exception for the private network in Firewall → Allow the application to interact.

Method 2: Command line (netsh)

For experienced users or in cases where the hotspot does not work, manual configuration via command lineThis method gives you more control over network settings, such as selecting a non-standard Wi-Fi channel to reduce interference.

Run the following commands in order (you can copy and paste them into cmd, running as administrator):

netsh wlan set hostednetwork mode=allow ssid="MySharedWiFi" key="12345678" keyUsage=persistent

netsh wlan start hostednetwork

Where:

  • ssid="MySharedWiFi" — the name of your network (replace with your own).
  • key="12345678" — password (minimum 8 characters).

After creating the network, you need to enable internet sharing:

  1. Open Control Panel → Network and Internet → Network and Sharing Center.
  2. Click on the active connection (through which the laptop receives the Internet) → Properties.
  3. Go to the tab "Access" and check the box Allow other network users to connect to your Internet connection.
  4. In the drop-down list, select the network you created (it will be called "Local Area Connection* X", where X is a number).
What to do if the netsh command doesn't work?

If after entering netsh wlan start hostednetwork an error appears "Failed to start hosted network", the reasons may be the following:

1. No support — Some older Wi-Fi adapters don't support access point mode. Check your adapter model. Device Manager and find the specifications on the manufacturer's website.

2. The driver is out of date - update your Wi-Fi adapter driver via device Manager or from the official website (for example, for Intel or Realtek).

3. Conflict with antivirus software - temporarily disable protection and repeat the command.

4. WLAN AutoConfig service is disabled - run it through services.msc (find WLAN AutoConfig and set the startup type "Automatically").

Problem Solution
The network is being created, but without internet access. Check your sharing settings in Connection properties (see step 3 above).
The PC connects, but websites don't open. Set DNS manually on your PC: 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare).
The network disappears after rebooting Create .bat-file with command netsh wlan start hostednetwork and add it to startup.

Method 3: Third-party programs (for advanced settings)

If built-in tools Windows If they can't handle the task, specialized utilities come to the rescue. They offer additional features, such as:

  • 📊 Traffic monitoring (who consumes and how much).
  • 🔒 Device filtering by MAC addresses.
  • Automatic start distribution when turning on the laptop.

The most popular programs:

  • MyPublicWiFi — free, simple, supports up to 10 connected devices.
  • Connectify Hotspot — the paid version allows you to distribute the Internet with 3G/4G modem and configure the firewall.
  • mHotspot — a lightweight utility with a minimalistic interface.

Example of setting in MyPublicWiFi:

  1. Download the program from official website (avoid third party sources!).
  2. Install and run as administrator.
  3. In the field "Network Name (SSID)" enter the network name in "Network Key" - password.
  4. In the section "Internet Sharing" select the source connection (eg Wi-Fi or Ethernet).
  5. Click "Set up and Start Hotspot".
⚠️ Attention: Free versions of programs (for example, Connectify) may limit download speed or display ads. For continuous use, it's better to choose a paid license or use the built-in tools. Windows.

4. Connecting a PC to a laptop: alternative options

If Wi-Fi sharing is not possible (for example, due to the lack of an adapter on your laptop), consider alternative methods:

  • 🔌 Via Ethernet cable (LAN). Connect the laptop and PC with a patch cord, then on the laptop in Network connections turn on "Public Access" for Ethernet connection.
  • 📶 Via Bluetooth. Pair the devices, then on the laptop in Settings → Devices → Bluetooth select Internet distribution. The speed will be lower than via Wi-Fi, but sufficient for email or instant messaging.
  • 💾 Via USB modem. If there is on the laptop 4G modem, connect it to your PC via USB and turn on the mode "Modem only" (operator support required).

To connect via Ethernet (the most stable option) follow these steps:

  1. Connect the laptop and PC with a cable LAN (use ports on the motherboard, not USB adapters).
  2. On your laptop, open Control Panel → Network and Sharing Center → Change adapter settings.
  3. Right-click on an active connection (for example, Wi-Fi) → Properties → Access.
  4. Check the box "Allow other network users to connect through this connection..." and select Ethernet on the list.

5. Common mistakes and their solutions

Even with proper setup, problems can still arise. Here are the most common ones and how to fix them:

Error Cause Solution
"Failed to start hosted network" The Wi-Fi adapter does not support access point mode. Update your driver or use a third-party program
The PC connects, but "No Internet Access" Sharing is not configured or blocked by a firewall Check your settings Access and disable the firewall
Network disappears after sleep/hibernation Power Saving turns off the Wi-Fi adapter IN Device Manager Disable permission to turn off to save power
Low distribution speed Wi-Fi interference or program limitation Change the channel manually or update your tariff

If an error appears on your PC "Limited" or "No network access", try to write it manually IP addresses:

  1. On your PC, open Settings → Network → Configure adapter settings.
  2. Right-click on the connection → Properties → Internet Protocol Version 4 (TCP/IPv4).
  3. Install:
    • IP address: 192.168.137.X (where X is any number from 2 to 254).
    • Subnet mask: 255.255.255.0.
    • Default gateway: 192.168.137.1.
    • DNS: 8.8.8.8.

6. Security when sharing the Internet

Sharing your internet connection from your laptop creates potential vulnerabilities for your network. Follow these recommendations to minimize the risks:

  • 🔐 Use a complex password (at least 12 characters with letters, numbers, and special characters). Avoid obvious combinations like 12345678 or qwerty.
  • 🛡️ Turn off distribution when it is not neededA constantly active hotspot increases the chances of being hacked.
  • 👥 Limit the number of connected devicesIn your router or program settings, specify the maximum number of clients (for example, 2–3).
  • 🔄 Update your drivers regularly Wi-Fi adapter. Outdated versions may contain vulnerabilities.

If you are distributing the Internet in a public place (for example, in a cafe or coworking space), turn on firewall and turn off file and printer sharing:

  1. Open Control Panel → Network and Internet → Network and Sharing Center.
  2. Click Change advanced sharing settings.
  3. Select a profile "Guest or public" and turn off all sharing options.
⚠️ Attention: When sharing your internet connection through your laptop, your primary IP address (which your ISP sees) isn't hidden. If you connect to pirated sites or torrents from your PC, all activity will be linked to your ISP account. For anonymity, use a VPN on both devices.

7. Speed ​​and stability optimization

To ensure your internet connection works as quickly and smoothly as possible, follow these tips:

  • 📶 Select a free Wi-Fi channel. Use programs like Wi-Fi Analyzer (For Android) or inSSIDer (For Windows) to find the least loaded channel (for example, 6 or 11 for the 2.4 GHz range).
  • 🔌 Connect the laptop to the power outlet. When running on battery power Windows may limit the performance of your Wi-Fi adapter to save power.
  • 🖥️ Disable downloads and updates on a laptop. Torrents, updates Windows or games consume the channel, leaving the PC without speed.
  • 🔄 Use the 5 GHz band (if supported). It is less susceptible to interference, but has a smaller coverage area.

If the distribution speed is critically low, check:

  1. Doesn't use a laptop? VPN or Proxy (they may limit bandwidth).
  2. Is it not enabled on the PC? Download traffic limit (check in Settings → Network → Status → Data usage settings).
  3. Is the channel overloaded with other devices (such as smartphones or smart TVs).

FAQ: Frequently Asked Questions

Is it possible to share internet from a laptop to a PC without a cable, only via Wi-Fi?

Yes, but this requires a Wi-Fi adapter (either built-in or external USB) on your PC. The laptop creates an access point, and the PC connects to it like a regular router. However, this connection is less stable than a cable connection and may slow down under heavy load.

Why does internet access disappear after rebooting my laptop?

Built-in command netsh wlan start hostednetwork resets after reboot. To automate the startup, create .bat-file with this command and add it to startup:

  1. Create a text file with the extension .bat (For example, start_hotspot.bat).
  2. Insert the following line into it: netsh wlan start hostednetwork.
  3. Place the file in the folder C:\Users\Your_name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

Is it possible to share internet from a laptop to several PCs simultaneously?

Yes, but the number of devices depends on the distribution method:

  • Mobile hotspot Windows: up to 8 devices (system limit).
  • Team netsh: up to 10–15 devices (depending on the Wi-Fi adapter driver).
  • Third-party programs: up to 30+ devices (in paid versions) Connectify or Baidu Wi-Fi Hotspot).

However, remember: the more devices there are, the lower the speed will be on each of them.

Will the distribution work if the laptop is connected to the Internet via a 4G modem?

Yes, but with some reservations:

  • If the modem is connected via USB, it needs to be done first allowing sharing in the settings Access (as for Ethernet).
  • Some operators (eg. Megaphone or Beeline) block data distribution from USB modems. In this case, the only solution is to change your tariff or use a program like Connectify, which masks traffic.
  • The speed will be lower than when distributing from a cable connection due to limitations of mobile networks.

How can I check how much traffic my PC is consuming when sharing from a laptop?

IN Windows There is no built-in tool for monitoring traffic on specific devices, but you can:

  • Use programs like GlassWire or NetBalancer, which show consumption by IP addresses.
  • In the router (if the distribution goes through it), look at the statistics in the section DHCP clients or Device management.
  • Turn on traffic accounting V Settings → Network → Status → Data usage settings (shows total consumption, without breakdown by device).