3
2
There are many entries in the "Devices and Printers" window showing devices which are no longer connected. How can I delete these entries all at once, ideally on the command line?
This picture displays my issue. There are ninety seven devices on the list that were connected sometime in the past but only six of them are currently connected. I can remove them one by one by marking them and then clicking "Remove device" but it isn't possible to mark them all and remove them together.
More details are needed. Please tell us what you have researched and attempted to resolve this. Take a minute to read [ask] to improve your question. – CharlieRB – 2015-06-08T18:01:38.460
I have tried to search for something like "how to remove multiple devices windows", "bulk remove devices and printers" etc but most of results refer to how to remove multiple printers only. The question is simple - how to remove all devices except connected mouse and keyboard in Control Panel\Hardware and Sound\Devices and Printers - Devices. Which more details shall I provide? Thanks. – LukAss741 – 2015-06-08T18:13:20.717
3Which more details shall I provide? How about the version of Windows you are using. We can assume Windows 7, but we shouldn't have to assume. How many devices are you referring to? 3? 10? 100? Obviously, if the number is below 5, you could have already done this manually by now. That is unless you are dealing with multiple computers. But we don't know that. Can you see how details are important? – CharlieRB – 2015-06-08T18:34:11.537
windows 7 sorry for not noting that. It is like 10-100 devices on multiple computers. It would be ideal with a command since I would like to automate removing regularly. However any possibility to get rid of it is welcome. – LukAss741 – 2015-06-08T18:55:24.913
Which kind of devices are we talking about? Cell phones? Printers? Something else? A mix? – Ƭᴇcʜιᴇ007 – 2015-06-08T22:05:54.337
Anything. Cell phones, head phones, printers, mice, keyboards and other. – LukAss741 – 2015-06-08T22:11:50.593