Saturday, May 9, 2026

Disable device via command prompt in Windows 10

- First, you have to find device instance path (DIP) for the device in device manager.

- Then open notepad and copy the script below :

@echo off
pnputil /disable-device "device_instance_path"
exit

- Change the "device_instance_path" with the DIP of the device.

- Save it as "disabledevice.bat"

No comments:

Post a Comment