Quantcast
Channel: Symantec Connect - Téléchargements
Viewing all articles
Browse latest Browse all 322

Patch Clean-up - Remove Unused Packages

$
0
0

Some patches which come from patch management are updated on a regular bases. For example MSRT-001. MSRT-001 can be updated every month. A revised EXE is in that case downloaded and placed in the same resource. This can lead to quite a big package after a while.

See the screenshot here:

msrt-001_1.JPG

So the package which normally is around 25 MB can be 290 MB instead. And this is not only on the SMP. This will be distributed to package servers and clients.

msrt-001_2.JPG

There are other examples like SURT-001 where packages and revised packages are even larger.

I have gone through the settings in PM and did not get it to remove this unused EXE files from the packages. I have also went through the support channel and also there I did not get any solution to this problem which does not seem to be a problem. More like a not-so-nice feature :-)

So I thought I can get rid of those files myself and put together a little script which I run as a scheduled task. The same task could also be run whithin the SMP as a scheduled task.

Here the usage of the script:

For example place the file / files locally on you SMP in C:\Temp

  • If you have only one bulletin to cleanup you can start the task like this: --> cscript.exe C:\Temp\patchcleanup.vbs MSRT-001
  • If you have serveral bulletins you can place those in a text file (see bulletinlist.txt attached): --> cscript.exe C:\Temp\patchcleanup.vbs -f C:\Temp\bulletinlist.txt

The script will create a log file in the same folder where the script is placed and shows you what files were cleaned up.


Viewing all articles
Browse latest Browse all 322

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>