![]() Use the DeviceManagement PowerShell module to disable the device (it still can't remove the driver with this).NET, nor does there seem to be a documented Win32 API function either, from the currently running OS. ![]() There is not a built-in way to remove drivers (short of running a related uninstaller program or MSI) from PowerShell or. There is no Uninstall() method on Win32_PnPSignedDriver. Enabling disabled drivers is much easier than restoring them if there is no documented method of doing so. It is recommended to instead disable these drivers rather than outright remove them, and ensure that Administrative access is only granted to users which require it to prevent unauthorized re-enablement. Some third party VPN and network security software rely on the built-in drivers as well, and may also be affected by their removal. If you opt to remove the drivers outright, you may have to re-install or repair an existing Windows installation should you need this functionality currently or later on. A warning: built-in VPN and IPSEC functionality will cease to function correctly without the WAN Miniport being enabled.
0 Comments
Leave a Reply. |