Remove Unconnected Storage Device Information From Windows

0
261

The Windows operating system keeps records of storage devices that have been connected to the system in the past.

This is usually not a huge problem in most cases but some users might want to remove those storage device information from Windowsfor a variety of reasons.

It can be useful if you are encountering issues with devices to start over again but also to improve privacy as you can prevent that others can find out about devices that were connected to the PC in the past.

While the latter may not make much sense on single user systems, it may prove useful for PCs at work, school or other public locations.

The easiest way to perform this operation is by using Drive Tools for Windows. The command line application comes as a 32-bit and 64-bit edition which should be compatible with most Windows operating systems including Windows 7 but also newer versions of Windows.

Here is what the software program will do when run by the user:

Removes from the device tree non present

  • USB mass storage devices
  • Disk devices
  • CDROM devices
  • Floppy devices
  • Storage Volumes

and their linked registry items under

HKEY_LOCAL_MACHINESYSTEMMountedDevices
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlDeviceClasses
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2CPCVolume

storage devices

The software comes with several switches. Adding -t to the program will for instance simulate the removal and display all the items that would be removed if the program would be executed by the user without the -t parameter.

This can be quite useful to make sure that no issues are experienced after the program is run.

-t test mode
-n no wait when finished
-u only USB mass storage devices
-d only Disk devices
-c only CDROM devices
-f only Floppy devices
-v only Storage Volume devices
-r only registry items

The switches can be used to remove all or only certain storage devices from the list of previously but not currently connected devices.

The program requires administrative privileges to run (except for test mode). The portable tool has a size of only 19 Kilobytes making it an ideal additional for an USB repair stick. It can be downloaded from the developer’s website over at Uwe-Sieber.de.