Auto run bat file in safe mode at startup windows 10

Nicholas_32

Commendable
May 2, 2016
4
0
1,510
I am trying to get netsh wlan connect name="random ssid" to run in safe mode. auto injecting it into the startup folder isn't working. The purpose of this is so that if i create a bat file on a customers computer who only has a wireless connection that when we boot into safe mode i remain connected other then needing to run the command manually. Since Windows 10 doesn't have wireless functionality in safe mode unless you manually click on the bat file (or get the customer too)

What i am using is: Netsh wlan connect name="customers ssid" With a pause at the end of the command so the customer can read me the results of the command.

Thank you very much. Any help is appreciated
 
Solution
Hello Nicholas_32

Can you please confirm if you are choosing Safe Mode with Networking when booting in the safe mode?

Also, since the Task Scheduler service is not initialized in the Safe Mode, you may need to enable it from Windows Registry. Make sure to backup the registry before making any changes to it.

Feel free to report back for further assistance.

Cheers!! :)
Yes its safe mode with networking, our work uses log me in rescue. not allowed to edit the corporate version at all. Now is there a way to make it so if i run the script in normal it would continue running in safe mode? To avoid needing to play with task scheduler?
 


Yes its safe mode with networking, our work uses log me in rescue. not allowed to edit the corporate version at all. Now is there a way to make it so if i run the script in normal it would continue running in safe mode? To avoid needing to play with task scheduler?
 


Hello again

As far as my limited knowledge says, you still need to make a few minor changes in the registry. If you are not authorized to do so, you may need to contact the administrator of your office.

Cheers!! :)
 


Ok thanks I will do some more research on this I suppose.
 

TRENDING THREADS