-
-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Operating system
Windows
Name of the script
Disable NDIS Usermode I/O Protocol (ndisuio)
Documentation/References
If a user does not use the NDIS Usermode I/O Protocol driver that relies on WLAN AutoConfig, WWAN AutoConfig, or Wired AutoConfig for connecting to the Internet, a user will use this script to disable the NDIS Usermode I/O Protocol driver.
Reference: https://batcmd.com/windows/11/services/ndisuio/
Code
:: ----------------------------------------------------------
:: -------Disable NDIS Usermode I/O Protocol (ndisuio)--------
:: ----------------------------------------------------------
echo --- Disable NDIS Usermode I/O Protocol (ndisuio)
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Services\ndisuio!Start"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Services\ndisuio'; $data = '4'; reg add 'HKLM\SYSTEM\CurrentControlSet\Services\ndisuio' /v 'Start' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
Revert code
No response
Suggested category
No response
Recommendation level
None (do not recommend)
Additional information
This script is used on Windows 10 (Version 22H2 (Operating System Build 19045.4894)).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request