-
Notifications
You must be signed in to change notification settings - Fork 464
Open
Description
Windows kept reinstalling drivers for devices I didn't have anymore such as RTX3080 display driver, logitech mouse array....
This was because the devices were marked as disconnected but still necessary in device manage.
This script removed all ghost devices and fixed the issue.
#List all hidden devices
$unknown_devs = Get-PnpDevice | Where-Object{$_.Status -eq 'Unknown'}
#loop through all hidden devices to remove them using pnputil
ForEach($dev in $unknown_devs){
pnputil /remove-device $dev.InstanceId
}
Would be nice if this powershell script had a button somewhere within this app
nkh0472
Metadata
Metadata
Assignees
Labels
No labels