Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect / Disconnect WiFi and Hibernate
#5
I was considering that next.

Start "" C:\Windows\System32\schtasks.exe /RUN /TN "Tasks\My Network Disconnect\Network Disconnect"

Still gets the UAC, even when I right click the .bat file to and choose to Run as Administrator.

Doesn't work as coded, but this is interesting...

Start "" C:\Windows\System32\schtasks.exe

That does run the Task Scheduler, alone, in a command window. So it's the /RUN /TN "Tasks\My Network Disconnect\Network Disconnect" that is coded wrong.

Pete
Shoot first and shoot people who ask questions, later.
Reply


Messages In This Thread
Connect / Disconnect WiFi and Hibernate - by Pete - 08-20-2024, 02:57 AM
RE: Disconnect WiFi - by SMcNeill - 08-20-2024, 03:38 AM
RE: Disconnect WiFi - by Pete - 08-20-2024, 04:58 AM
RE: Disconnect WiFi - by SpriggsySpriggs - 08-20-2024, 11:58 AM
RE: Disconnect WiFi - by Pete - 08-20-2024, 04:08 PM
RE: Disconnect WiFi - by SpriggsySpriggs - 08-20-2024, 05:30 PM
RE: Disconnect WiFi - by Pete - 08-21-2024, 12:05 AM
RE: Disconnect WiFi - by SMcNeill - 08-21-2024, 03:53 AM
RE: Disconnect WiFi - by Pete - 08-21-2024, 04:53 AM



Users browsing this thread: 2 Guest(s)