Hi,
Thank you for posting in our forum!
According to my research for this error message, For some roles and features (Hyper-V, Print and Document Services, AD LDS), this error can occur after installation.
Removing the LDS roles may solve the problem. Please run this powershell command as administrator and reboot:
Remove-WindowsFeature ADLDS
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com