Do you urgently need internet on your smartphone, but only have a laptop with a wired connection? Or do you want to share your tablet's mobile data with another device? Sharing Wi-Fi from a laptop This solution solves this problem without purchasing additional hardware. Just a few clicks and your laptop becomes a fully-fledged access point.
This instruction will work for most modern laptops. Windows 10 And Windows 11, as well as for hybrid devices (for example, Microsoft Surface or Lenovo Yoga). We will consider three proven methods: through command line, mobile hotspot And third-party programs — with detailed screenshots and explanations for beginners. We'll also cover common errors (for example, when the network is visible but won't connect) and give tips on how to boost the signal.
Before you begin, make sure your laptop supports the technology. Hosted Network (virtual access point). This can be checked in Device Manager - if in the section Network adapters there is a device marked Wireless or Wi-Fi, then there will be no problems. For MacBook The procedure is different - read about it in a separate article.
1. Command line method (universal method)
This method works on all versions Windows starting from 7s and does not require installation of additional software. The main advantage is maximum stability connections, since the settings are specified at the system level. Cons: You'll have to enter commands manually (but we'll provide ready-made templates).
Open command prompt as administrator (find it through the system search, right-click → Run as administrator). Enter two commands in turn:
netsh wlan set hostednetwork mode=allow ssid="Network_Name" key="Network_Password" keyUsage=persistent
netsh wlan start hostednetwork
Instead of Network_name And Network_Password Enter your details. The password must be no shorter than 8 characters (You can use numbers and Latin letters). After executing the second command, you will see a message The hosted network is launched.
Now it's necessary enable internet sharingTo do this:
- Open
Control Panel → Network and Sharing Center. - Go to
Changing adapter settings. - Find the connection through which the laptop receives the Internet (for example,
EthernetorWireless network), right-click →Properties. - In the tab
Accesscheck the boxAllow other network users to share your Internet connectionand select the created network from the drop-down list (it will be calledLocal Area Connection* X, where X is a number).
The laptop is connected to the Internet (via cable or mobile network)
The Wi-Fi adapter is turned on (check the button on the case or Fn + key with the antenna)
Antivirus software is not blocking network connections (temporarily disable it)
The network password contains Latin characters and numbers.
-->
⚠️ Attention: If you see an error after entering the commandsFailed to start hosted network, then your Wi-Fi adapter does not support the modeHosted NetworkTry updating the driver (download from the laptop manufacturer's website) or use the mobile hotspot method.
Important: After restarting your laptop, Wi-Fi sharing will be disabled. To re-enable it, simply re-enter the command. netsh wlan start hostednetwork. If you need to automate the process, create .bat-file with this command and add it to startup.
2. Mobile hotspot in Windows 10/11 (the easiest way)
In the latest versions Windows a built-in function has appeared mobile hotspot, which simplifies internet sharing with just one click. This method is ideal for beginners, as it doesn't require knowledge of commands or manual configuration.
How to enable:
- Open
Settings → Network & Internet → Mobile Hotspot. - In the field
Sharing an Internet connectionselect a source (egEthernetorWi-Fi, if the laptop is connected to another network). - Click
Changeto set the network name and password (the default is a random set of characters). - Move the slider
Allow other devices to use my internet connectionin positionOn
Done! Now other devices can connect to your network. This window also displays information about connected devices (up to 8 at a time). If something goes wrong, Windows It will suggest solutions itself, for example, changing the Wi-Fi channel or updating the driver.
| Parameter | Command line | Mobile hotspot |
|---|---|---|
| Difficulty of setup | Medium (teams needed) | Easy (interface) |
| Connection stability | High | Medium (may break off) |
| Support for older Windows | Yes (with Win 7) | No (Win 10/11 only) |
| Automatic start | Need to configure | Yes (turns on at system startup) |
| Max. number of devices | Unlimited | Up to 8 |
⚠️ Attention: In some builds Windows 10 (Especially pirated ones) the mobile hotspot function may be missing or not work properly. In this case, use the first method or third-party programs.
3. Wi-Fi Sharing Software: When Standard Methods Don't Work
If built-in tools Windows If your network refuses to cooperate, specialized utilities can help. They offer advanced settings: Wi-Fi channel selection, speed limiting for connected devices, MAC address blacklisting, and even ad blocking. Let's look at three proven programs:
- 🔹 MyPublicWiFi — a simple utility with a minimalist interface. It allows you to keep a connection log and block unwanted websites. Compatible with Windows 7-11.
- 🔹 Connectify Hotspot — a paid program with a trial period. It can distribute the Internet via
3G/4G modemand create signal repeater (repeater). - 🔹 Virtual Router Plus — open-source software. Lightweight, but lacking additional features. Works on all versions of Windows.
Example of setting in MyPublicWiFi:
- Download the program from official website (take the version
Setup, and notPortable). - Install, run as administrator.
- In the field
Network Name (SSID)enter the network name inNetwork Key- password. - In the section
Internet Sharingselect the internet source (for example,Local Area Connectionfor cable connection). - Click
Set up and Start Hotspot.
The advantage of programs is that they often bypass restrictions WindowsFor example, if your Wi-Fi adapter does not support Hosted Network, Connectify may use alternative protocols. However, be careful: some utilities (especially from dubious sites) may contain malicious codeDownload software only from official sources.
How to check a program for viruses before installation?
Use the service VirusTotalDownload the installation file and wait for it to be analyzed. If more than 2-3 antivirus programs detect threats, decline the installation. Also, check reviews on forums (e.g., 4PDA or GeekTimes).
4. Common mistakes and their solutions
Even with proper configuration, Wi-Fi hotspots can still experience issues. Here are the most common issues and how to fix them:
- 🚫 The network is visible but does not connect. → Check if it is enabled Internet access sharing (See section 1). Also try disabling Windows Firewall or antivirus software during connection.
- 🔄 The connection keeps dropping → Change the Wi-Fi channel in your router settings (if your laptop is connected to it) or in the Wi-Fi sharing app. Optimal channels:
1, 6, 11(for the range2.4 GHz). - 🔌 No internet access on connected devices → Make sure the correct connection is selected in the sharing settings (e.g.
Ethernet, and notWi-Fi). - 📶 Weak signal → Move your laptop closer to the devices or use USB Wi-Fi adapter with an external antenna (for example, TP-Link TL-WN722N).
If none of the methods helped, check Wi-Fi adapter driver:
- Open
device Manager(Win + X → Device Manager). - Expand the section
Network adapters, find your Wi-Fi module (for example, Intel Wireless-AC 9560). - Right click →
Update driver → Automatic search. - If the update does not help, download the driver from the laptop manufacturer's website (section
Support).
5. How to boost your Wi-Fi signal
If connected devices are losing connection or the speed is poor, try these methods:
- 📡 Positioning the laptop → Place it on an elevated surface (for example, on a table), away from metal objects and household appliances (microwave, refrigerator).
- 🔋 Energy saving → B
Control Panel → Power Optionsselect a schemeHigh performanceIn power saving mode, the Wi-Fi adapter can operate at reduced power. - 🔄 Changing the Wi-Fi standard → In the adapter settings (in
Device Manager) try switching from802.11non802.11ac(if supported). - 🛠️ External adapter → USB devices like ASUS USB-AC56 or TP-Link Archer T3U provide a more stable signal due to external antennas.
For advanced users: If you are distributing Wi-Fi via command line, you can manually set a channel with minimal interference. To do this:
- Enter the command
netsh wlan show driversand check supportHosted Network. - Find out the channel load using the utility WiFi Analyzer (there is for Android) or inSSIDer (For Windows).
- Set the channel manually with the command:
netsh wlan set hostednetwork channel=6(Where
6— channel number).
⚠️ Attention: In apartment buildings there are channels1, 6, 11are often overloaded. Use channels3, 4, 8, 9- they are less common, but can cause interference on adjacent frequencies.
6. Security: How to protect your network from hacking
Sharing Wi-Fi from your laptop puts you at risk of becoming a target for hackers, especially if you're in a public place. Here's 5 safety rulesthat will help avoid problems:
- 🔐 Complex password → Use a combination of 12+ characters with capital letters, numbers and special characters (for example,
WiFi@Laptop2026#). Avoid simple sequences like12345678. - 🔄 Changing your password regularly → If you share internet in a cafe or hotel, change the password every day.
- 🚫 MAC address blacklist → In programs like Connectify You can block specific devices by their MAC address.
- 🛡️ Disabling distribution → Always turn off the access point when it is not needed (using the command
netsh wlan stop hostednetworkor through the program interface). - 🔍 Connection monitoring → Check the list of connected devices in
Mobile hotspotor through the commandarp -ain the command line.
If you are distributing the Internet via public network (for example, in a hotel or airport), turn on VPN on your laptop. This will protect your data from interception. Free VPN services: ProtonVPN, Windscribe (with traffic limit).
For maximum protection, turn off network discovery in the sharing settings (Control Panel → Network and Sharing Center → Change advanced sharing settings). This will hide your laptop from other devices on the local network.
7. Alternative methods of distributing the Internet
If Wi-Fi sharing is not possible (for example, due to a faulty adapter), consider these options:
- 🔌 Through Ethernet (cable) → Connect a second computer or Smart TV directly through
LAN cableand enable sharing as described in section 1. - 📶 Bluetooth connection → B
Settings → Devices → Bluetoothturn on the modeSharing an Internet connectionThe speed will be low (up to1–3 Mbps), but it's enough for instant messengers. - 📱 USB tethering → If your laptop is connected to the internet via your smartphone (USB), you can share this internet connection with other devices. Android:
Settings → Hotspot & Tethering → USB Tethering.
For Linux (For example, Ubuntu or Mint) The process of distributing Wi-Fi is different. Use the utility create_ap:
sudo create_ap wlan0 eth0 NetworkName Password
Where wlan0 - your Wi-Fi interface, and eth0 - cable connection.
⚠️ Attention: Interfaces and Internet Protocols in Linux may have other names. Check them using the commandip aorifconfig.
FAQ: Frequently asked questions about sharing Wi-Fi from a laptop
Is it possible to share Wi-Fi from a laptop if it is connected to another Wi-Fi network?
Technically yes, but it depends on the Wi-Fi adapter driver. Most modern laptops (for example, Dell XPS or HP Pavilion) support the regime Wi-Fi Direct, which allows you to simultaneously receive and distribute internet. However, speed may drop by 30–50%. Check your mobile hotspot settings—if there is a connection in the list of internet sources Wi-Fi, then distribution is possible.
How many devices can be connected to the shared network?
Restrictions depend on the distribution method:
- Command line: up to 10–15 devices (limited by adapter bandwidth).
- Mobile hotspot: up to 8 devices (limit Windows).
- Third-party programs: up to 20–30 (for example, Connectify (in the paid version).
In practice, with just 5–7 connected devices, the speed will begin to drop noticeably.
Why doesn't Wi-Fi automatically connect after rebooting my laptop?
This is a feature of the service. Hosted NetworkTo enable distribution at system startup:
- Create a text file with the extension
.batand paste the commandnetsh wlan start hostednetwork. - Place the file in the startup folder:
C:\Users\Your_name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.
For a mobile hotspot, autostart is configured in the settings Windows: Settings → Network & Internet → Mobile hotspot → Allow remote wake-up.
Is it possible to distribute Wi-Fi from a laptop? MacBook?
Yes, but the process is different. macOS:
- Open
System Preferences → Sharing. - Select
Public Internetfrom the list on the left. - In the field
General connectionPlease provide the source (eg.Ethernet), and inFor computers using—Wi-Fi. - Click
Wi-Fi settingsand set the network name, channel, password. - Check the box
General accessin the left column.
On MacBook with a chip M1/M2 There may be restrictions on distribution through USB/Thunderbolt.
Is it legal to distribute Wi-Fi in public places (cafes, hotels)?
Legally, you are not breaking the law if:
- You distribute mine Internet (for example, from a mobile tariff).
- You do not charge a connection fee.
- Do not use other people's personal information (for example, the login/password for the hotel Wi-Fi).
However, in some hotels or cafes forbidden Create your own hotspots—this may be stipulated in the terms of service. In the worst case, you'll be asked to disable sharing.