Quick fix: Windows 11 Mobile Hotspot turns off after 5 minutes if no devices connect. To change timeout via registry: open Registry Editor (Admin) → navigate to HKLM\SYSTEM\CurrentControlSet\Services\icssvc\Settings. Find PeerlessTimeoutEnabled DWORD. Set value to 0 to disable timeout entirely. Or adjust PublicConnectionTimeout (in seconds). Restart Mobile Hotspot service.
Mobile Hotspot auto-disables after 5 minutes idle by default. Useful default for battery, but annoying when waiting for devices to connect. Registry tweak adjusts or removes timeout.
Affects: Windows 11.
Fix time: ~10 minutes.
What causes this
Windows 11 Mobile Hotspot (Internet Connection Sharing service / icssvc) auto-disables after 5 minutes if no devices connect. Saves battery / mobile data. Registry controls this behavior:
- PeerlessTimeoutEnabled: 1 = timeout active, 0 = disabled.
- PublicConnectionTimeout: timeout in seconds.
Method 1: Disable timeout entirely via registry
The standard route.
- Open Registry Editor as Admin (Win+R,
regedit). - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\icssvc\Settings. - Right-click in right pane → New → DWORD (32-bit) Value.
- Name: PeerlessTimeoutEnabled. Value: 0.
- OK.
- Restart the service: open Services (services.msc) → find Internet Connection Sharing (ICS). Right-click → Restart.
- Or open PowerShell:
Restart-Service icssvc. - Re-enable Mobile Hotspot via Settings → Network & internet → Mobile hotspot. It now stays on indefinitely.
- Watch battery / data; permanent hotspot consumes more.
This is the standard fix.
Method 2: Set specific timeout duration
For custom timeout (not unlimited).
- Same registry path:
HKLM\SYSTEM\CurrentControlSet\Services\icssvc\Settings. - Create DWORD: PublicConnectionTimeout. Value: timeout in seconds.
- 300 = 5 min (default).
- 600 = 10 min.
- 1800 = 30 min.
- 3600 = 1 hour.
- Keep PeerlessTimeoutEnabled at 1 (active) for this to apply.
- Restart icssvc service.
- Hotspot now respects new timeout.
- For tweaking specific values: also try PrivateConnectionTimeout for connected devices timeout.
- For chronic disconnect after specific time: test different values to find sweet spot.
- Reboot may be required.
This is the granular control.
Method 3: Use PowerShell automation for hotspot
For scripting and consistent state.
- For automated hotspot management:
# Enable Mobile Hotspot via PowerShell [Windows.System.Threading.ThreadPool, Windows.System.Threading, ContentType = WindowsRuntime] | Out-Null $connection = [Windows.Networking.Connectivity.NetworkInformation, Windows.Networking.Connectivity, ContentType = WindowsRuntime]::GetInternetConnectionProfile() $tetherManager = [Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager, Windows.Networking.NetworkOperators, ContentType = WindowsRuntime]::CreateFromConnectionProfile($connection) # Enable: $tetherManager.StartTetheringAsync() # Disable: $tetherManager.StopTetheringAsync() - For scheduled keep-alive: Task Scheduler → trigger at idle.
- For batch: write a script that re-enables hotspot if disabled.
- For checking hotspot status:
netsh wlan show hostednetwork. - For starting hostednetwork (legacy method, may not work on all adapters):
netsh wlan set hostednetwork mode=allow ssid=MyHotspot key=Password123 netsh wlan start hostednetwork - For complete control: third-party tools like Connectify, mHotspot.
This is the automation route.
How to verify the fix worked
- Mobile Hotspot stays on past the default 5-minute idle.
- Connect a device after waiting > 5 minutes — still discoverable.
- Registry shows PeerlessTimeoutEnabled = 0 (or PublicConnectionTimeout with longer value).
- Service status:
Get-Service icssvc— Running.
If none of these work
If hotspot still times out: Service restart needed: restart icssvc after registry change. For Wi-Fi adapter doesn’t support hosted network: netsh wlan show drivers → check “Hosted network supported.” If No: adapter doesn’t support; can’t override. For Wi-Fi 6 / 6E adapters: some don’t support older hosted network — use Wi-Fi Direct. For Bluetooth pairing tethering: separate; different setting. For cellular data hotspot: phone or eSIM provides; separate from Wi-Fi. For chronic disable: registry changes may be reset by Windows updates. Re-apply. For corporate-managed PCs: Group Policy may force hotspot off entirely. For chronic timeout regardless: third-party hotspot tools bypass Windows’s built-in.
Bottom line: Registry: HKLM\SYSTEM\CurrentControlSet\Services\icssvc\Settings → DWORD PeerlessTimeoutEnabled = 0 to disable timeout. Or PublicConnectionTimeout for custom seconds. Restart icssvc service.