After disconnect AT&T Dialer with taskkill command AGN Virtual Adapter keeps connected
We use AT&T dialer SSH, I believe our account does not allow IPSec. So, to allow our jobs to run consecutively with jobs that use the dialer we have to use taskill to stop the dialer immediately before running our other jobs. We use this command:
tasklist | find /i "NetClient.exe" && taskkill /im NetClient.exe /F || echo process "NetClient.exe" not running
This stops the dialer, but not AGN Virtual Adapter that stays connected and prevents Internet access. I notice once the dialer process is killed and the AGN Virtual adapter stays active, if we start the dialer, allow it to begin to connect and immediately disconnect, the AGN adapter stops and Internet is restored. How do we stop the AGN Virtual Adapter with a command.