Академический Документы
Профессиональный Документы
Культура Документы
Page 1 of 48
Document information
History
Date 09/06-2011 14/06-2011 Author Kent Agerlund Kent Agerlund Version 1.0 1.1 Reason for change N/A Minor changes in screendumps
Proof readers
Name Version Date of approval
Page 2 of 48
Table of contens
Document information .................................................................................................... 2 History ....................................................................................................................... 2 Proof readers .............................................................................................................. 2 Table of contens ............................................................................................................ 3 What is SCUP 2011 ......................................................................................................... 4 SCUP requirements......................................................................................................... 4 Installing and Configuring SCUP 2011 .............................................................................. 5 Installing SCUP 2011 ................................................................................................... 5 Installing SCUP 2011 on Windows 7.............................................................................. 8 Configure SCUP 2011 for publishing and ConfigMgr. integration .................................... 13 Export the Certificate................................................................................................. 15 Create the Group Policy .......................................................................................... 19 Deploy the WSUS self-signed certificate to clients ........................................................ 21 Deploy using Configuration Manager 2007 ............................................................... 21 Deploy using Configuration Manager 2012 ............................................................... 23 Publish Updates ........................................................................................................... 31 Importing partner catalogs ........................................................................................ 31 Import custom catalogs ............................................................................................. 32 Publish Updates ........................................................................................................ 34 Working with Publications ....................................................................................... 34 Author updates ............................................................................................................ 38 Using Rules to author updates ................................................................................... 46
Page 3 of 48
SCUP requirements
Supported Operating Systems o Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 Windows Server Update Services (WSUS) 3.0 SP2 .NET Framework 4.0 Trusted Signing Certificate
Page 4 of 48
Click Next.
Page 5 of 48
Click Next.
Page 6 of 48
Click Finish.
Page 7 of 48
Page 8 of 48
Click Next.
Click Finish.
Download and install the WSUS hotfix WSUS-KB2530678-x86 or WSUSKB2530678-x64 from http://support.microsoft.com/?kbid=25306 78
Page 9 of 48
http://www.microsoft.com/downloads/en/detai ls.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5b386f32c0992&displaylang=en
Page 10 of 48
Click Next.
Click Next.
Page 11 of 48
Click Finish.
Page 12 of 48
For installations with a local WSUS: Select Connect to a local update server. For installations with a remote WSUS: Select Connect to a remote update server and type: Name: SCCM4 Port: 8530
In Signing Certificate click Create and OK. Only select this option if you do not have an existing WSUS signing certificate.
Page 13 of 48
For installations on the site server: Select Connect to a remove Configuration Manager Server and type: Click Test Connection and OK in the dialog. For installations on a remote server or workstation: Type: SCCM4 Requested client count threshold: 1 Package source size threshold: 30 Click OK to close the configuration.
Page 14 of 48
Click Finish Click Add and Close to return to the MMC with Certificate snap-in
Page 15 of 48
Select Certificates, Trusted Root certification Authorities, Certificates. Right click and select Paste
Select Certificates, Trusted Publishers, Certificates. Right click and select Paste. Notice, the certificate must also be imported on the Configuration Manager server. If the server is on a remote host, export the certificate and import it on the Configuration Manager server. Next export the certificate so it can be deployed using a ConfigMgr. Package. Right click the certificate, select All Tasks, Export.
Page 16 of 48
Click Next.
Click Next.
Click Next.
Page 17 of 48
I export the certificate to a folder containing Certutil.exe and Certadm.dll. In this example the WSUS certificate is called wsus2011.cer For more information about certutil.exe check http://technet.microsoft.com/enus/library/cc732443(WS.10).aspx Click Next.
Click Finish.
Page 18 of 48
Right click the Domain and select Create a GPO in this domain, and link it here
Page 19 of 48
Right click Allow signed content from intranet Microsoft update service location and select Properties.
Page 20 of 48
Create a new package in Config Mgr. Select the folder containing the three files as the source folder.
Page 21 of 48
Create two new programs with these command lines certutil.exe -addstore Root wsus2011.cer certutil.exe -addstore TrustedPublisher wsus2011.cer
In the second program configure the first program to run first. You can also create a bat file or script to run both commands from a single program.
Page 22 of 48
Configure the program to run with administrative rights and create a new mandatory advertisement.
Select Application Management, Packages and click Create Package on the Ribbon.
Page 23 of 48
Create a new package with these settings and click Next Name: SCUP 2011 Certificate Source Files: \\sccm4\sccm_sources$\Softwar e\SCUP ConfigMgr package
Create a program with these settings and click Next. Name: Import WSUS certificate into root Commandline: certutil.exe addstore Root wsus2011.cer Program can run: Whether or not a user is logged on
Page 24 of 48
Select the WSUS Signing Certificate package and click Create Program in the Ribbon
Page 25 of 48
Create a new program with these settings and click Next. Name: Import WSUS certificate into Trusted Commandline: certutil.exe addstore TrustedPublisher wsus2011.cer Program can run: Whether or not a user is logged on
Select Run another program first and select the WSUS Signing Certificate package and the Import WSUS certificate into root program. Click Next.
Page 26 of 48
Open the properties for both programs (one at the time), select the Advanced tab and enable Suppress program notifications.
Select the WSUS Signing Certificate package and click Distribute Content on the Ribbon.
Click Next.
Page 27 of 48
Click Add and select the Content target. In my example I use a Distribution Point Group called EMEA. Finish the wizard.
Select the WSUS Signing Certificate package and click Deploy on the Ribbon.
Select the Import WSUS Certificate into Trusted program and deploy that to the All Desktop and Server Clients collection. Click Next.
Page 28 of 48
Schedule the application to be available now and configure the assignment to be mandatory As soon as possible
Click Next.
Page 29 of 48
Page 30 of 48
Publish Updates
Importing partner catalogs
Select the Catalog workspace.
Select Add Catalogs. SCUP will now detect any free partner catalogs that are not already added.
Select the Updates workspace and click Import. Select the catalogs and click Next. During the import process, SCUP will prompt to accept the Certificate for each vendor.
Page 31 of 48
Alerts will automatically be raised whenever there is a change in one or more of the catalogs.
Page 32 of 48
Page 33 of 48
Publish Updates
Updates can be published with three different flags: Full Content, this will download the binaries and make them available for a deployment in Configuration Manager. Metadata only, will only download metadata and is suitable when you only want to track compliance. Automatic, will only download metadata but might download the complete set of binaries if any Configuration Manager clients are requesting the update. This setting requires that you have configured the ConfigMgr. Integration. This method will force SCUP to query Configuration Manager for clients requesting the updates. If none are requesting an update only metadata will be published otherwise it will be full content. The automatic rules works very well together with publications.
Page 34 of 48
Select the publication type, in this example Im using Full Content. Type a name for the Publication and click OK. In my example Im typing 2011-Q2. Click OK. You can add multiple updates into the same publication.
Navigate to the Publication workspace, select the publication and click Publish.
Click Next.
Page 35 of 48
Click Next.
Click Close.
The updates will now be published to WSUS. You can monitor the activity by reading the scup.log file found in the %temp% folder.
Page 36 of 48
Updates will become available in Configuration Manager next time ConfigMgr. Synchronizes content with WSUS. In this example I have created an Update Group in Configuration Manager 2012 with updates that are now ready for deployment.
Page 37 of 48
Author updates
Before you start author any update you will need to do some detective work. You need to figure out: A way to download patch, either vendor site or local file server A method to detect whether a given update is required or not. A method to detect that you successfully deployed the update. Figure out the command line to do a silent installation Find the vendor website that contains information about the update. In this example I will deploy Java 6 update 25 x86. I have already downloaded the update to a local file share \\sccm4\sccm_sources$\Software\JavaUpd25\jre-6u25-windows-i586.exe To detect if a previous version of Java is installed I will query these registry keys: Must exist: HKLM\Software\Javasoft\Java Runtime Environment\1.6 Must not exist: HKLM\Software\Javasoft\Java Runtime Environment\1.6.0_25
To verify that the installation was successful I will query this registry key Must exist: HKLM\Software\Javasoft\Java Runtime Environment\1.6.0_25 Open the SCUP 2011 console and navigate to the Updates workspace. Create folder by using the Ribbon. In this example my folder is called Oracle
Page 38 of 48
In Package Source click Browse and navigate to: jre-6u25-windows-i586.exe. In download URL (or UNC) type the UNC path to the file: \\sccm4\sccm_sources$\Software\Jav aUpd25\jre-6u25-windows-i586.exe Binary language (in my example is English) English Command line: /s "IEXPLORER=1 MOZILLA=1" /quiet Click Next. In Language select: English In Title type: SUN Java 6 Update 25 In Description type something meaningful like what are being fixed by this update. In Classification select: Security In Vendor type: Oracle In Product type: SUN Java More Info URL type: http://www.oracle.com/technetwork/j ava/javase/6u25releasenotes356444.html Click Next.
Page 39 of 48
On the Optional information page you can type the official Update information, is none is provided I suggest you invent a naming standard for the different vendors. Bulletin ID: SUNJAVA6UPD25 Article ID QSUNJAVA6UPD25 Support URL: http://www.oracle.com/technetwork/j ava/javase/overview/index.html Severity: None Specified Impact: Normal Restart Behavior: Can request reboot Click Next On the prerequisites page click Next.
On the Supersedence page you can select any older version that is being superseded with this update. It requires that the older update is also present in the catalog. In my example, this is the first Java update in the catalog, click Next.
Page 40 of 48
On the Installable rules page you will type in whatever information you have to detect a previous installed version. Click the Yellow star icon.
Rule Type select: Registry Subkey type: Software\Javasoft\Java Runtime Environment\1.6 This registry key is for a 32 bit application on a 64-bit system: Enabled Click OK
Page 41 of 48
Click the Yellow icon and create a new rule Rule Type select: Registry Subkey type: Software\Javasoft\Java Runtime Environment\1.6.0_25 This registry key is for a 32 bit application on a 64-bit system: Enabled Click OK
Highlight the last rule and press Alt+G or click the Not icon. Click Next.
Page 42 of 48
On the Installed rules page you will type in whatever information you have to detect that this new update is successfully installed. Click the Yellow icon to create a new rule. Rule Type select: Registry Subkey type: Software\Javasoft\Java Runtime Environment\1.6.0_25 This registry key is for a 32 bit application on a 64-bit system: Enabled Click OK Click Next.
Click Next.
Page 43 of 48
Click Close
Click Publish on the Ribbon, select Full Content and click Next.
Click Next.
Click Close. The update will now become available in System Center Essentials or Configuration Manager after the next software update synchronization process.
Page 44 of 48
Page 45 of 48
Click the Yellow star icon and create a new rule. Rule Type select: Registry Subkey type: Software\Javasoft\Java Runtime Environment\1.6 This registry key is for a 32 bit application on a 64-bit system: Enabled Click OK
Page 46 of 48
Click the Yellow icon and create a new rule Rule Type select: Registry Subkey type: Software\Javasoft\Java Runtime Environment\1.6.0_XX This registry key is for a 32 bit application on a 64-bit system: Enabled Click OK
Highlight the last rule and press Alt+G or click the Not icon. Click Next.
You can now use the rule in when authoring any update. In the rule editor you can select Rule type: Saved Rule. Select the rule and click OK.
Page 47 of 48
You can edit the rules, in this example I will change the Not rule from Software\Javasoft\Java Runtime Environment\1.6.0_XX To Software\Javasoft\Java Runtime Environment\1.6.0_26 By doing so, I have in a few easy steps, created a rule that can be used when installing the SUN Java Update 26
Page 48 of 48