Skip to content

Feature Request: Remove ghost devices button #345

Description

@Chaython

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions