N
N
Nikolai2019-08-01 15:08:43
WiFi
Nikolai, 2019-08-01 15:08:43

How to make Mobile Hotspot automatically start on Windows 10 at system startup?

When setting up the mobile hotspot, everything works fine, but when you reboot, you need to start the hostpot again. How can I make it start automatically?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikolai, 2019-08-02
Demidovets @Nik_o_lay

Found a way. Suddenly help.
1. Create an AutoStart.bat file and put it in C:\BatScripts:

@ECHO OFF
PowerShell.exe -Command "C:\BatScripts\MobileHotsPot.ps1"
PAUSE

2. Created a MobileHotsPot.ps1 file and put it next to it:
$connectionProfile = [Windows.Networking.Connectivity.NetworkInformation,Windows.Networking.Connectivity,ContentType=WindowsRuntime]::GetInternetConnectionProfile()
$tetheringManager  = [Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager,Windows.Networking.NetworkOperators,ContentType=WindowsRuntime]::CreateFromConnectionProfile($connectionProfile)
$tetheringManager.StartTetheringAsync()

3. The AutoStart.bat file "threw" into autoload:
3.1 Run the Task Scheduler.
3.2 Click "Create a task..."
3.3 Add a file to startup.

G
GavriKos, 2019-08-01
@GavriKos

1) Put a batch file with startup in autoload
2) Use tools that raise hotspots and are friends with autorun.

M
Maxim Yaroshevich, 2021-03-29
@YMax

I just made a distribution on the ancient HP mini 5102 - everything works, thanks for the script, it helped to automate.
IMHO - the very statement of the problem is wrong. If you need to distribute the Internet from something, then you should not make an access point from a laptop, but buy it separately, inexpensive and quite suitable, more than enough.
The variant with netsh is unstable, not the fact that it will start.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question