SCCM - Build and Capture - Application installation while on PKI for workgroup clients not working

Jonathan 11 Reputation points
2021-04-13T07:27:39.68+00:00

Hello,

I'm trying to do a Build and Capture task sequence but the TS always fail at the Install Application step. This step works when the client join the domain but not on workgroup.

I already checked many forums but I'm not able to find a solution.

I found errors in the LocationService.log, it seems that the problem is because the clients don't have a certificate. I don't know how to import the certificate for workgroup clients in Build and Capture TS and if it is what I need to do.

[CCMHTTP] ERROR: URL=https://FQDN_TO_SERVER/SMS_MP/.sms_aut?SITESIGNCERT, Port=0, Options=31, Code=0, Text=CCM_E_NO_CLIENT_PKI_CERT
[CCMHTTP] ERROR INFO: StatusCode=<unknown> StatusText=

I use the following parameters to install the SCCM Client : SMSCACHESIZE=10240 SMSMP=FQDN /UsePKICert /NoCRLCheck CCMHTTPSSTATE=31 DNSSUFFIX=DOMAIN

Can you help me on this ?

Do you need to see a specific log ?

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
990 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
490 questions
0 comments No comments
{count} vote

16 answers

Sort by: Most helpful
  1. Jonathan 11 Reputation points
    2021-04-14T06:12:48.067+00:00

    Thanks for your feedback.

    I understand that it is not the recommended approach but it's time consuming to wait for every software to be installed. When you need to install 100, 300, 600 or 1000 computers on a limited time, having a reference image ready helps very much. Before the switch from HTTP to HTTPS, we used this method and it worked well.

    Do you know any solution that I can apply on our case so we can do that ?

    I know that some people join the domain instead of workgroup to install the softwares and then removes the computer from the domain before the capture step. I know that's not the better solution too but what is it possible to do ?

    How can I authenticate the client on workgroup so he can talk with the DP on a PKI environment ?


  2. Pavel yannara Mirochnitchenko 12,596 Reputation points MVP
    2021-04-14T06:39:05.48+00:00

    Sorry for offtopic, but I quit using B&C after Windows 7. With Win10 I use native install.wim. Patches could be done with offline servicing. Unless you need a thick image and fastest install times, I would give up on B&C :)

    0 comments No comments

  3. Jonathan 11 Reputation points
    2021-04-14T07:52:43.63+00:00

    Hi @Pavel yannara Mirochnitchenko , thanks for your message.

    I understand your point of view but on our case it is not always possible :-/

    0 comments No comments

  4. Jonathan 11 Reputation points
    2021-04-15T13:55:44.48+00:00

    Thanks @Jason Sandys for your advices. I know and I agree with you that it is not clean to do that and I always try to do the things as clean as possible. I'm looking for the solution since many days and I was trying to find a temporary solution for now. So I came here to try to understand why it is not working and solve this on a clean manner.

    Is it possible to share the logs privately to you ?

    There is the configured DP certificate :

    88266-dp1.png
    88205-dp2.png
    88215-dp3.png
    88253-dp8.png
    88254-dp10.png

    Distribution Point properties :

    88234-dp-properties.png

    Site properties :

    88222-site.png

    0 comments No comments

  5. Jason Sandys 31,306 Reputation points Microsoft Employee
    2021-04-15T20:26:52.58+00:00

    You need to check the enhanced key usage. For the cert template, assuming that is the one used to issue the cert, that'll be on the extensions tab/page. Alternatively, it's an attribute on the certificate itself.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.