15 answers
Hello
You can create a small batch file (for example Hotspot.cmd) using notepad (rename the txt to cmd) in which you enter netsh wlan start hostednetwork and once done, place it in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp folder on your machine so that it opens at startup.
See you later
If the answer helped you, a little thumbs up is great... If resolved, that's perfect.
Let him who has never opened a user manual throw me the first mouse ;-)
You can create a small batch file (for example Hotspot.cmd) using notepad (rename the txt to cmd) in which you enter netsh wlan start hostednetwork and once done, place it in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp folder on your machine so that it opens at startup.
See you later
If the answer helped you, a little thumbs up is great... If resolved, that's perfect.
Let him who has never opened a user manual throw me the first mouse ;-)
Hello
An encoding ??? It's a batch file, there's no encoding in it !!
Is the access point (Wifi Hotspot) already created?
Have you tested by double-clicking on the batch file?
Test in this folder %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
If the Hotspot is not yet created, put the following in the Batch file
Cheers
If this response helped you, a little thumbs up would be great... Resolved is perfect.
Let he who has never opened a user manual throw the first mouse ;-)
An encoding ??? It's a batch file, there's no encoding in it !!
Is the access point (Wifi Hotspot) already created?
Have you tested by double-clicking on the batch file?
Test in this folder %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
If the Hotspot is not yet created, put the following in the Batch file
REM Creating the Hotspot
netsh wlan set hostednetwork mode=allow ssid=MonHotspot key=MonPassword
REM Wait for 5 seconds
Timeout /T 5
REM Start the Hotspot
netsh wlan start hostednetwork
Cheers
If this response helped you, a little thumbs up would be great... Resolved is perfect.
Let he who has never opened a user manual throw the first mouse ;-)
Press the Windows key + S (Cortana & search), type Task Scheduler and click on "Task Scheduler"
Then on the right, create a task...
Then give it a name, check ".Run whether the user is logged on or not" and also "Run with highest privileges"
Then go to the "Triggers" tab, click "New", choose Start the task: At startup
Then go to the "Actions" tab, click "New", enter in the script netsh wlan start hostednetwork and respond "no"
(You could also have selected "Browse" and pointed to the batch... but not necessary for a single line batch).
Finally click OK and enter the admin password.
Test
A+
If this answer helped you, a little thumbs up is great... Resolved is perfect.
Let anyone who has never opened a user manual throw the first mouse ;-)
Then on the right, create a task...
Then give it a name, check ".Run whether the user is logged on or not" and also "Run with highest privileges"
Then go to the "Triggers" tab, click "New", choose Start the task: At startup
Then go to the "Actions" tab, click "New", enter in the script netsh wlan start hostednetwork and respond "no"
(You could also have selected "Browse" and pointed to the batch... but not necessary for a single line batch).
Finally click OK and enter the admin password.
Test
A+
If this answer helped you, a little thumbs up is great... Resolved is perfect.
Let anyone who has never opened a user manual throw the first mouse ;-)
Hi and thanks for your reply
So I tried... Without success.
Is there a specific encoding to use in Notepad?
If you have any other idea...
thanks
So I tried... Without success.
Is there a specific encoding to use in Notepad?
If you have any other idea...
thanks
Hello
So change the folder %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
--
If the answer helped you, a little thumbs up would be great... If resolved, that's perfect.
Let he who has never opened a user manual throw the first mouse at me ;-)
So change the folder %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
--
If the answer helped you, a little thumbs up would be great... If resolved, that's perfect.
Let he who has never opened a user manual throw the first mouse at me ;-)
Hello
Yet, that should...
Are you logging in or not? Password, etc...
Talk later
--
If the answer helped you, a little thumbs up is great... Resolved, that's perfect.
Let him who has never opened a user manual throw the first mouse at me ;-)
Yet, that should...
Are you logging in or not? Password, etc...
Talk later
--
If the answer helped you, a little thumbs up is great... Resolved, that's perfect.
Let him who has never opened a user manual throw the first mouse at me ;-)
Ah, something else, now the file doesn't work anymore when I double-click...
Yes, and the session is an admin session.
Yes, and the session is an admin session.
Except by adding a task in the "Task Scheduler" in "maximum permission" mode with "trigger" -> At startup.
Otherwise, the worst method: add a software :-(
https://mypublicwifi.com/publicwifi/fr/index.html
See you+
--
If the answer helped you, a little click on the thumbs up, it's great... Resolved is perfect.
Let him who has never opened a user manual throw the first mouse ;-)
Otherwise, the worst method: add a software :-(
https://mypublicwifi.com/publicwifi/fr/index.html
See you+
--
If the answer helped you, a little click on the thumbs up, it's great... Resolved is perfect.
Let him who has never opened a user manual throw the first mouse ;-)
I tried to run the script directly in the cmd prompt:
- first it asks me for admin rights
- so I open Cmd with admin rights, and then a new error: The hosted network could not start. The group or resource is not in the correct state to perform the required operation.
- first it asks me for admin rights
- so I open Cmd with admin rights, and then a new error: The hosted network could not start. The group or resource is not in the correct state to perform the required operation.
:-(
You can try the software....
Or persevere, redo the complete batch with the creation of the Wifi Hotspot (delete yours manually) and make sure to put the name of the Hotspot and the password you want in the SSID...
Put the batch in your Windows folder and point to it by browsing in the Action tab of the task scheduler.
You can also check "delay the task" by 30 seconds in Triggers to ensure that everything is started properly beforehand.
Otherwise, I don't see!!
See you+
--
If the answer helped you, a little click on the thumbs up is great... Resolved is perfect.
Let he who has never opened a user manual throw the first mouse ;-)
You can try the software....
Or persevere, redo the complete batch with the creation of the Wifi Hotspot (delete yours manually) and make sure to put the name of the Hotspot and the password you want in the SSID...
Put the batch in your Windows folder and point to it by browsing in the Action tab of the task scheduler.
You can also check "delay the task" by 30 seconds in Triggers to ensure that everything is started properly beforehand.
Otherwise, I don't see!!
See you+
--
If the answer helped you, a little click on the thumbs up is great... Resolved is perfect.
Let he who has never opened a user manual throw the first mouse ;-)