This application enumerates all devices, detects ghosted devices and removes these if they match selectable devices types and/or devices classes with a single mouse-click.
If you like this tool, leave me a note, rate this project or write a review or
Donate to Ghostbuster.
If you've encountered problems, leave a (detailed) issue in the Issue Tracker.
- Updated code that shows a devices properties (context menu).
- Added new code to release comport that are removed but still in use.
Note: it will not repair missing reservation in the comportdb (yet).
- Added opening the registry for either the device or the services key (if present).
Note: due to technical limitations regedit must be closed before viewing a new devices registry entries.
- Made it possible to lift the services barrier and remove them too (IniFile). It will probably not remove the device's service that was detected and led to the labeling as service.
- New Installer based on Wix/WixBuilder.
Note: depending on the installation type, the location of the Ghostbuster.ini file will vary.
Either '%appdata%\GhostBuster' or '%allusersprofile%\Ghostbuster' will be used.
- Note: In the new serialport dialog a COM99 serial port shows up.
This is some left-over from testing I will remove in a next release.
- Set version to 1.0.5.
See the Documentation and
Advanced Options for more information on these new features.
The screenshot below is also updated, for more screenshots see
- CS 106145
- Changed click-once update to application exit.
- Fixed certificate.
- Updated Paypal done button.
- Added menuitem for click-once updates check.
- Added menuitem to visit website.
- Set automatic update check to application exit.
- Set version to 22.214.171.124.
- CS 98926
- Added a Portable Executable for Windows XP merged against .Net 4 Full Framework.
- Improved System Restore Detection (search for rstrui.exe).
- Flagged null guid device as system so it cannot be removed anymore.
- Added <No device class specified> to devices with an empty deviceclass.
- Set copyright to 2012.
- Version set to v126.96.36.199.
- Added Click-Once Release.
- CS 91520
- Added WMI based RestorePoint support.
Note this is experimental code, it creates a 'GhostBuster Restore Point'.
- Removed test code from program.cs.
- Improved counting.
- Changed color of ghosted but unfiltered devices.
- Changed HwEntries into an ObservableCollection.
- Added Properties Form.
- Added Properties MenuItem to Right-Click Context Menu.
It shows a dialog with some more information on the driver properties found in the registry.
- Added Hide Unfiltered Devices to Right-Click Context Menu.
This will hide all unfiltered and non ghosted devices and will condense the list's size.
- CS 80445:
- Commandline support,
- Eventlog output,
- Task scheduler support (thanks to
- The scheduled task can be used to run GhostBuster without further UAC prompts.
- CS 77227:
- Fixed broken wildcard device removal.
- CS 76647:
- Added statusbar.
- Added wildcard support (* and ? are supported as wildcards).
- Added Friendly Name / Device Description Column.
- Added column showing the match type.
- Improved performance
- Improved coloring of matching items
- CS 74907:
- Removed non functional checkboxes (right click a device for the context menu).
- Now compatible with UAC (Vista/Windows 7).
- Now compatible with WHS and W2K3 Server.
- Some user-interface enhancments.
- Portable version.
- Added some help / tooltips.
- Correctly Enable and Disable Context MenuItems.
- Ini File now created in %AppData%\GhostBuster.
About Ghosted Devices:
By default Windows does not show ghosted devices. Windows will show Ghosted devices only if two criteria are met:
- An environment variabe DEVMGR_SHOW_NONPRESENT_DEVICES with a value of 1 is added
- In Device Manager (StartMenu & Run 'compmgmt.msc' ) if you check the View|Hidden Devices menuitem.
Because Windows has to detect if a devices is ghosted by trying to start it, a large number of ghosted devices will add to the startup time of Windows. The 'regular' way of removing these devices is right clicking each of them, select the uninstall menuitem
and wait for the Device Manager to uninstall the device and rebuild it's tree of devices.
Ghostbuster does this all in one click and removes all the ghosted devices matching your own selection criteria with a single click!
You can select and deselect classes or devices through the right-click contect menu of the devices listview. Only ghosted devices (grayed text) AND devices that match the selection criteria (light yellow background) will be uninstalled when the 'Remove Ghosts'
button is pressed. All other devices remain untouched.
Beware that windows has a fair number of devices that are ghosted but should not be ununistalled (like devices in the sound, video and game controller class or system and non plug-n-play devices). Ghostbuster marks most of these as services.
So use it with care and only if you know what you are doing!
In above screenshot the yellow colored devices are set to be uninstalled when they become ghosted. Both device and class name selection can be used.
Some reviews (after being added to
Softpedia, people started to find GhostBuster):
Source control by
Diff and Merge by