Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

DevNodeClean Download – Remove Phantom Storage Device Nodes

UPDATED 2011-02-02
-Changed to static libraries to avoid the need for the VC redistributables.
-Fixed incorrect display of first device.
-Updated technical details below.


UPDATED 2011-01-28
-Added a 64 bit version to resolve a removal error.
-Adjusted names for consistency


We have had several servers with the problem of registry growth due to VSS backups of Hyper-V Virtual Machines. A hotfix is available which we have applied but the overgrown registry still exists. Microsoft has a utility called DevNode clean but they do not publish it. They do however publish source code for creating it yourself. Thanks Microsoft! Most System Administrators are not going to break out Visual Studio and start compiling code (buggy code) to fix this this problem.

I have taken the code and compiled it for you. I have also made many changes to the code to make it behave. The default is no longer to delete the device nodes when you execute it without any command line options. You need to specify -r to have it actually remove the phantom devices. The utility also has the option to list all devices both phantom and non-phantom.

This will only delete phantom devices of type Storage Volume and Disk Drive. Additional devices can be found with tools like Device Remover. Specifically there will be many phantom devices with a type of Storage Volume Shadow Copies. These appear to be used for the Previous Versions feature and should not be removed. Some phantom devices like an unplugged USB disk will currently be detected and removed. I may in a future version optionally detect and not delete these.

Please understand that in using this program, No warranty or responsibility for any problems caused by it are given. Use at your own risk. That said, I did my best to review and test the program.

There are now two versions. One for 32bit operating systems and one for 64 bit.

DevNodeClean-x32
DevNodeClean-x64

No longer requires the Microsoft Visual C++ 2010 x64 Redistributables but they are here anyway.

-32 bit applications
Microsoft Visual C++ 2010 Redistributable Package (x86)
-64 bit applications
Microsoft Visual C++ 2010 Redistributable Package (x64)
-IA64 applications
Microsoft Visual C++ 2010 Redistributable Package (IA64)

DevNodeClean will remove phantom storage device nodes from this machine.

Warning, this will remove ANY storage devices not currently in the system including USB drives and memory cards.

Usage: DevNodeClean /r /l /?

Where:

/r displays removes the phantom device nodes. Otherwise only shows what will be removed
/l displays all device nodes including non-phantom. Does not remove unless -r is also included.
(Only phantom devices are ever removed.)
/? displays this help screen

Must be run as administrator
Backup and Restore privileges are required to run this utility.
Use at your own risk! No liability or responsibility is given for use of this software.

Require assistance?

Support from our knowledgeable help desk staff ensures your team stays productive by swiftly and accurately resolving issues.