Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - Geek your mind, the rest will follow.

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews



IObit Black Friday Sale

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. Sergei Strelec's WinPE
6. Visual C++ Redistributable Runtimes AIO Repack
7. Microsoft Visual C++ 2015-2022 Redistributable Package
8. McAfee Removal Tool (MCPR)
9. K-Lite Mega Codec Pack
10. Visual C++ Runtime Installer (All-In-One)
More >>

top reads

Star AI Answers: Authority Without Accountability

Star Fun with CMD: 5 Windows command-line tools for music, video, and more

Star All the New Features Landing in Windows 11 This December

Star Lossless vs Lossy: When FLAC, APE, and ALAC Beat MP3 and When They Don't

Star Google Search Tricks You'll Actually Use in 2025 and Beyond

Star Fresh PC Checklist: First 12 Things to Do On a New Windows 11 Machine

Star Running AI Models Locally: What They Are, Where to Find Them, and How to Get Started

Star Deciding Between Idle State, Sleep Mode, and Shutdown: What's Best for Your PC?

Star How to Fix VMware Workstation "The Update Server Could Not Be Resolved" Error Installing VMware Tools

Star How to Remove Google Gemini from Your Phone (and Your Life)


MajorGeeks.Com » System Tools » System Info » Device Cleanup Cmd 1.5.1 » Download Now

Device Cleanup Cmd 1.5.1


Author: Uwe Sieber
Date: 09/09/2025
Size: 29 KB
License: Freeware
Requires: 11|10|8|7
Downloads: 8073 times

tip TIP: Click Here to Repair or
Restore Missing Windows Files
Download Device Cleanup Cmd
Download (ZIP)
Download@MajorGeeks
Download@MajorGeeks

Rate This Software:
5 (10 votes)



MajorGeeks: Setting the standard for editor-tested, trusted, and secure downloads since 2001.


Download Avast Free Avast Free Antivirus Worried about finance scams?
Get free antivirus with AI-powered online scam detection Download Free!

-= advertisement =-
Device Cleanup Cmd is the command-line version of Device Cleanup Tool meant for helping remove leftover traces of nonpresent devices.

Every time you attach a device to your machine, it will leave an entry within Windows device management. You have the option to remove those entries directly through the Windows device manager, but when you have numerous entries, this can take some time. Device Cleanup Cmd permits you to select multiple devices or even all of them at once, just like in the GUI version of this program but via the command-line instead.

Usage:
DeviceCleanupCmd pattern1 [pattern2] [patternN] [-e:excludepattern1][-t][-s][-m:age][-n]
-e:excludepattern pattern not to remove
-t test only
-s skip creation of a system restore point
-m:age minimum 'age' (last use of the device must be at least that old)
-n no wait when finished

Patterns are device IDs, device classes, or friendly names. Wildcards can be used.

Samples:

  • remove all devices whose device IDs begin with HIDVID_045E
    DeviceCleanupCmd HIDVID_045E*

  • remove all devices whose device IDs contain VID_045E
    DeviceCleanupCmd *VID_045E*

  • remove all bluetooth devices but not COM9 and COM10
    DeviceCleanupCmd BTH* -e:"* (COM9)" -e:"* (COM10)"

  • remove all nonpresent devices whose device class is Media
    DeviceCleanupCmd Media

  • remove all devices not used for 1 year or more (m - month, d - days, i - minutes)
    DeviceCleanupCmd * -m:1y

  • remove all devices
    DeviceCleanupCmd *

  • show which devices would be removed (test mode)
    DeviceCleanupCmd -t *

    Non-PnP devices are not removed.

    Similar:
  • The Ultimate List of Every Known Command Prompt and PowerShell Commands
  • PowerShell and Command Prompt 101
  • How to Uninstall Programs Not Listed in Control Panel
  • How to Manually Remove Program Entries from the Apps & Features List
  • How to Add or Remove XPS Viewer App in Windows 10



  • Screen Shots Screenshot for Device Cleanup Cmd
    Official Download Mirror for Device Cleanup Cmd


    Top Downloads In System Info

    EVEREST Free Edition 2.20 [ 2005-08-18 05:57:42 | 4 MB | Freeware | 11|10|8|7 | 5 ]
    EVEREST Home Edition is a freeware system information, system diagnostics and benchmarking solution for home PC users, based on the award-winning EVEREST Technology.

    SIV (System Information Viewer) 5.84 [ 2025-11-14 16:44:10 | 29 MB | Freeware | 11|10|8|7 | 5 ]
    SIV (System Information Viewer) displays useful Windows, network, and hardware info.

    SIW (System Info) 2025 15.11.1119c [ 2025-12-13 19:55:52 | 29 MB | Shareware $19.99+ | 11|10|8|7 | 5 ]
    SIW is a system information tool that gathers detailed information about your system properties and settings.

    Belarc Advisor 13.1.0 [ 2025-07-20 07:42:49 | 4 MB | Freeware | 11|10|8|7 | 5 ]
    Belarc Advisor builds a detailed profile of your network inventory, missing Microsoft hotfixes, anti-virus status, security benchmarks, and displays the results in your Web browser. Video walkthrough available.

    HWiNFO 8.34 [ 2025-11-11 08:15:11 | 18 MB | Freeware | 11|10|8|7 | 5 ]
    HWiNFO provides you with comprehensive system information details, including hardware analysis, monitoring, and Windows and DOS reporting. Also available as a portable app. Video tutorial available.

    « Device Cleanup Tool 1.5.1 · Device Cleanup Cmd 1.5.1 · 10 Strike Network Inventory 5.8.27 »


    other news Tactical Briefings






    Comment Rules & Etiquette - We welcome all comments from our readers, but any comment section requires some moderation. Some posts are auto-moderated to reduce spam, including links and swear words. When you make a post, and it does not appear, it went into moderation. We are emailed when posts are marked as spam and respond ASAP. Some posts might be deleted to reduce clutter. Examples include religion, politics, and comments about listing errors (after we fix the problem and upvote your comment). Finally, be nice. Thank you for choosing MajorGeeks.
    © 2000-2025 MajorGeeks.com
    Powered by Contentteller® Business Edition