Starting automatically the wifi hotspot in Windows 11

FMC Production Médicale 1 Reputation point
2022-11-25T10:52:57.94+00:00

Hello,

I want to start automatically the wifi hotspot every run of my windows 11 computer. (to connect an ipad)

My PC is connected to internet with an rj45.

I tried to run a "netsh wlan start hostednetwork" but It didn't worked.

I look for in the task planner and didn't found either.

Do you know a way of allowing the hotspot wifi every running of the windows 11 computer?

Thanks

Thomas

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,873 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 55,881 Reputation points
    2022-11-25T15:40:46.983+00:00

    Hi @FMC Production Médicale

    1) Try seeing if hostetnetwork is allowed on your device:

    Run cmd as Administrator

    Then run netsh wlan show settings

    264198-image.png

    2) Try the command:

    netsh wlan set hostednetwork mode=allow

    3) Program Task Scheduler to run the cmd above on startup.

    First, you'll need the cmd above in a .bat file. Open up notepad, copy the command netsh wlan set hostednetwork mode=allow into it and save as runme.bat in some folder.

    Use the following article to create a Task with Task Scheduler to run the .bat on startup:

    https://stackoverflow.com/questions/4437701/run-a-batch-file-with-windows-task-scheduler

    ---------------------------------

    If this is helpful please accept answer.