Skip to main content

Software Update Management- SCCM 2012

The below post explains the end to end process of software updates management in SCCM 2012 Pre-requisites: 1.  WSUS Server (WSUS 3.0 SP2 ) should be installed on the SCCM site server or if you want to install WSUS on another server, it is important that you install WSUS administration console as the SCCM Server uses API. This  link explains the step by step procedure to install WSUS 3.0 SP2 2. Install SUP-Software Update Point on the SCCM Server . 3. Reporting Services Point: Install reporting services point role as described in this link . 4. Client agent: The software update client agent should be enabled(will be enabled by default) and the settings have to specified as per the requirement. On SCCM console, go to Administration>Site Configuration>Client settings>Right click on Default client settings> Click on Properties. If required, we can create custom client settings and then enable client settings for that settings. Unde

Install SCCM 2007 Client Agents-Post SCCM Server Installation-Task 8

The SCCM installation method used here is Client Push installation method.

There are two ways to use Client Push installation:

1. Site wide enabling of the Client push Installation: This method will install the SCCM client agents on all the machines that fall under the boundaries of a specific site.
2. Collection specific or Individual Client: Using Client Push installation wizard, we can target individual client system or a specific collection. This method gives us greater control in deploying SCCM client agents in a phased manner.

a] Preparing Client and the SCCM Server:

Client : Prepare the Windows client and install the required pre-requisites for   installing SCCM.

Server:On the SCCM server side, follow all the 7 tasks as mentioned in this post.

b] Configuring Client Push on SCCM Server and Installation:

1. In the Configuration Manager console, navigate to System Center Configuration Manager / Site Database / Site Management / <site code> – <site name> / Site Settings / Client Installation Methods.
2. Right click the Client Push Installation method, and then click Properties.
    * On the Accounts tab, mention the client push installation account that will be used for client agent installation. It should be part of the local admin group on the client machine. Care should be taken while entering the password here since SCCM will not verify if correct password is specified.


3. On the Client tab specify the installation properties to use, here I have specified SMSSITECODE=AUTO so that the clients can auto discover the sites.
There are lot of Client Installation properties that can be used, the below Microsoft link directs to that.


Coming to General  tab, we can enable site wide installation of the SCCM clients. Here, we are going to target collections instead of site wide installations.

4. In the Configuration Manager console, navigate to System Center Configuration Manager / Site Database / Computer Management Collections.
Select the collection or computer in a collection you want to push the client software to. To launch the Client Push Installation wizard, right-click the computer or collection that should receive the client software, and then select Install Client. To display the installation options, click Next.

Here , since the target machine that I am using is Windows XP, the collection being targeted is "All Windows XP Systems" 


5. On the Installation options page, specify the client installation options that should be used for installing the Configuration Manager 2007 client to a domain controller, clients assigned to this site, sub collections, or if the software should always be installed by selecting the appropriate options. The default is Include only clients in this site's boundaries.


To complete the Client Push Installation wizard, click Next. Review the installation settings, and click Finish to close the wizard.

c] Verification Of Successfull Client Installation :

Server Side: Check CCM.LOG file in "SCCM Installation directory\Logs" folder. 

It will connect to the admin share on the client system, check for OS versions and other settings and then copy the files onto the local system.
It creates a CCR record for each system that is targetted for client push and stores the record in CCR Inbox in the SCCM installation directory
It should start the ccmsetup service on the said client as shown below.


If the service is started , then next we can jump to client side for further information.

Client Side: There are 3 important log files which provide us the information whether the client is installed or not.

1. ccmsetup.log

This log provides whether the installation of client agent is  successful or not.

The log files location is :
32 bit OS : %Windir%\System32\CCMSETUP folder
64 bit OS : %Windir%\CCMSETUP folder


2.clientmsi.log

The log files location is :
32 bit OS : %Windir%\System32\CCMSETUP folder
64 bit OS : %Windir%\CCMSETUP folder

This log provides detailed information on the installation of SCCM client.

3. ClientIDManagersetup.log:

  The log files location is :

32 bit OS : %Windir%\System32\CCM\Logs folder
64 bit OS : %Windir%\SysWOW64\CCM\Logs.

This log provides whether the client is registered or not.It generates GUID for that client and unless it is registered, the machine status on the server will not appear as "Yes"


After the successful installation of Configuration manager 2007 client agent, it will create 3 applets on the client machine's control panel.
1. Configuration manager applet.
2.Run Advertised programs
3.Program download monitor


On the server side, the client installation status will show as "Yes" and as "Approved"



Comments

Popular posts from this blog

Registering SPN for SQL Server for SCCM

If using a domain account to install SQL server 2008 R2 for SCCM, you have to register a SPN (Service Principal Name) in Active Directory for that domain account. Two SPNs for the account should be registered,     1. For NETBIOS name of the SQL Server     2. For the FQDN of SQL server. The procedure to do that is as follows 1. Log on to a domain controller; open a command prompt with administrative privileges. 2. Type the below commands replacing SQL server name. setspn –A MSSQLSvc/< SQL Server NETBIOS name >:1433<Domain\Account> setspn –A MSSQLSvc/< SQL Server FQDN >:1433 <Domain\Account> 3. As shown in the below screenshot, the server name here is  CM2012 for NETBIOS name and CM2012.CONTOSO.COM 4.  Verify the registration of SPN by typing the below command Setspn –L  <domain\account>

Consistency validation for SQL Server registry keys failed error -SQL for SCCM

During installation of SQL server, "Consistency validation for SQL Server registry keys failed” error pops up in the below scenarios. 1.   Previous installation of SQL exists. 2.   Inappropriate permissions on the registry keys of Microsoft SQL server. Solution that worked me is explained below. A. Identify the issue: 1. Go to %Program Files%\Microsoft SQL Server\100\SetupBootstrap\Log\”date  and time of installation” 2. Search (in Detail_GlobalRules.txt) for lines containing the following string "Could not fix registry key" 3. Run “regedit”, s et full control permissions for the appropriate registry keys mentioned in "Detail_GlobalRules.txt" file. Re-run the installation. B. Modifying the registry: 1. Locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server in registry. (To open registry, run “regedit”) 2. Right click and go to Permission 3. Click on Advance tab and c heck the below options.     i. Include i

Collection query to find Machines--based on GUID Criteria

You can use the below SQL query to create a new collection based on GUID. select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SMBIOSGUID = " 18764D56-C91F-83A5-51FB-4AD4B6699D04 " Replace the GUID with the one that you intend to delete. This is particularly useful when performing OSD related tasks. To know how to create a collection , go through this link .