remove-hidden-devices

1.1.1

Enumerates devices whose driver is still registered but that are not
currently present - the ghost entries left behind by unplugged USB sticks,
headsets, dongles and old GPUs - and removes them so Device Manager reflects
only hardware that is actually connected. Self-elevates via UAC. Zero
external dependencies.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name remove-hidden-devices

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • vadyaravadim

Tags

Windows Windows10 Windows11 DeviceManager GhostDevices HiddenDevices Cleanup PnP Drivers Tweak

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.1.1 (current version) 4 7/20/2026
1.0.1 7 7/19/2026