Project Description

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.

Donate to Ghostbuster

If you've encountered problems, leave a (detailed) issue in the Issue Tracker.

Latest release (GhostBuster Setup (106145)):

  • Changelog (106145):

  • Changed click-once update to application exit.
  • Set version to 1.0.4.

  • 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 1.0.4.0.

See the Documentation and Advanced Options for more information on these new features.
The screenshot below is also updated, for more screenshots see Screenshots.

Previous releases:

  • 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 v1.0.2.0.
  • 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 http://taskscheduler.codeplex.com),
  • 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:

  1. An environment variabe DEVMGR_SHOW_NONPRESENT_DEVICES with a value of 1 is added
  2. 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.

Warning:

So use it with care and only if you know what you are doing!

Screenshot:

GhostBuster_106143.png

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
 PlasticSCM

Diff and Merge by

Semantic Merge

Last edited Aug 25 at 12:55 PM by wvd_vegt, version 66