Jump to content


Christoph

Refresh Package on Distribution Point

Recommended Posts

Hello,

 

I'm not able to redistribute one special package on a SCCM 2010 DP.

 

 

Situation:

After upgrading a Secondary SCCM 2007 Site to a SCCM 2012 DP some Packages are not available:

Error: Failed to connect to remote distribution point

Solution: Redistributing the packages was successful

 

Problem:

One special package is left, which I cannot select for redistribution.

I think it's the configuration manager client upgrade package, which is not visible in the distribution point content.

 

How can I redistribute this package (ID: xxx00004)?

Share this post


Link to post
Share on other sites

I get the exact same problem but no idea how to fix it - looks like the SCCM 2012 install installs two special packages - the client install and the client update package. Turns out my client upgrade package never got added in properly. I can create a new one from definition - but it gets a new ID.

 

How do we either remove the bogus package that is creating lots of spurious distribution errors or how do I repair it?

 

I tried removing it from the WMI on the various DP's but it comes back because it exists in the DB. The source files exist just no package files

 

My install was a clean 2012 RTM install. (single primary site)

 

Thanks,

 

Sam

Share this post


Link to post
Share on other sites

You can set a redistribute action by powershell

 

$PackageID = "xxx00004"

$DPGroup = "Name of your Distribution group"

$DPQuery = Get-WmiObject -Namespace "Root\sms\site_xxx" -Class SMS_DistributionPointGroup -Filter "Name='$DPGroup'"

$DPQuery.RedistributePackage($PackageID)

 

In my environment It did not trigger directly the redistribution.

I needed to redistribute another package and it did the client update package at the same time.

 

Maybe this can help

Share this post


Link to post
Share on other sites

If it is really only this package for SCCM2007 agent, it is not working for SCCM2012 Clients (i.e. version 5.00.7711.0000) anymore. I assume it is flaged as incompatible for SCCM2012 and can´t be selected for migrated to prevent problems.

 

- just taking a shot

 

Bert

Share this post


Link to post
Share on other sites

hi,

 

I ran into an issue whereby, because the DP was originally marked for prestaged content, none of the packages were being sent. I therefore had a need to redistribute multiple packages to the same DP. Using the above, I was able to accomplish this with a slight tweak. Just thought I'd put this out there in case anyone else has a need to refresh multiple packges on a single DP.

 

First, you need to run a report to get a list of packages (easiest one I found was the "Content referenced by a specific task sequence" report). Once run, export the results, and use excel to clean up the report so that you only have the PKGID and save it as a plain text file (in my case, I saved it as C:\tools\PKGID.txt).

 

Second, create a DP Group and place the DP in question into this new group

 

Third, save the below as a powershell script and execute as you would any other powershell script:

 

$PackageID = (Get-Content c:\tools\PKGID.txt)
$DPGroup = "Test"
$DPQuery = Get-WmiObject -Namespace "Root\sms\site_xxx" -Class SMS_DistributionPointGroup -Filter "Name='$DPGroup'"
ForEach ( $PackageID in $PackageID )
{
$DPQuery.RedistributePackage($PackageID)
}

 

Hope this saves someone some searching!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.