Hello
Thank you for your question and reaching out.
Install the DP role once more after uninstalling it and formatting the drive
if there is nothing else on it.
If the error persists after installing the DP role, Please examine if the server has "Install IIS 6 WMI Compatibility" installed. Under server roles > Web server > management tools > IIS 6 management compatibility, you can verify that.
--If the reply is helpful, please Upvote and Accept as answer--