Share via

Delete multiple adapters at one time

Anonymous
2023-11-16T23:48:16+00:00

Is there a way I can delete several adapters from the device manager? 

I intend to mark three or more and then delete them. Just like you do when you want to delete a file from a folder in Windows

Windows for home | Windows 10 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Rodrigo Queiroz 77,250 Reputation points Independent Advisor
    2023-11-18T03:22:28+00:00

    This is the command line to delete the device using Powershell

    foreach ($dev in Get-PnpDevice -FriendlyName '*Name of the device*') {

    pnputil /remove-device $dev.InstanceId }

    pnputil /scan-devices

    Replace "Name of the device" with the device name, duplicate teh command right below the other and replace the device name, copy all command lines, paste on Powershell (Admin) window and press enter to run the command.

    To open PowerShell (Admin) right-click the Start Menu icon > Powershell (Admin)

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-11-17T11:54:38+00:00

    This is exactly what I want to do. I get files that start with the same name only with a number of followers. For example wintun 1, wintun 2 etc

    0 comments No comments
  3. Rodrigo Queiroz 77,250 Reputation points Independent Advisor
    2023-11-17T02:16:17+00:00

    Yes, you can use a command line to uninstall multiple devices in a batch, but it is only worth it if you constantly need to remove the same devices, otherwise the work to create the command line will be bigger than uninstalling manually.

    0 comments No comments
  4. Anonymous
    2023-11-17T02:11:33+00:00

    After searching on Google, I saw that this operation can be performed by using Powershell. I would appreciate it if you could help me with this because I am not an expert in Powershell and need this solution

    0 comments No comments
  5. Rodrigo Queiroz 77,250 Reputation points Independent Advisor
    2023-11-17T01:44:44+00:00

    Hi,

    I'm Rodrigo and I'll help you.

    Unfortunately, this is not possible, you must uninstall one device at a time.

    0 comments No comments