Jump to content

Suggestion : clean registry values for USB removable media


ardanew

Recommended Posts

USB flash cards, when inserted, runs p&p procedure, which add some registry data in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB\

and some other paths

(vendor id and other information about inserted disk)

 

It could be a nice feature to clean this values with CCleaner, because this feature dnt exists in ANY other cleaners...

 

Anyway, thanks for the new version of this program...

Link to comment
Share on other sites

If you set the DEVMGR_SHOW_NONPRESENT_DEVICES environment variable, Device Manager will show you the "ghosts" of past devices that are no longer connected to your system (or in the case of USB devices, were perhaps attached to a different USB jack) if you enable Show Hidden Devices. From there, you can right-click and uninstall all these non-present devices. (Don't worry, the OS will detect and reinstall the drivers automatically when devices are reconnected.)

 

I check non-present devices regularly, and I'm always amazed at the amount of crap left in the registry. In addition to having every three devices (USB Mass Storage Device, Disk Drive, and Storage Volume), for every flash drive ever plugged into the machine, I seem to have practically every permutation of USB device and USB jack imaginable. Even upgrading firmware seems to leave a ghost of past devices in the registry.

 

Often, I've installed a network card to have it described in Network Connections as "Wireless Network Connection 3", with no sign of any previous entries. Well, the previous entries are still in the registry, but they're just non-present and hanging around in case you insert that old card again so that it can be detected a little quicker.

 

Frankly, it really amazes me that no registry cleaner will do this for me automatically. I do it by hand in Device Manager, but with the number of ghost devices the process is extremely tedious.

 

This would be a fantastic feature for CCleaner!

 

Chad

Link to comment
Share on other sites

Before instrting a flash drive, I save the registry. When the flash drive was removed, I restore the registry. This procedure requires a reboot...

Today im writing a small tool that restores only recent-changed keys.

Maybe, a some plug-in mechanism in CCleaner would help? Just to keep all clean-oriented procedures in one program...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.