다음을 통해 공유


Deploying SCCM 2012 R2 Clients Using Group Policy

In this article we will see the steps for Deploying SCCM 2012 R2 Clients Using Group Policy. If you are planning to deploy SCCM 2012 R2 clients using group policy then you must make sure that in the client push installation properties, Enable Automatic site wide client push installation is not checked. If this is checked then the client would get installed on all the systems after its discovery. So first uncheck the option Enable Automatic site wide client push installation and proceed.

We will create a new policy first, click on Server Manager, click on Tools, click Group Policy Management. Right click on domain and create a new policy, we will name it as Deploying SCCM 2012 R2 Client. Right click on the policy that is created and click Edit.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap1.jpg

Expand Computer Configuration, Policies and right click on Administrative Templates and click on Add/Remove Templates.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap2.jpg

You can add the templates by clicking on ADD. The Configuration Manager templates can be found in SourceDVD\SMSSETUP\TOOLS\ConfigMgrADMTemplates or you can also add it from <Drive>:\Program Files\Microsoft Configuration Manager\tools\ConfigMgrADMTemplates. You need to add 2 templates ConfigMgrAssignment and ConfigMgrInstallation. Click on Close.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap3.jpg

Expand Administrative Templates, Classic Administrative Templates, Configuration Manager 2012, Configuration Manager 2012 Client. We see on the right pane that both the templates have been added but they not configured yet.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap4.jpg

Right click on Configure Configuration Manager 2012 Site Assignment template and click edit. Click Enabled to enable the policy, under Options specify Assigned Site code, Site Assignment Retry Interval to 5 minutes, Site Assignment Retry Duration to 1 hour (You can also choose to leave the options to default except site code). Click OK.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap5.jpg

Right click Configure Configuration Manager 2012 Client Deployment Settings and click on Enabled. Under options specify the installation properties for CCMSetup file.  In our case I have used following installation command CCMSetup.exe SMSSITECODE=IND FSP=SCCM.PRAJWAL.LOCAL MP=SCCM.PRAJWAL.LOCAL

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap6.jpg

Under Computer Configuration expand Policies, Software Settings. Right click Software Installation and click New -> Package.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap7.jpg

The ccmsetup.msi can be found in **SOURCEDVD\SMSSETUP\BIN\I386 (**SourceDVD Is the SCCM 2012 .ISO file). Copy the ccmsetup.msi in a folder (Create a new folder on SCCM Server) and share it with permissions Read-only for Everyone. Browse the file ccmsetup.msi to the folder that you created and Select the deployment method as Assigned. Click OK.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap8.jpg

When you click on Software installation you should see the name of the Package, its Version, Deployment Status and Source. You can now close the GPMC.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap9.jpg

You can choose to apply this policy at domain level or at OU level. If you apply it at domain level then every computer in you domain will get the SCCM 2012 R2 client installation on next reboot. I have created a OU called Windows Systems which consists of client computers. To link the policy to this OU, right click on OU Windows Systems, click Link an existing GPO, choose the GPO Deploying SCCM 2012 R2 Client and click OK.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap10.jpg

You need to perform gpupdate on domain controller first and then on client machines. Reboot the client machine and after you login to client machine the configuration manager 2012 R2 client installation begins. You can see the cmmsetup.exe *32 on one the client machines in the below screenshot.

http://prajwaldesai.com/wp-content/uploads/2013/12/Deploying-Configuration-Manager-2012-R2-Clients-Using-Group-Policy-Snap11.jpg