Configuration Manager Current Branch and Windows 10 1607

1607

Some useful information that can help determine if you are on the correct version to deploy Windows 10 1607.

Configuration Manager and the Windows ADK for Windows 10, version 1607

configmgrfaq2new

 

 

Configuration Manager Post In-place OS upgrade, CreateMedia.exe finished with error code 80004005

Another short post to highlight an issue after performing an In-place OS upgrade from Windows Server 2008 R2 to Windows Server 2012 R2 – Configuration Manager 1602

When attempting to create standalone media on a remote console, the error below was displayed in the CreateTsMedia.log 

Retrieving info for package H0100143.4

Content library is on remote system ‘SiteServer’
Cannot connect to remote registry on ‘SiteServer’ (frequent cause is remote registry service is not running) 
Trying to use WMI to read from the remote registry.
Failed to open to WMI namespace ‘SiteServer\root\default’ (80041003)
Unable to open WMI namespace ‘SiteServer\root\default’ (0x80041003)
Failed to connect to namespace ‘root\default’ needed to read remote registry values. The user who creates media has to be local administrator on remote DP on ‘SiteServer’ which contains media content.
Content library location could not be found.
Omitting package source ‘SiteServer’ because content library location or its usable drives cannot be read from registry of ‘SiteServer’
CreateMedia.exe finished with error code 80004005 

As you can see, the process is unable to read the content library location from the registry.

Content library location could not be found.
Omitting package source ‘SiteServer’ because content library location or its usable drives cannot be read from registry of ‘SiteServer’

After a while of troubleshooting, I discovered that the remote registry access had been removed from the below registry string, this entry bypasses restrictions for remote services.

remote-registry Once I restored this entry the process was able to complete on a remote console.

Further information about access to remote registry here 

Error opening remote console after Configuration Manger in place OS upgrade

Quick post about issues connecting to site with remote console after upgrading the server OS from Windows 2008 R2 to Windows Server 2012 R2

After the upgrade all remote console were unable to connect to the site

console-error

After reviewing the SMSAdminUI.log  on one of the remote devices, there were access denied errors.

\r\nSystem.Management.ManagementException\r\nAccess denied \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
:System.Management.ManagementException\r\nAccess denied \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)

I granted one user local admin rights to the SCCM server, which was hosting the SMS Provider and the console access was restored.

I reviewed the DCOM permissions which were fine, however, the WMI permissions for the SMS Admins group were missing!

I check the WMI permissions using wmimgmt.msc and added the required permissions

wmi.PNG

and

wmi1.PNG

I removed the local admin permissions and tested again. Console access was working again

More detail

In order to access a local or remote SMS Administrator console, users must be members of the SMS Admins local group. The SMS Admins group is explicitly granted Enable Account and Remote Enable on the Root\SMS namespace. The SMS Admins group provides its members with access to the SMS Provider, through WMI. Add Users to the SMS Admins group when they need to access the SMS Administrator console, but do not have to be Local Administrators

Console access troubleshooting

https://support.microsoft.com/en-us/kb/317872

 

Clients not communicating with MP after in place OS upgrade – Configuration Manger 1602

After in place OS upgrade Windows 2008 R2 to Windows 2012 R2 the Configuration Manager MP and clients communication was not working.

A site reset did not resolve this issue

Useful errors 

During the OS upgrade the SMS folder in the cert store gets removed until the ConfigMgr services are restarted and then its gets recreated. After time some of the certs com back but not them all.

This is how the cert store looked before the OS upgrade. The Site server, Site system identification and SMS Provider certs were recreated, but the other were not.

certs

MP logs

MP_Policy.log

CHandlePolicyAssignmentRequest::CreatePolicyRequestStagingFile: cannot create or find policy request file        MP_PolicyManager        7/12/2016 10:08:22 PM        8772 (0x2244)

CHandlePolicyAssignmentRequest::Execute(): CreatePolicyRequestStagingFile() failed with error: 0x80070020.

MP_PolicyManager        7/12/2016 10:08:22 PM        8772 (0x2244)

CPolicyManagerHandler::HandleMessage(): SetComplete(DISCARD) called.        MP_PolicyManager        7/12/2016 10:08:22 PM        8772 (0x2244)

 Client logs

 Locationservices.log

Failed to verify message. Sending MP [MP server] not in cached MPLIST.        LocationServices        12/07/2016 13:10:38        24440 (0x5F78)

MPLIST requests are throttled for 00:26:05        LocationServices        12/07/2016 13:10:38        24440 (0x5F78)

Failed to send web service info Location Request Message        LocationServices        12/07/2016 13:10:38        18512 (0x4850)

Failed to verify message. Could not retrieve certificate from MPCERT.        LocationServices        12/07/2016 13:10:38        24440 (0x5F78)

MPCERT requests are throttled for 00:04:50        LocationServices        12/07/2016 13:10:38        24440 (0x5F78)

Failed to verify message. Sending MP [MP server] not in cached MPLIST.        LocationServices        12/07/2016 13:10:38        24440 (0x5F78)

MPLIST requests are throttled for 00:26:05        LocationServices        12/07/2016 13:10:38        24440 (0x5F78)

Failed to send web service info Location Request Message        LocationServices        12/07/2016 13:10:38        18512 (0x4850)

LocationServices::CCMVerifyServiceSignature: Unable to refresh Web Service MP server certificate        LocationServices        12/07/2016 13:10:38        18512 (0x4850)

LocationServices::VerifyDataSignature: Overall signature verification failed – 0x87D00309; checking if status message should be sent.        LocationServices        12/07/2016 13:10:38        18512 (0x4850)

Failed to verify message. Could not retrieve certificate from MPCERT.        LocationServices        12/07/2016 13:11:19        24232 (0x5EA8)

Attempting to refresh certificate information from AD LocationServices 12/07/2016 13:41:19 17684 (0x4514)
Failed to refresh certificate information from AD LocationServices 12/07/2016 13:41:19 17684 (0x4514)
Failed to verify Certificate with error 0x80070057. LocationServices 12/07/2016 13:41:19 17684 (0x4514)

Cause

After the OS upgrade some of the Site server certs were missing !

SMS Signing Certificate

SMS SMP Encryption Certificate

SMS Encryption Certificate

Resolution

Restore the certs from backup, reboot the server and wait for 1-2 hours ! 🙂

You should see the client side locationservices log

Attempting to refresh certificate information from AD LocationServices 12/07/2016 14:01:19 22964 (0x59B4)
Refreshed Certificate Information from AD LocationServices 12/07/2016 14:01:19 22964 (0x59B4)
Retrieved thumbprints from AD LocationServices 12/07/2016 14:01:19 22964 (0x59B4)
Successfully stored new Site Server Signing Certificate… LocationServices 12/07/2016 14:01:20 20400 (0x4FB0)
Name : Site Server LocationServices 12/07/2016 14:01:20 20400 (0x4FB0)
Thumbprint : D9B1FFFA03C94CB5BAE4A94E16D8A4E523826918 LocationServices 12/07/2016 14:01:20 20400 (0x4FB0)
Valid From: 2016-07-05, 15:21 LocationServices 12/07/2016 14:01:20 20400 (0x4FB0)
Valid To : 2116-06-12, 15:21 LocationServices 12/07/2016 14:01:20 20400 (0x4FB0)
Refreshed Site Signing Certificate over AD LocationServices 12/07/2016 14:01:20 20400 (0x4FB0)