

This connection to the parent primary site must be made for distribution points at a secondary site because the required details aren't available directly from the secondary site. It can then identify the orphaned content to remove. These queries let the tool determine what content should be on the distribution point. The tool connects to the parent primary site to run queries against the SMS Provider. Required only when cleaning content from a distribution point at a secondary site. Specify the fully qualified domain name (FQDN) of the distribution point to clean. Use these command-line parameters in any order. Change directory to the folder that contains ContentLibrar圜leanup.exe.Įnter a command line that includes the required command-line parameters, and any optional parameters you want to use. Open a command prompt as an administrator. Use the /log parameter to redirect the log file to another location, including a network share. This location is on the computer where you run the tool, which isn't always the target of the tool.

When the tool finishes, it automatically opens the log file in Windows.īy default, the tool writes the log file to the temp folder of the user account that runs the tool. It names the file with the following information: When the tool runs in either mode, it automatically creates a log file. Select Y for yes, N for no, or Yes to all to skip further prompts and delete all orphaned content. Starting in version 2010, it can also remove orphaned content records from the WMI provider on the distribution point.īefore deleting each file, confirm that the tool should delete it. When run in this mode, orphaned content that it finds on the specified distribution point can be deleted from the distribution point's content library. When you run the tool with the /delete parameter, the tool runs in delete mode. You're not prompted to confirm each potential deletion. The tool writes to the log file information about the content that it would delete. When run in this mode, the tool doesn't delete any data. This mode identifies the content that would be deleted from the distribution point. If you don't specify the /delete parameter, the tool runs in what-if mode. When you're satisfied with the results, then run the tool in delete mode. Run the tool in the following two modes: What-if and Delete.
Cs source weapons full#
The user account that runs the tool must have permissions the same as the Full Administrator security role in Configuration Manager. The tool doesn't support a content-enabled cloud management gateway.

When the site server also has the distribution point role, if a package isn't targeted to the server, the package is still in the single content library. The tool doesn't support removing content from the site server, which has a single content library. Run it directly on the server that hosts the distribution point to clean up, or remotely from another computer. Only run the tool against a single distribution point at a time. For more information on this location, see The CD.Latest folder. Starting in version 2010, the tool can also remove orphaned content records from the WMI provider on a distribution point.įind ContentLibrar圜leanup.exe in CD.Latest\SMSSETUP\TOOLS\ContentLibrar圜leanup on the site server. Making a mistake during this process could cause more severe issues with the server. To mitigate the issue in version 2006 and earlier, you had to manually remove the orphaned entries from WMI. Over time, this behavior can eventually lead to a warning status on the distribution point. If you remove content from a distribution point while the site system is offline, an orphaned record can exist in WMI. The tool can't remove content from the content library on the site server. The tool only affects the content on the distribution point that you specify when you run the tool. This tool replaces older versions of similar tools released for past Configuration Manager products. This type of content is called orphaned content. Use the content library cleanup command-line tool to remove content that's no longer associated with an object on a distribution point. Applies to: Configuration Manager (current branch)
