Moka5
Moka5


Install SCCM Client in the LivePC Base Image   « Go Back
Table of Contents
- Summary
- Pre-Requisites
- Steps



Summary

This document covers the steps to install and configure the SCCM 2007 client in the LivePC base image to be used with the deployment of LivePCs.


Pre-Requisites

  1. Creator and LivePC base image with MokaFive Guest Tools installed
  2. Ccmdelcert.exe utility. Part of the SMS 2003 Toolkit 2 (http://technet.microsoft.com/en-us/systemcenter/bb676787.aspx)
  3. SCCM 2007 Client installer
  4. SCCM 2007 Server Information
  • SCCM Management Point Server Name
  • SCCM Fallback Status Point Server Name
  • SCCM Server Locator Point Server Name


Steps

Preparation

  1. On the host computer with Creator, download and install the SMS 2003 Toolkit 2 (http://technet.microsoft.com/en-us/systemcenter/bb676787.aspx)
  2. Locate the ccmdelcert.exe utility. We will need to copy the utility to the LivePC base image at a later step.
  3. Create a VB script called "enablesccm.vbs" with the following lines. We will need to copy the script to the LivePC base image at a later step.

set oSMSClient = CreateObject("Microsoft.SMS.Client")

oSMSClient.EnableAutoAssignment 1

  1. Locate and obtain the SCCM Client Installer files that we will be installing on the LivePC base image. These can be found on the SCCM server - (default location) C:\Program Files (x86)\Microsoft Configuration Manager\Client
  2. If you are building a LAYERED LivePC base image, create a text file called "admin.pol". Add the following line to the text file. We will need to copy this file to the layered LivePC base image at a later step. This admin.pol entry is to preserve the SCCM GUID for layered LivePCs after deployment.

file user %SystemRoot%\smscfg.ini

Installing SCCM in the LivePC base image

  1. Start Creator and start the LivePC base image.
  2. If this is a LAYERED LivePC base image, copy the admin.pol file that was created earlier to the C:\Windows\system32 folder. If this file already exists in that location, open the existing file and add the "file user %SystemRoot%\smscfg.ini" entry to it.
  3. Copy the SCCM Client Installer files, ccmdelcert.exe, and enablesccm.vbs that were obtained earlier to a folder on the LivePC base image, e.g. C:\Temp\SCCM_Files.
  4. In the LivePC base image, open a command line with Administrator rights, Start -> All Programs -> Accessories -> Right Click Command Prompt -> Select Run as administrator
  5. In the command line, navigate to the SCCM files copied earlier. e.g. C:\Temp\SCCM_Files
  6. Use the following command line to install the SCCM agent:
  • CCMSetup.exe /mp:<SCCM Management Point Server> FSP=<SCCM FSP Server> SMSSLP=<SCCM Server Locator Point Server>
    • E.g. CCMSetup.exe /mp:sccm_server.qa.com FSP=sccm_fsp_server.qa.com SMSSLP=sccm_slp_server.qa.com
  1. The SCCM installer is a silent installer. There is no visual notification that the installer has completed. You will need to monitor the installation log and wait for the completion notice to appear in the log. The installation log is located at C:\Windows\System32\ccmsetup\client.msi.log. The completion notice in the log is "Product: Configuration Manager Client -- Installation operation completed successfully."
  2. In the command line, run "net stop ccmexec". This will stop the SCCM service so we can prepare the SCCM client for publishing.
  3. In the command line, run "ccmdelcert.exe". This file was copied earlier to the LivePC, e.g. C:\Temp\SCCM_Files. After running the command, you should see a "Successfully deleted cert" message.
  4. Delete C:\Windows\SMSCFG.ini.
  5. In the command line, run "cscript enablesccm.vbs". This file was copied earlier to the LivePC base imge, e.g. C:\Temp\SCCM_Files.
  6. Shut down the LivePC base image and publish

IMPORTANT: EVERY TIME this LivePC base image is opened for performing administrative updates, e.g. patching, application updates, etc., you will need to run through steps 8-12 to ensure that the SCCM agent in the base image is scrubbed to prevent issues with duplicate SCCM GUIDs and certificates.

Prior to deploying an updated LivePC base image to production, please validate that new LivePCs get unique SCCM GUIDs after they come up. If you see duplicate GUIDs on deployed LivePCs, you must open the base image again and go through steps 8-12 to ensure that the GUIDs are scrubbed prior to deploying to production.