Advertisement

How to Use ConfigMgr SCCM 2012 R2 Tool Content Library Explorer

In SCCM 2012 (ConfigMgr), Content Management has completely changed to what we did in SCCM 2007. So it’s some what difficult to search the new content library folders and find out the source files for SCCM (ConfigMgr) admins. As part of SCCM ConfigMgr 2012 R2 tool kit, Microsoft has released an excellent tool to explore the content library very easily. In this post, I’m going to give a walk through of the features of Content Library Explorer tool.

What we can do using The Content Library Explorer (ContentLibraryExplorer.exe) 

  1. The Content Library Explorer (ContentLibraryExplorer.exe) allows to explore content library on a specific distribution point.
  2. ContentLibraryExplorer.exe helps us to troubleshoot the issues related to content library.
  3. Helps to copy and explore the content directly from the tool.
  4. Packages can be redistributed to the distribution point, and on remote distribution points, packages can be validated.

Access required for connecting to a Distribution Point with The Content Library Explorer (ContentLibraryExplorer.exe) 

  • Administrative access to the target distribution point.
  • Access to WMI  provider and ConfigMgr provider.
  • Full Administrator and Read-Only Analyst have sufficient rights to view all information from this tool.

How to Use The Content Library Explorer (ContentLibraryExplorer.exe)

1. Connect to any of the SCCM 2012 R2 DP with FQDN. The account should have required privileges as mentioned above. When the distribution point is part of a secondary site, you need to provide the FQDN of the primary site server, and the primary site code.

ContentLibraryExplorer Enter DP FQDN

Content Library Explorer Enter DP FQDN

2. Once ContentLibraryExplorer.exe tool connected to the DP then on the left pane, you can see the packages distributed to this DP.  You can expand each package. Also, you can explore the folder structure.

ContentLibraryExplorer Left Pane

Content Library Explorer Left Pane

3. Once you select any of the package in ContentLibraryExplorer.exe tool left panel, then on the RIGHT pane will show you the details of the package.

When a package folder is selected in Content Library Tool, if it contains any files, these will be listed in the right pane.  You will get all the details about

1.File name 2. File size 3. Drive the package content is located 4. other packages that use the same file on this package  5.when the file was last changed on the DP and 6. The Full FQDN of content source file.

ContentLibraryExplorer Enter Package Details on Right Pane

Content Library Explorer Enter Package Details on Right Pane

4. The tool also provides warning about INVALID packages in your SCCM ConfigMgr content Library. The packages that are missing one or more content files will be marked invalid.

To get more details about INVALID package you can run a Validation that will reveal which contents are missing.  In case all contents are present but the data is corrupted, validation will detect the corruption of SCCM ConfigMgr Content Library for that particular package.

ContentLibraryExplorer Invalid Package

Content Library Explorer Invalid Package

5. How to validate INVALID package on SCCM ConfigMgr 2012 R2 content library using Content Library Explorer?

Select package which you wanted to validate and click on PACKAGE –> Validate & Click on OK

When you receive following error it’s better redistribute the package : An error occurred. Unable o validate the package. Please ensure you have access to the Distribution point provider. The package may need to be redistributed.

ContentLibraryExplorer Package Validate INVALID Package

Content Library Explorer Package Validate INVALID Package

ContentLibraryExplorer Validate INVALID Package

Content Library Explorer Validate INVALID Package

6. How to redistribute a package which shows INVALID in the Content Library Explorer Tool of SCCM 2012 ?

Select package which you wanted to validate and click on PACKAGE –> Redistribute & Click on OK

ContentLibraryExplorer Redtribute INVALID Package

Content Library Explorer Redistribute INVALID Package

ContentLibraryExplorer Redtribute INVALID Package YES

Content Library Explorer Redistribute INVALID Package OK

Once you redistribute the package the status of the package changes from INVALID to PENDING.

ContentLibraryExplorer Redtribute INVALID to PENDING package

ContentLibraryExplorer Redtribute INVALID to PENDING package

7. How to copy a content library file from Content Library Explorer SCCM 2012 Tool?

Click on the content file which you want to COPY. Click on EDIT –> Copy 

The content library itself cannot be copied.  Multiple files can be selected (using Ctrl + click or Shift + click), but multiple folders cannot.

ContentLibraryExplorer COPY Package Content File

ContentLibraryExplorer COPY Package Content File

Browse to the location where do you want to store the copied file from content Library. The specified items successfully copied.

ContentLibraryExplorer COPY Package Content File 1

Content Library Explorer COPY Package Content File 1

 

About Author 

Anoop is Microsoft MVP and Veeam Vanguard ! He is a Solution Architect on enterprise client management with more than 13 years of experience (calculation done on the year 2014) in IT. He is Blogger, Speaker and Local User Group Community leader. His main focus is on Device Management technologies like SCCM 2012,Current Branch, Intune. He writes about the technologies like SCCM, SCOM, Windows 10, Azure AD, Microsoft Intune, RMS, Hyper-V etc...

    Find more about me on:
  • googleplus
  • twitter
  • facebook
  • linkedin
  • youtube
Posted in: CM2012, ConfigMgr (SCCM), Configmgr2012, SCCM 2012, System Center 2012 Configuration Manager, Tools

16 Comments

  1. Jon Kaiser says:

    We went from RTM directly to SP1 then immediately to R2
    Almost ALL our DP content went GREY in the Content Explorer
    Grey items in Content Explorer can’t be “redistributed” (using the menu basedtools in Content Explorer)
    So we instead used powershell script(s) to bring the content back
    Now over the weekend the content is AGAIN disappearing
    we again run the Powershell scripts to bring the content back…
    we are then able to “use” the content all week long successfully in our OSD and deployments
    we go away for the weekend and on Monday the content is GONE again
    Is nobody else having this happen under R2?
    Thx,
    Jon

    • Anoop says:

      Yes, I heard about similar behavior after upgrade.However, not pretty sure those gents are also facing exactly same issue? What is the command line you use for bringing back the content ?

      Regards
      Anoop

  2. Dan Allevato says:

    I Have an issue where I open up content explorer and I have multiple packages showing up as pending. It has been like this for days. When I go into look for the Software application in Software Library/Applications It is not showing up. I checked the content status under monitoring and looked for the Package ID. nothing with that ID is there.

    This could of been caused by importing the application on the primary site instead of the CAS. But, even when i open the Console pointing to the Primary Site it is not there.

    Any Idea how I can delete this package within Sql. I am at a loss.

    • Anoop says:

      You can see the package ID then this could not be a problem with creating packages at CAS or Primary. This could be problem with security scope when you’ve multiple security scopes and those packages are not assigned to your security scope. I’m not sure whether you’re talking about classic package or new application model. If you’re talking about new applications in CM12. There is NO package ID or application ID associated with it rather there could be application GUID.

      • Dan says:

        Thanks for the Reply. I know this is not a Security Scope issue as I am the Administrator and no one else can import packages. I am talking about New application model. When you go into content status you can see what the package ID is. Thus, The package that is showing up in content Lib explorer is not showing up in Content status. Sorry if this is a little confusing. I do not know any other way to explain. Thanks Anoop.

  3. Dan says:

    STATMSG: ID=2300 SEV=I LEV=M SOURCE=”SMS Server” COMP=”SMS_DISTRIBUTION_MANAGER” SYS=gldxxxxxxxx.rootlnka.netnet SITE=PW1 PID=4776 TID=3388 GMTDATE=Mon May 19 17:36:14.975 2014 ISTR0=”Promis SPC GUI” ISTR1=”PW100003″ ISTR2=”” ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=1 AID0=400 AVAL0=”PW100003″ SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:14 PM 3388 (0x0D3C)
    No action specified for the package PW100003. SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:14 PM 3388 (0x0D3C)
    Package PW100003 does not have a preferred sender. SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:16 PM 3388 (0x0D3C)
    The package and/or program properties for package PW100003 have not changed, need to determine which site(s) need updated package info. SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:16 PM 3388 (0x0D3C)
    A distribution point has been changed at this site, adding site PE1 to the list of sites to which we are sending package PW100003. SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:16 PM 3388 (0x0D3C)
    Adding site CSA to list of sites to which we are sending package PW100003 data, because it is in a direct line between this site and the destination site. SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:16 PM 3388 (0x0D3C)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=PW100003, Version=2, Status=2301 SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:16 PM 3388 (0x0D3C)
    StoredPkgVersion (2) of package PW100003. StoredPkgVersion in database is 2. SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:17 PM 3388 (0x0D3C)
    SourceVersion (2) of package PW100003. SourceVersion in database is 2. SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:17 PM 3388 (0x0D3C)
    STATMSG: ID=2301 SEV=I LEV=M SOURCE=”SMS Server” COMP=”SMS_DISTRIBUTION_MANAGER” SYS=gldxxxxxxxx.rootlnka.netnet SITE=PW1 PID=4776 TID=3388 GMTDATE=Mon May 19 17:36:17.274 2014 ISTR0=”Promis SPC GUI” ISTR1=”PW100003″ ISTR2=”” ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=1 AID0=400 AVAL0=”PW100003″ SMS_DISTRIBUTION_MANAGER 5/19/2014 12:36:17 PM 3388 (0x0D3C)

    THIS IS WHAT IS IN THE DISTMGR.LOG FOR THIS PACKAGE. You can see the package ID = PW100003 This package is not showing up in content status. Which it should. 🙁

    • Anoop says:

      I’ve not seen package ID in CM12 console for Applications. However, package IDs are available for classic packages. There could be some way to find the package ID of application. I’m NOT sure about that till now. Try to search with application name if possible. There is no application ID per se. Rather we need to track applictions with GUID.

  4. Darrel says:

    I have a package pushed to a remote DP, used the tool and it is in a Pending state and greyed out, anyway to remove it?

  5. Anoop says:

    Hi ! Try to remove it from SCCM ConfigMgr 2012 Console?

  6. Alfredo says:

    Hi,

    We also have the same issue as Dan,
    We have um package (with PackageID that i can see on DB with scopeID, but WITHOUT ´location´or ´ShareName´), that i cannot find on console (connect to central or primary).
    Its also “Pending” on Content Library Explorer on DPs.

    I’m pretty sure that it was one application i created on primary server instead of Central, and moments later, deleted it.

    Any idea how can we resolve it?

    Thanx

    Alfredo

  7. sebus says:

    And what to do when CLE shows something greyed without the name with status PENDING
    Where does it read this info?
    From which DB table?

  8. Esakki says:

    I have lot of files around 82.5 GB in FileLib folder.. i’m not sure what is causing issue? i could not able to do anything on the DP since there is no space.. Please let me know how can i find what is causing the issue and how can i clear those out?

  9. MikhailCompo says:

    When running this tool, i receive an error message on one of my DPs with:

    “The legacy package does not have exactly one content.” The program does not get any further than that error message. Any ideas how i can resolve the issue?

Leave a Comment and Contact Anoop