P&U Self Service for CPS Standard In Cloud Platform System (CPS), software updates are automated through the CPS Patch and Update (P&U) framework. This document covers the steps to create P&U packages to install software updates to CPS Standard for delivery of monthly Windows updates. This software requires a dedicated standalone VM for WSUS and packaging operations. Don’t use the CPS WSUS VM or an existing WSUS VM in your environments.
Create a C:\CPSTemp folder on the CPSWSUS VM Create a C:\WSUS folder on the CPSWSUS VM Create a C:\WSUS_Export folder on the CPSWSUS VM Add the WSUS server role in Server Manager
Install Summary:
Launch the WSUS Admin Console
Click "Run"
This process will take about 5 minutes to complete Click "Close" when complete Then, the First Run Configuration Wizard will open
This VM must be able to connect to the Internet, including any Proxy credentials as necessary.
Setup Proxy, as appropriate Connection screen
When complete, click "Next" to continue
Leave the default language of "English"
On the "Choose Products" screen, uncheck all of the defaults Uncheck - Office and Windows Check these products specifically (not their folder level categories): "ASP.
Check the box "Begin initial synchronization", and click "Finish" Expand the server on the left pane, and click on "Synchronizations" to see the sync in progress
This could take some time to complete. Completion: Script Setup Copy the provided script, Framework files (extract to a folder), and MUKBLIST.TXT into the C:\CPSTemp folder
Extract “CPS-S Empty Framework” folder in C:\CPSTemp. It contains a “blank” P&U package that is ready for payload files and a version number in the Manifest.json file. These files along with the WSUS install, and the directories created earlier are the requirements for creating the CPS P&U payload using the Create-PNUPackage.ps1 script. Script Execution The Create-PNUPackage.ps1 script is executed to download the WSUS patch payload for CPS P&U, and that payload is exported for use with P&U.
Note: After script completion, the original C:\CPSTemp\MUKBLIST.TXT is updated to contain the list of updates downloaded for the P&U package. Those KB updates are downloaded for inclusion into the CPS P&U Export binaries (C:\WSUS_Export in the above example). Example Final MUKBLIST.
KB4516115 KB4520005 KB4524104 KB890830 File Copy and Versioning In the WSUS_Export folder, is the exported WSUS payload for P&U. Copy the Payload folder in WSUS_Export into the “CPS-S Empty Framework” folder in C:\CPSTemp. It should already have a Payload folder to match. Contents of the combined Payload folder should look like this: P&U package versioning needs to be done manually. The Manifest.json file should be updated with a version number.
Make sure that the package version adheres to the general examples above so that future packages will install correctly. Results The resulting package should contain payload files and an appropriate P&U package version. This package can now be used for a P&U install.