Stop Mobile Hotspot from turning off in Windows 11/10
Here we have taken two scenarios. First is where the Mobile Hotspot feature turns off automatically. The second is where the hotspot disables when there is no internet connection. This feature will not work if you do not have a WiFi adapter. If you are using a desktop, you can add an external WiFi adapter. Before you begin, do remember to create a system restore point first.
1] Turn off Power Saving feature
In Windows 11:
Open Settings > Network & InternetClick on Mobile HotspotToggle on Share my Internet connection with other devicesAgainst Power saving, toggle off the option – When no devices are connected, automatically turn off the mobile hotspot.
In Windows 10:
Open Settings > Network & InternetClick on Mobile HotspotToggle on Share my Internet connection with other devicesAt the end of the settings, toggle off the option – When no devices are connected, automatically turn off the mobile hotspot.
Post this; even if you do not have a device connected to Mobile Hotspot, it will remain always on. The option is visible only when you turn on Mobile Hotspot.
2] Use PowerShell command
Open PowerShell with admin privileges, and execute the commands given below: This stops Mobile Hotspot Service (icssvc). Then execute this command: This adds a Registry value and then restarts the stopped service. It will make sure that Mobile Hotspot doesn’t turn off itself. Here is what the script is doing in the background.
It stops Mobile Hotspot Service (icssvc)Then it opens:
Creates a DWORD Key PeerlessTimeoutEnabled with value 0Restarts Mobile Hotspot Service (icssvc)
While you can do this manually, we highly recommend using the PowerShell command for best results.
3] Increase Mobile Hotspot idle timeout settings
The default timeout when there is no active connection is five minutes. If you do not want to keep it always on, but keep it turned on longer, you can use this method. By changing the same key PeerlessTimeout available at a different location, you can change it to a maximum of 120 minutes. Open Registry Editor Navigate to: Change the value of this key to anywhere between 1 to 120 Exit and Restart.
4] Increase timeout period when a cellular connection is unavailable
Many a time you want to connect devices, so it becomes part of the network. However, Mobile Hotspot will automatically turn off when there is no internet or mobile data. However, using a registry setting, you can change any value between 1 and 60 inclusive. The default value is 20 minutes. Open registry editor Navigate to: Set the value between 1-60 Exit and restart Keeping this on will let you use your computer as a bridge for all devices. You will be able to access files and folders of other devices by sharing them on the network.
5] Disable Wifi & Network adapter Power Management options
The WiFi adapter and the network devices have properties that will turn off when on battery, and not used for a long time.
Open Device Manager (Win+X+M)Expand Network devices listSelect the Wifi adapter, and go to the Power Management tabAnything related to power saving should be turned off
It will make sure none of the network devices will turn off Mobile Hotspot or trigger anything which will do that. While you can choose to keep the Mobile Hotspot always on, it will impact your battery life if you use a laptop. Most of the devices with the Mobile Hotspot feature has the same setting to make sure to save the battery.