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
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.