Remove Package From Server Jobs
When a Remove Package From Server job is created, the Despooler removes all files from all or some target site distribution servers, depending on which job task is specified (Remove From All Distribution Servers or Remove From Selected Distribution Servers). SMS uses the Package Location data in the database to determine which servers have a copy of the package.
This process is summarized in Figure 3.12, Remove Package From Server Job Flow.
Error! Not a valid filename.
Figure 3.12 Remove Package From Server Job Flow
For the Remove From All Distribution Servers option, the Despooler:
- Removes the compressed version of the package from the target site servers.
- Removes the decompressed versions of the package from all distribution servers.
- Removes the commands from PCM instruction files for all target SMS computers for all jobs that use the removed package. Note that this is the only way to remove commands from PCM instruction files (except by using the SMS Administrator to cancel each job that uses the package).
- Leaves packages that have been installed on clients.
- Leaves the package source directory at the originating site.
- Leaves the compressed version of the package at the originating site. This is the compressed package created by the Scheduler in the SITE.SRV\SENDER.BOX\TOSEND directory on the originating site server. There are two ways to remove this compressed package: 1) Delete the package from the Packages window in the SMS Administrator. 2) Manually delete the compressed file (you can identify it by its file name: packageid.W* for a workstation package and packageid.S* for a server package).
For the Remove From Selected Distribution Servers option, the Despooler:
- Removes the decompressed versions of the package from all distribution servers in the specified machine group.
- Leaves packages that have been installed on clients.
- Leaves the package source directory at the originating site.
- Leaves the compressed version of the package at the originating site. This is the compressed package created by the Scheduler in the SITE.SRV\SENDER.BOX\TOSEND directory on the originating site server. There are two ways to remove this compressed package: 1) Delete the package from the Packages window in the SMS Administrator. 2) Manually delete the compressed file (you can identify it by its file name: packageid.W* for a workstation package and packageid.S* for a server package).
A Remove Package From Server job applies to both Run Command On Workstation and Share Package On Server jobs. After a Remove Package From Server job's Start After time elapses, SMS sends the job's instructions to designated sites. Using the job instructions, the Despooler removes the decompressed version of the package from the specified distribution servers. If you selected the Remove From All Distribution Servers option, the Despooler also removes the compressed version of the package from the site server's DESPOOLR.BOX\RECEIVE\STORE directory.
Note that if you limit package removal to sites A and B, and then specify a machine group containing a distribution server that is part of Site C, no files are removed from the server that is part of site C.