We were able to solve it by installing some missing CA role features, not configuring the CA since we don't want it anymore and then removing the role.
Error removing Certificate Authority role
We had a server with Server 2008 R2 on it. It used to be a certificate authority on the domain. We removed this role from the server, restarted a few times and then did an in-place upgrade on this server to 2012 R2. When the server came back online the CA role had returned but shows in a failed state.
We ran sfc /scannow and it reports no issues.
If we try to remove the role with server manager or via powershell with Remove-WindowsFeature -Name AD-Certificate we get the error:
"A prerequisite check for the AD-Certificate feature failed. 1. The status of the role services on the target machine could not be determined. Please retry. The error is The term 'Get-InternalAdcsConfigurationState' is not recognized as the name of a cmdlet."
Windows for business | Windows Server | Devices and deployment | Configure application groups
2 additional answers
Sort by: Most helpful
-
Anonymous
2020-12-01T23:36:06.993+00:00 In-place upgrades are risky and never recommended because of (among other thing) corruption carry-forward. The cleaner much simpler method is to stand up a new one for replacement.
I'd use dcdiag / repadmin tools to verify health
correcting all errors found
before startingany
operations. Then stand up the new 2019, patch it fully, license it, join existing domain, add active directory domain services, promote it also making it a GC (recommended), transfer FSMO roles over (optional), transfer pdc emulator role (optional), use dcdiag / repadmin tools to again verify health, when all is good you can decommission / demote old one.Then at some point either after (if not already done) I'd recommend migrating sysvol replication from older FRS technology to DFSR
https://techcommunity.microsoft.com/t5/Storage-at-Microsoft/Streamlined-Migration-of-FRS-to-DFSR-SYSVOL/ba-p/425405--please don't forget to Accept as answer if the reply is helpful--
-
Vicky Wang 2,741 Reputation points
2020-12-02T09:13:49.987+00:00 Hi,
If you have already installed the Active Directory Certificate Services (AD CS) before promoting the computer to a Domain Controller, you will have to remove the Certificate Services role first, and then add the AD DS role again.
If the Certificate Service was removed, no certificate can be issued and certificate revocation lists (CRLs) cannot be published.
I would suggest you first follow the steps in this KB article to move a certification authority to another server, then remove the AD CS role and promote the computer to a Domain Controller:
https://support.microsoft.com/en-us/kb/298138
Hope this helps.
Regards,
Vicky