Hi @Hamid Azeez,
1, It's hard to find the cause of the error with the only log entry, please check the ccmsetup.log to see if there is any more useful information.
2, Are you using https for client connections? If so, please run MMC and navigate to Certificates (Local Computer)> Personal >Certificates to see if your device already has a client certificate?
Besides, about client installation error 0x8004100e in HTTPS environment this similar article for your reference:
ConfigMgr Client installation issues in HTTPS environment – Endpoint Focus
Note: Microsoft provides third-party contact information to help you understand the problem. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
3, Please help check if the following logs have been created? If so, please help check if there are any error for our reference.
4, Whether all devices cannot be installed the client?
Looking forward to your reply.