Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect / Disconnect WiFi and Hibernate
#8
(08-21-2024, 12:05 AM)Pete Wrote: Well, got it working!

I had to make a different path.

C:\Windows\System32\schtasks.exe /RUN /TN "Tasks\My Network Disconnect\Network Disconnect" - Didn't work.

C:\Windows\System32\schtasks.exe /RUN /TN " C:\Windows\System32\Tasks\My Network Disconnect\Network Disconnect" - Didn't work.

C:\Windows\System32\schtasks.exe /RUN /TN "\My Network Disconnect\Network Disconnect" - Worked!

No UAC to contend with by running it through the Task Schedular. Nice!

Pete

Edit: I updated the initial post. It now contains all the info, if I correctly recalled every step, to get this puppy working without UAC interference.

Try it with the full network path.  For example, instead of just "C:/" :

"\\Desktop-ucgl6oi\c"

Though instead of "\\Desktop-ucgl6ol\", you'd use your own PC's identifier.
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: 6 Guest(s)