5

I create a Virtual Wifi (soft) access point using following command on cmdline with Admin Rights:

netsh wlan set hostednetwork mode=allow ssid=<SSID> key=<Password> keyUsage=persistent

and then Start this Access point using:

netsh wlan start hostednetwork

Thing is for this, I need Admin Rights, and I have to do same process after every reboot. Is there any way where I can keep this AP even after reboot?

I can add this in a BAT File and run on Every start up, but I have a machine which I don't have admin rights. I can ask the guy with Admin Rights once a while but I don't want to bug him!

Update: This AP gets disabled even after Sleep or Hibernate!

harrymc
  • 498,455

1 Answers1

4

You can nag your administrator once only, to get him to set up your batch file to start automatically after boot with administrator permissions.

This is done by scheduling the execution of the batch file. For complete instructions, see this article :

Make Vista launch UAC restricted programs at startup with Task Scheduler

Once this is set up, you may in the future modify the batch file and the new version will execute on the next boot.

harrymc
  • 498,455