Advertisement

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

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

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, Console, SCCM 2012, System Center 2012 Configuration Manager, System Center Configuration Manager

8 Comments

  1. SHAIK HAJIALI says:

    Hi Anoop,

    Do we have any solution for the same in SCCM 2007?

  2. Karthik Iyer says:

    So what happens exactly in the background when we do a cancel ?

    • Anoop says:

      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

  3. Willliam says:

    Hi Annop (et al)

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

    Thanks in advance!

  4. Willliam says:

    sorry to mis-type your name

  5. vijay says:

    this option not available in SCCM2012SP1 ! any auto script to stop the in-progress content distribution.

  6. Pullela Nagaraju says:

    Is there any script to Stop 4000 packages to Single DP.

Leave a Comment and Contact Anoop