Batch – Disable & Remove WAN Miniport

email me

Download

devcon

 

Create batch script

:: MrNetTek
:: eddiejackson.net/blog
:: 4/27/2020
:: free for public use
:: free to claim as your own

@echo off
cd "%~dp0"

devcon disable "ms_pppoeminiport"
devcon disable "ms_pptpminiport"
devcon disable "ms_agilevpnminiport"
devcon disable "ms_ndiswanbh"
devcon disable "ms_ndiswanip"
devcon disable "ms_sstpminiport"
devcon disable "ms_ndiswanipv6"
devcon disable "ms_l2tpminiport"

devcon remove "ms_pppoeminiport"
devcon remove "ms_pptpminiport"
devcon remove "ms_agilevpnminiport"
devcon remove "ms_ndiswanbh"
devcon remove "ms_ndiswanip"
devcon remove "ms_sstpminiport"
devcon remove "ms_ndiswanipv6"
devcon remove "ms_l2tpminiport"

exit /b 0