Clients not registering: RegTask: Failed to send registration request message. Error: 0x87d00231

Copper Contributor

Hi,

I'm having this problem for a few devices out of 1100 

ClientIDManagerStartup.log:

 

 

Begin validation of Certificate [Thumbprint 127C6F2FCDB446D5704DA430A14F49FFA0863653] issued to 'PC001600.xxxxx.priv'	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
Completed validation of Certificate [Thumbprint 127C6F2FCDB446D5704DA430A14F49FFA0863653] issued to 'PC001600.xxxxx.priv'	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
Begin validation of Certificate [Thumbprint 9AAB56656411E505D6F3135C57069212C354AB9F] issued to 'PC001600.xxxxx.priv'	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
Completed validation of Certificate [Thumbprint 9AAB56656411E505D6F3135C57069212C354AB9F] issued to 'PC001600.xxxxx.priv'	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
>>> Client selected the PKI Certificate [Thumbprint 127C6F2FCDB446D5704DA430A14F49FFA0863653] issued to 'PC001600.xxxxx.priv'	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
Raising event:
instance of CCM_ServiceHost_CertRetrieval_Status
{
	DateTime = "20221108164809.724000+000";
	HRESULT = "0x00000000";
	ProcessID = 988;
	ThreadID = 5760;
};
	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
Status Agent hasn't been initialized yet. Attempting to create pending event.	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
Raising pending event:
instance of CCM_ServiceHost_CertRetrieval_Status
{
	DateTime = "20221108164809.724000+000";
	HRESULT = "0x00000000";
	ProcessID = 988;
	ThreadID = 5760;
};
	ClientIDManagerStartup	08/11/2022 5:48:09 PM	5760 (0x1680)
GetSystemEnclosureChassisInfo: IsFixed=TRUE, IsLaptop=FALSE	ClientIDManagerStartup	08/11/2022 5:48:12 PM	5540 (0x15A4)
Computed HardwareID=2:3D3E863D34AE6E8FE551E113E545F42765B186DC
	Win32_SystemEnclosure.SerialNumber=S4CJ9607
	Win32_SystemEnclosure.SMBIOSAssetTag= 
	Win32_BaseBoard.SerialNumber=                    
	Win32_BIOS.SerialNumber=S4CJ9607
	Win32_NetworkAdapterConfiguration.MACAddress=6C:4B:90:01:40:B5	ClientIDManagerStartup	08/11/2022 5:48:12 PM	5540 (0x15A4)
[RegTask] - Client is not registered. Sending registration request for GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53 ...	ClientIDManagerStartup	08/11/2022 5:48:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request message. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:48:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:48:12 PM	5540 (0x15A4)
[RegTask] - Sleeping for 60 seconds ...	ClientIDManagerStartup	08/11/2022 5:48:12 PM	5540 (0x15A4)
[RegTask] - Client is not registered. Sending registration request for GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53 ...	ClientIDManagerStartup	08/11/2022 5:49:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request message. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:49:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:49:12 PM	5540 (0x15A4)
[RegTask] - Sleeping for 60 seconds ...	ClientIDManagerStartup	08/11/2022 5:49:12 PM	5540 (0x15A4)
[RegTask] - Client is not registered. Sending registration request for GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53 ...	ClientIDManagerStartup	08/11/2022 5:50:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request message. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:50:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:50:12 PM	5540 (0x15A4)
[RegTask] - Sleeping for 120 seconds ...	ClientIDManagerStartup	08/11/2022 5:50:12 PM	5540 (0x15A4)
[RegTask] - Client is not registered. Sending registration request for GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53 ...	ClientIDManagerStartup	08/11/2022 5:52:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request message. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:52:12 PM	5540 (0x15A4)
RegTask: Failed to send registration request. Error: 0x87d00231	ClientIDManagerStartup	08/11/2022 5:52:12 PM	5540 (0x15A4)
.......
[RegTask] - Client is not registered. Sending registration request for GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53 ...	ClientIDManagerStartup	09/11/2022 8:16:26 AM	6728 (0x1A48)
RegTask: Failed to send registration request message. Error: 0x87d00231	ClientIDManagerStartup	09/11/2022 8:16:26 AM	6728 (0x1A48)
RegTask: Failed to send registration request. Error: 0x87d00231	ClientIDManagerStartup	09/11/2022 8:16:26 AM	6728 (0x1A48)
[RegTask] - Sleeping for 15360 seconds ...	ClientIDManagerStartup	09/11/2022 8:16:26 AM	6728 (0x1A48)

 

 

In CcmMessaging.log:

 

 

Raising event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.379000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x00000000";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Status Agent hasn't been initialized yet. Attempting to create pending event.	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Raising pending event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.379000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x00000000";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Raising event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.488000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x00000000";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Status Agent hasn't been initialized yet. Attempting to create pending event.	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Raising pending event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.488000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x00000000";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Raising event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.597000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x00000000";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Status Agent hasn't been initialized yet. Attempting to create pending event.	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Raising pending event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.597000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x00000000";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Failed in WinHttpSendRequest API, ErrorCode = 0x5	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
[CCMHTTP] ERROR: URL=https://MECM.xxxxx.priv/ccm_system_windowsauth/request, Port=443, Options=63, Code=5, Text=<null>	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
[CCMHTTP] ERROR INFO: StatusCode=<unknown> StatusText=	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Raising event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.691000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x80070005";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Status Agent hasn't been initialized yet. Attempting to create pending event.	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Raising pending event:
instance of CCM_CcmHttp_Status
{
	ClientID = "GUID:DC6BD6AA-4552-4BCE-B48E-F07D3CCCFB53";
	DateTime = "20221109071626.691000+000";
	HostName = "MECM.xxxxx.priv";
	HRESULT = "0x80070005";
	ProcessID = 1732;
	StatusCode = 0;
	ThreadID = 6728;
};
	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Successfully queued event on HTTP/HTTPS failure for server 'MECM.xxxxx.priv'.	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)
Post to https://MECM.xxxxx.priv/ccm_system_windowsauth/request failed with 0x87d00231.	CcmMessaging	09/11/2022 8:16:26 AM	6728 (0x1A48)

 

 

I don't find any clue to this.

Infrastructure:

- One single MECM server hosting DB / MP / DP / EndPojnt Protection / RSP roles

- HTTPS only mode

- 2207 Current Branch + KB15599094

- No relation to Azure / Intune - No co-management

 

Here's what I've tried / checked:

- HTTPS access from computer to MECM --> OK

- HTTP/LDAP access from computer to crl --> OK

- Access from computer to the PKI server --> OK

- Checked the computer was not on metered connection --> OK

- Removed MECM client from this device (PC001600)

- Removed any remaining files and directories on PC001600 (SMSCFG.ini / CCM / ccmsetup)

- Removed reg keys in HKLM:\SOFTWARE\Microsoft\SystemCertificates\SMS\Certificates

- Removed PC001600 from MECM

- Looked for the MAC address and GUID in MECM DB --> nothing

- System discovery brought back the device; MECM client was automatically pushed and installed without any problem, but it's not registering with the above errors.

To validate the MP:

- Installed a new W10 computer / added to the domain

- Left system discovery do the job

- MECM client was automatically pushed to the device, and it registered correctly in MECM.

==> I assume there's no problem with the MP.

 

Can someone help me with this please?

Thanks

2 Replies
Hi, we are having a similar issue with our Internet-based clients through a CMG. Did you ever resolve this. I see you had as much luck getting help as I did. :)
How did the issue start? Were there any changes in the infrastructure? Is the client certificate using the right thumbprint? Anything in the IIS logs of the MP?