How to Stop in progress Package Content Distribution to a DP in SCCM 2012 R2

Cancel Content Package
Cancel Content Package
Advertisement

Is that possible to cancel on going content or package distribution in ConfigMgr?  Most of the old ConfigMgr / SCCM admins will say it’s not possible. However, in reality, this is not true if you’ve SCCM / ConfigMgr 2012 R2. The latest version of SCCM 2012 is R2 and in this version, we can cancel or stop on going distribution to a DP. This  CANCEL package content functionality is very useful when a large package is mistakenly distributed to DPs and the job needs to be cancelled to avoid further impact.

From the Distribution Status node in the Monitoring workspace (\Monitoring\Overview\Distribution Status\Content Status – In progress ) of the SCCM / ConfigMgr 2012 R2 console, you can cancel distributions that are in progress to a DP.

 Monitoring - Overview - Distribution - Status - Content Status - Cancel
Monitoring – Overview – Distribution – Status – Content Status – Cancel

Once you click on cancel (button as you can see in the above picture) the distribution of a particular package, you will get a confirmation popup with following message. Click on yes.

This action cancels the distribution Job with Package ID
This action cancels the distribution Job with Package ID

The action cancels the distribution job with package ID ‘CAS0016F’ if the distribution is still in progress and might take a long time to complete. Check distrmgr.log or the Monitoring workspace to view the progress. Do you want to continue? 

Once you’ve canceled the distribution of a package you can see the following entries in the distrmgr.log

Found notification for package ‘CAS0016F’
A distribution point has been changed at this site, adding site PRI to the list of sites to which we are sending package CAS0016F.
A distribution point has been changed at this site, adding site PRI to the list of sites to which we are sending package CAS0016F.
CDistributionSrcSQL::UpdateAvailableVersion PackageID=CAS0016F, Version=1, Status=2301
STATMSG: ID=2301 SEV=I LEV=M SOURCE=”SMS Server” COMP=”SMS_DISTRIBUTION_MANAGER” SYS=ACNCMCAS01.configmgr.com SITE=CAS PID=4452 TID=4552 GMTDATE=Tue Feb 25 07:01:10.945 2014 ISTR0=”Global – Jan 2014 – Client EN” ISTR1=”CAS0016F” ISTR2=”” ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=1 AID0=400 AVAL0=”CAS0016F”

To know the latest status of the cancellation, Navigate through Monitoring\Overview\Distribution Status\Content Status – Error of the SCCM / ConfigMgr 2012 R2 console.

Status check of Cancelation Content Package Distribution
Status check of Cancellation Content Package Distribution

Once you double click on the description shown in the above picture, you will get more detailed popup and we are successfully canceled the distribution of a particular package content.

Package distribution cancelled by user for package “CAS0016F” on Distribution Point “ [“Display=\\ ACNCMPRI01.configmgr.com\”]MSWNET:[“SMS_SITE=PRI”]\\ ACNCMPRI01.configmgr.com \”

Status Check More Details about Cancelleation Content Package
Status Check More Details about Cancelleation Content Package

8 COMMENTS

    • What I can understand from the distrmgr log file is:- Distribution manager notifies other components like Scheduler and sender to stop cancel the jobs which are under process. Probably, we need to perform a deep dive into this to get more information. Unfortunately, I didn’t get time to perform this kind of action.

      BTW, If you’ve more information on the background process then always welcome to share the same.

      Thank you
      Anoop

  1. Hi Annop (et al)

    Do you know the SCCM2012 application equivalent to the 2007 “disable program”?

    Thanks in advance!

LEAVE A REPLY

Please enter your comment!
Please enter your name here