Starting automatically the wifi hotspot in Windows 11

FMC Production Médicale 6 Reputation points
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 for business | Windows Client for IT Pros | User experience | Other
{count} vote

1 answer

Sort by: Most helpful
  1. Dillon Silzer 60,686 Reputation points Volunteer Moderator
    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.