While building my first Domain Joined Windows 10 RTM system I discovered that the System Center Configuration Manager 2012 R2 client would not install. After reviewing the installation log, I discovered that the error code was "0x80070307". After a little research I discovered that this is due to SCCM trying to install the Windows Update Agent on the Windows 10 machine that is either already there or is older than the one on Windows 10 out of the box. The work around was simple, but it did not address Group Policy Deployments which, in the past, were not Operating System specific, rather they were just a blanket policy that covered everything.
The answer, copy my existing SCCM deployment GPO, modify the installation command, create WMI filters for the Operating Systems and apply the WMI filters to the GPO's.
Here is the step by step:
- In GPMC, navigate to "Group Policy Objects" and locate your SCCM deployment GPO.
- Right click your existing SCCM deployment GPO and choose "Copy".
- Move back up to the "Group Policy Objects" folder object and right click it, then chose "Paste".
- Find your "Copy of..." and rename it appropriately.
- Right click the new GPO and choose "Edit".
- Navigate to: "Computer Configuration > Policies > Administrative Templates ... > Classic Administrative Templates (ADM) > Configuration Manger 2012 > Configuration Manger 2012 Client > Configure Configuration Manger 2012 Client Deployment Settings.
- Under "Options", copy your existing string to notepad. It may look something like this:
CCMSetup.exe SMSSITECODE=**** FSP=****.net MP=****.net
- Modify your string so that is now looks like the below:
CCMSetup.exe /skipprereq:windowsupdateagent30-x64.exe SMSSITECODE=**** FSP=****.net MP=****.net
- Close the editor.
- In GPMC, navigate to "WMI Filters".
- In the right pane, right click and choose "New".
- Name your WMI Filter "Windows 10 OS" and click the "Add" button.
- Leave the "Namespace" as it is (root\CIMv2).
- In the Query box type:
select * from Win32_OperatingSystem where Version like "10.%"
- Click "OK".
- In the right pane, right click and choose "New".
- Name your WMI Filter "Windows OS pre 10" and click the "Add" button.
- Leave the "Namespace" as it is (root\CIMv2).
- In the Query box type:
select * from Win32_OperatingSystem where Version like "6.%" or Version like "5.%"
*note: this will get Vista-8.1 and 2003-2012R2
- Click "OK", you should now see your two new WMI filters.
- Go back to "Group Policy Objects" and locate both your old and your new SCCM GPO's.
- Left click each GPO and on the very bottom of the "Scope" tab, choose your WMI filter for the appropriate Operating System, repeat for both GPO's.
- Lastly, assign your new Windows 10 GPO to the appropriate OU(s).
Next you can confirm that your WMI settings are working on each OS type:
- Shift+Right click CMD and chose "Run and Administrator"
- Type "gpupdate / force"
- Type "gpresult /z >> c:\temp\log.log
- Review the logs on each to make sure, they should look something like the below:
Now that you have confirmed that your new GPO with WMI filter is applied, simply reboot your Windows 10 computer and re-check your ccmsetup status.You should see "Configuration Manger" in control panel within a few second of your reboot. If not, review logs.
Thanks!
Posted by
Mike Wright