Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
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
$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()
1) Put a batch file with startup in autoload
2) Use tools that raise hotspots and are friends with autorun.
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 questionAsk a Question
731 491 924 answers to any question