Network Device Enrollment Service (NDES) – ERROR_SERVICE_EXISTS

Ran into this doozy this week while trying to re-add the NDES role services.

The specified service already exists. 0x80070431 (WIN32: 1073 ERROR_SERVICE_EXISTS)

image

The fix is to ensure there are no lingering NDES configuration.

From Regedit, delete the following key (back it up first!)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MSCEP

Matt Shadbolt