"certutil -oid <oid> delete" not working for custom application policy
I tried adding a new OID via certificate templates management -> application policy.
The new OID details that was added as per below.
Name: netscape-comment
OID: 2.16.840.1.113730.1.13
- Now I wish to remove it and recreate it but unfortunately this seems not to work.
Things I've tried:
certutil -oid 2.16.840.1.113730.1.13 delete
Stopped EnterpriseCA service, tried certutil command again then started EnterpriseCA service. -> No luck
Used the command with "-delete" (ie. instead of just "delete") - No luck.
Command Output:
C:\WINDOWS\system32>certutil -oid 2.16.840.1.113730.1.13 delete
2.16.840.1.113730.1.13 -- Netscape Comment (netscape-comment)
pwszName = Netscape Comment CRYPT_EXT_OR_ATTR_OID_GROUP_ID (6)
dwValue = 0
2.16.840.1.113730.1.13 -- Netscape Comment (netscape-comment)
pwszName = netscape-comment CRYPT_ENHKEY_USAGE_OID_GROUP_ID (7)
dwValue = 0 No display names
CertUtil: -oid command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: The system cannot find the file specified.
ADSI Edit -> Config -> Services -> Public Key Services -> OID -> Search for OID starting from number 3 -> Not found.
ldp.exe (same as per ADSI Edit).
regedit -> search for "netscape-comment" -> Nothing found.
I'm at a loss - help?
Rel. screenshots.