Exporting and Deleting a Package

This page describes how to export, delete, and clean up package files and associated objects within SCCM and Active Directory.

Export a Package

For archival purposes (prior to deletion) administrators can ‘export a package’ which will save both package settings and setup files should they ever need to be restored via import.

  1. Open the SCCM Console to Software Library → Packages: cleanup_2.JPG

  2. Select a package that you intend to remove and choose  ‘Export’: export_1.JPG

  3. Specify a backup folder and name for the exported Package.  You can export package dependencies: export_2.JPG

  4. Complete and Close the Export Package Wizard: export_6.JPG

  5. Note the backed up settings (zip file) and setup files that were produced by the Wizard:  export_7.JPG

 

Delete a Package

  1. Right Click on the Package you intend to remove  and select ‘Delete’: cleanup_3.JPG

  2. From the Wizard select ‘Next’ on the ‘Welcome’ page: delete_1.JPG

  3. Choose ‘Yes. I want to see more information’: delete_2.JPG

  4. Lists the associated ‘Programs’ within the ‘Package’ that will be deleted: delete_3.JPG

  5. The associated Deployments are listed: delete_4.JPG

  6. Any associated Task Sequences are also listed: delete_5.JPG

  7. Distribution Points that Host Setup Files: delete_6.JPG

  8. Associated Accounts (can be safely ignored):delete_7.JPG

  9. Proceed with the Deletion of the Package:delete_8.JPG

  10. Deletion Summary for the selected Package is listed:delete_9.JPG

  11. Close out the Delete Package Wizard: delete_10.JPG

  12. Delete the Pre-staged Folder that contains the Setup Files:                          delete_11.JPG

Delete the associated Package Collection(s)

  1. Select the Collection(s) corresponding to the package you just deleted and delete: delete_12.JPG

  2. Select Ok (do not delete any collection members – should be empty): delete_13.JPG

 

Delete the Active Directory Group(s)

  1. Using ADUC → <Unit> →  Software Packages →  <Unit> Software: delete_ad_groups.JPG

  2. Lastly, if any Group Policies (configures a registry key or pushes out a license file) were made specifically for this package remember to delete those polices.