Last updated: July 24, 2026
This guide helps administrators validate and secure the NDES certificate template used for issuing SCEP certificates to mobile devices. It covers identifying the template via the Windows registry, reviewing its Security tab to ensure only the NDES service account has Enroll permissions, restarting IIS to apply changes, auditing issued certificates to confirm they were requested only by the NDES account, revoking any unauthorized certificates, and confirming the AD CS template review in the MDM console.
When integrating ADCS certificate templates into MDM to deploy user certificates to mobile devices, it is important to review the PKI deployment and certificate template permissions to ensure that certificates are issued only for authorized purposes and through authorized sources. The following steps will help validate that your existing ADCS certificate templates are securely configured.
Identify the Template Used by NDES
regedit.exe) and navigate to:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MSCEP
Open the Certificate Templates Console and Locate the Template
certsrv.msc).
Validate Security Permissions

Apply the Updated Permissions
Restart IIS to Apply Changes
For more information on securing NDES certificate templates, refer to the official Microsoft documentation .
After confirming that the NDES template is correctly configured and restricted, audit the Certification Authority to ensure certificates are issued only to the NDES service account.
Open the Certification Authority Console

Validate the Requester Account
For each certificate issued using the NDES template:

If certificates were requested by any users other than the intended NDES account, then the template permissions are overly permissive. Investigate and address immediately.
Revoke Unintended Certificates
If any unissued certificates are found:

This prevents unauthorized certificates from being used for authentication or enrollment.
Review the AD CS certificate template permissions configured for the SCEP protocol to ensure they align with the recommended security settings. Once the review is complete, proceed to the CA server configuration to confirm the review.
Steps to confirm the AD CS certificate permission configuration

On the Modify page, the AD CS Validation Consent checkbox is displayed for confirming the review.

Select the AD CS Validation Consent checkbox to confirm that the AD CS template review has been completed, and then click Save.
Open Registry Editor (regedit.exe) and check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MSCEP for the EncryptionTemplate, GeneralPurposeTemplate, and SignatureTemplate values - the Data column shows the template name (e.g., ndestemp).
Open the template's Properties in the Certificate Templates console, review the Security tab, and ensure only the NDES service account has Enroll permissions - remove Enroll/Autoenroll access from broad groups like Domain Users or Authenticated Users, then restart IIS to apply the change.
In the Certification Authority console, check Issued Certificates and verify the Requester Name matches the NDES service account for every certificate issued from the template; revoke any certificate requested by anyone else and choose a revocation reason.