12

Windows 10 mobile hotspot automatic turn off if not used.

It will automatic turn the hotspot hot after 5 or 10 minutes if I didn't use it.

How do I change this settings in mobile hotspot?

Hotspot Mobile

  • Are you asking if there is a way to enable this? It's quite unclear what you are asking. – music2myear Jun 22 '17 at 16:21
12

I had similar problem. When I was not connected to my laptop's win10 mobile hotstop, it will turn itself off.

Tried to look for advanced settings for mobile hotspot but couldn't find, Other people suggested to turn off the power feature of the "network adapter" which in incorrect.

Instead of network adapter, you need to change settings of the hotspot virtual adapter.


Solution:

  1. activate mobile hotspot.

2a. R click wifi system icon, then click network & internet settings. you may need to click mobile hotspot option, then find the network and sharing center

OR

2b. control panel, network and sharing center.

  1. you should see the mobile hotspot connection (check the hotspot ssid name), in addition to you internet wi-fi/ethernet connection.
  2. click on the connection "ex: local area network" under your hotspot connection
  3. click properties
  4. you should see that "connect using" has microsoft wifi direct virtual adapter
  5. configure
  6. power management tab
  7. uncheck - allow the computer to turn off this device to save power
  • this didnt work for me! Is there another solution? – Pramesh Bajracharya Apr 18 '18 at 13:45
  • In the 7th step configure is a "Configure..." button on the top of the properties window. – androbin Apr 5 at 13:19
2

I've created PowerShell script to turn on the Mobile Hotspot if it's not enabled yet. You Can save it as a .ps1 file and add it to the task scheduler (I've used this guide). Here is the script:

Add-Type -AssemblyName System.Runtime.WindowsRuntime
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
Function Await($WinRtTask, $ResultType) {
    $asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
    $netTask = $asTask.Invoke($null, @($WinRtTask))
    $netTask.Wait(-1) | Out-Null
    $netTask.Result
}
Function AwaitAction($WinRtAction) {
    $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and !$_.IsGenericMethod })[0]
    $netTask = $asTask.Invoke($null, @($WinRtAction))
    $netTask.Wait(-1) | Out-Null
}

$connectionProfile = [Windows.Networking.Connectivity.NetworkInformation,Windows.Networking.Connectivity,ContentType=WindowsRuntime]::GetInternetConnectionProfile()
$tetheringManager = [Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager,Windows.Networking.NetworkOperators,ContentType=WindowsRuntime]::CreateFromConnectionProfile($connectionProfile)
if ($tetheringManager.TetheringOperationalState -eq 1) 
{
    "Hotspot is already On!"
}
else{
    "Hotspot is off! Turning it on"
    Await ($tetheringManager.StartTetheringAsync()) ([Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult])
}
  • Tested on Windows10, works. – alexlomba87 Jun 6 at 11:34
0

Microsoft think that it's not safe if you keep your wifi-hotspot on when there is no one connected to it.So Windows will turn it off after several minutes.Changing the power save configuration won't work for it.

  • 1
    The answer would be more helpful if you could post a reference. – davidbaumann Nov 12 '18 at 13:50
0

The other PowerShell answer by DanceDance probably works, but I can provide a simpler PS script which accomplishes the same thing. That is, we want to enable the hotspot every one in a while programmatically so that if it's turned off because no clients are connected, it will be turned back on shortly.

Following a few other answers, here's my PS script:

$connectionProfile = [Windows.Networking.Connectivity.NetworkInformation,Windows.Networking.Connectivity,ContentType=WindowsRuntime]::GetInternetConnectionProfile()
$tetheringManager = [Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager,Windows.Networking.NetworkOperators,ContentType=WindowsRuntime]::CreateFromConnectionProfile($connectionProfile)
while ($true) {
    $tetheringManager.StartTetheringAsync()
    Start-Sleep -s 300
}

This will enable the hotspot if it's off, checking every 5 minutes. By running this in PS, or through a regular command line by calling PowerShell.exe -File script.ps1, it will ensure that the hotspot will stay on for the majority of the time.

  • This gives me Unexpected token 'GetInternetConnectionProfile' in expression or statement. Windows 10. – alexlomba87 Jun 6 at 11:32
0

I have created a desktop application that continuously checks for the hotspot status and turns it on if it is off, the system tray icon shows hotspot status:

https://github.com/ashvin-bhuttoo/PersistentHotspot

-3

there is not such an option to disable that feature because microsoft did that so wireless hackers can't hack your hotspot if u don't use it for long time . and it will help your deivce to save some power maybe powersaving option should be disabled in windows mobile settings but if that didn't work there is some application like interop tools app that give you option to edit windows mobile registry but i can't search the registry of my phone to tell you is there anything about that in phone registry or not but u can do that if u have enough time . and the other way to achieve that is send an feedback about hotspot directly to microsoft and explane what you want and why maybe in next update they fix or add that option for you .im a windows mobile insider and in latest build i have an option to let other device that are already paired with bluetooth can turn your hotspot on . ( Trun on remotely - allow another device to turn on mobile hotspot. both devices must have bluetooth turned on and be paired. )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.