By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: Configuration Manager Content Library Cleanup Tool: How to Use and Requirements
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
ConfigMgr

Configuration Manager Content Library Cleanup Tool: How to Use and Requirements

Published: February 11, 2024
2 Min Read
SHARE

Configuration Manager Content Library Cleanup Tool: How to Use and Requirements. Beginning with version 1702, you can use a command-line tool (ContentLibraryCleanup.exe) to remove content that is no longer associated with any package or application from a distribution point (orphaned content). This tool is called the content library cleanup tool and replaces older versions of similar tools released for past Configuration Manager products.

Contents
SCCM Content Library Cleanup Tool RequirementsRunning the Tool

The tool only affects the content on the distribution point that you specify when you run the tool. The tool cannot remove content from the content library on the site server.

You can find ContentLibraryCleanup.exe in the %CM_Installation_Path%\cd.latest\SMSSETUP\TOOLS\ContentLibraryCleanup\ folder on the site server at a central administration site or primary site.

<SCCM_Installation_Path>\cd.latest\SMSSETUP\TOOLS\ContentLibraryCleanup\

SCCM Content Library Cleanup Tool Requirements

  • You can run the content library cleanup tool directly on the computer that hosts the distribution point or remotely from another server
  • You can run the tool from a single distribution point at a time
  • You will need to have Full Administrator RBAC Role and the “All” Security scope in the Configuration Manager hierarchy

Running the Tool

You can run the tool in 2 modes: What-If mode and Delete mode.I will start by specifying the /what-if switch. This mode allows you to identify the content that would be deleted from the distribution point.1. On your Primary site, open an administrative command prompt and go to the ContentLibraryCleanup folder (see full path above);

2. If you run ContentLibraryCleanup.exe without arguments you will get /help;

3. Run:

ContentLibraryCleanup.exe /what-f /dp <DPServerName>

4. After completion you get log file with information about clean-up (if you run it with /delete switch);

TAGGED:System CenterSystem Center Configuration ManagerTechnical Preview
Previous Article Power BI Report Server Power BI Premium
Next Article Configuration Manager Query Collection List SCCM Current Branch 1702 KB4019926
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?