20 April 2016

Increase Package Size - WSUS

Recently I was looking at an application called CSI, which ties into WSUS, and releases packages through WSUS for 3rd party applications (such as Java etc).  This is a really good way to ensure that all applications are kept up to date, and managed through existing WSUS infrastructure.

I noticed that some packages were larger than the WSUS limit of 384mb.  This is obviously a problem, as WSUS wouldn't be able to package and push this out.  In order to get around this, I've had to tell WSUS that the package size can be larger than that.

The following Power Shell commands will get this job done:

  • Import-Module UpdateServices
  • [reflection.assembly]::LoadWithPartialName
  • ("Microsoft.UpdateServices.Administration") | out-null
  • $wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer();
  • $serverconfig = $wsus.getConfiguration()
  • $serverconfig.LocalPublishingMaxCabSize = 1024
  • $serverconfig.Save($FALSE)
In these commands, the 1024 is the newly updated maximum package size.  
Note: WSUS cannot go larger than 2048mb, so don't set the size to above that.

No comments:

Post a Comment