We have been using different Methods / Scripts to install SMS/SCCM Client from Previous version of Configuration Manager.
In SCCM 2012,We do have the same methods what is available in SCCM 2007 , But with the release of Configuration Manager 2012, New tool has been introduced which is ClientpushGenerator.exe. More info will follow. http://technet.microsoft.com/en-us/library/gg682191.aspx
This tool can be found from SCCM Installation Drive folder:\AdminConsole\bin\ClientpushGenerator.exe.
This procedure requires you to enable Client push installation the site where the clients assigned to.
How to enable Client push installation :
From the administration Pane--Site Hierarchy—>Sites-->Right click on site ,you see client installation Settings—>Client Push Installation
Move onto Accounts Tab and create New Account.
If you have custom command properties to be used for the client installation like port used,cache size,FSP,provide them on installation properties.
For Ex: smssitecode=P01 smscachesize=10000 ccmhttpport=8080 FSP=CM12FSP01
How to provide local admin rights on target computers for the account specified here ?
You may follow the procedure http://eskonr.com/2010/09/make-account-member-of-local-adminswhich-may-be-useful-in-configuration-manager-for-installation-of-sccm-client-push/
We are now done with requirements before we use Tool.
Run the Tool from the Above said Path
As you can see from the tool Above ,It asks for list of computers in text file and SiteCode to assign the clients to.(SiteCode will be pulled Automatically from the Hierarchy)
This tool helps you to install SCCM Client based group wise , how you defined the Boundaries.
If you boundaries are defined based on AD subnet/IP Address Range ,Get list of Computers from the specified Subnet/IP Address range and save them to Notepad.
Create a notepad ,pipe the computers into it and save it.
From the Tool, Click on Browse and select the notepad File what you created above and select the SiteCode,Click on Push
If you trying this on Already existing clients( could be CM07 as well),select always install the client.
As soon you click on Push,Site server will create CCRs for each computer ,which you can see from CCR.box inbox folder.
some Important Information to know About Client push Installation :
1.When you click on Push button, SCCM generates a client configuration request (CCR) file. The CCR file contains the client computer name and additional information.
2.SCCM Client Configuration Manager connects to the ADMIN$ share on the client using the credentials what you supplied in client push installation Account. This is based on the information in the CCR file.
3. The Client Configuration Manager connects to the client registry and gathers information about the client. This process is displayed as a log entry in the Ccm.log as connecting to IPC$.
4. The SCCMcore component files, MobileClient.tcf and Ccmsetup.exe, are located in the SMS\bin\I386\ folder. These files are downloaded to the %windir%\ccmsetup folder on the client computer.
5. The Client Configuration Manager verifies that the Ccmsetup service started successfully before disconnecting. The CCR file is added to the SCCM\Inboxes\Ccrretry.box folder for verification that the installation succeeded. On a second verification pass, SCCM determines that the SMS Agent Host is running, and then deletes the CCR file.
6. If the Client Configuration Manager encounters any errors during this process, the CCR file is renamed to the request ID of the target client computer and is put in the SCCM\Inboxes\Ccrretry.box folder. The Client Configuration Manager checks for files in this inbox folder every 60 minutes and tries to reprocess them 168 times (7 days) before they are discarded. This information is logged in the Ccm.log. More info http://support.microsoft.com/kb/925282
In my case,it is only 3 computers and process will be quick.
to check what is going, look at ccm.log how the installation is going on :
As you can from above screen shot, All the 3 machines that i tried to installed failed with error messages “Access Denied or Invalid path” and these CCR request are moved to CCRRETRY.Box with file name as Request ID as you can from below :
For the Computers which are online and connect to admin$,Client will be installed successfully.
List of errors code what is commonly occur during the client installation :
2 – The system cannot find the file specified.
5 – Access denied.
52 – You were not connected because a duplicate name exists on the network. Make sure there is not a duplicate name in DNS and that 2 machines don’t have the same IP in DNS.
53 – Unable to locate – http://support.microsoft.com/kb/920852 – cannot connect to admin$ – Computer Browser not started – add File/print sharing to Exceptions in Firewall – turn file and print on.
58 – The specified server cannot perform The requested operation
64 – The specified network name is no longer available. Source: Windows
67 – network name cannot be found.
86 – network password is not correct? Machine Name <> resolved name.
112 – Not enough disk space
120-- Mobile client on the target machine has the same version, and 'forced' flag is not turned on. Not processing this CCR ,target machine already have cm client and no force install selected(always install).
1003 – Cannot complete this function.
1053 – The service did not respond to the start or control request in a timely fashion.
1068 – The dependency service or group failed to start
1130 – Not enough server storage is available to process this command. Source: Windows
1203 – The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Please try retyping the path or contact your network administrator.
1208 – An extended error has occurred. Source: Windows
1305 - The revision level is unknown.
1396 – Logon Failure: The target account name is incorrect. (NBTSTAT -a reverse lookup, duplicate IP address)
1450 – Insufficient system resources exist to complete the requested service. Source: Windows
1789 - The trust relationship between this workstation and the primary domain failed.
2147749889 – Generic WMI failure (Broken WMI)
2147749890 – not found – Source: Windows Management (WMI) – try repair WMI
2147749904 – Invalid class – Source: Windows Management (WMI)
2147749908 – Initialization failure – Source: Windows Management (WMI)
2147942405 – Access is Denied (Firewall rule? / MacAfee-HIPS?)
2147944122 – The RPC server is unavailable. (Dcom is miss-configured for security . http://support.microsoft.com/kb/899965 )
2148007941 – Server Execution Failed
if you get other errors not listed above,you can either use net helpmsg errorvalue from the command promot or use cmtrace error look value (ref http://blog.configmgrftw.com/?p=42 and http://support.microsoft.com/kb/944375)
You can also try reporting to see how many computers having issues with the client installation.
Order By LastErrorCode
Prerequisites for Client Deployment in Configuration Manager http://technet.microsoft.com/en-us/library/gg682042.aspx
Determine the Client Installation Method to Use for Windows Computers in Configuration Manager: http://technet.microsoft.com/en-us/library/gg682191.aspx
How to Install Clients on Windows Computers in Configuration Manager –> http://technet.microsoft.com/en-us/library/gg712298.aspx
Until Then !
Pingback: SCCM Client Push Installation – System Center Configuration Manager
Are there any command line options for this tool rather than using the GUI? Or do you know any examples of how I might script this functionality myself?
sorry Jeff, i havent tried that way ,when i required to do,i always do it using GUI ,simple to use the GUI but ,there are other methods to install client to be more effective like Logon script(Jason Sandys script),OSD etc.
Hi Eswar, i have one question here regarding clientpushgenerator -> Can we provide any shared location for accessing the source file? And how much bandwidth would be required to push a single computer or 100 computers at a time?
In general how much bandwidth is consumed when we deploy sccm 2012 client agent by enabling Client Push Installation method?
Can you please help me with this asap?
using client push,you cannot provide the source location for the clients to download the content from and the possibility is (AFAIK), client can download the content from the available sites.If you use the script,you have the option to provide the source location in the ccmsetup.exe properties.
reg bandwidth,it depends on the network bandwidth speed .may be you can try this tool to calculate the bandwidth consumption http://www.paessler.com/info/bandwidth_calculator
I read the following at this link
"Client push installation starts and tracks the installation of the client by using the Configuration Manager database and no longer creates individual .CCR files. When you enable client push installation for a site, all discovered resources that are assigned to the site and that do not have a client installed are immediately added to the database, and client installation begins."
It says that the individual .CCR files are not created and I tested the Generate CCR tool but couldn't see the .CCR files in the inbox too.
Am I missing something here ?
yes,its True.In CM12,it will not create .CCR files based on the requestID only and these CCR files do not contain any information in it where as in CM07..CCR file has computer info .
All these information is now tracked in database,for which you can create reports to see what status of client push installation.