Hello,
Would you please restart the server and then re-install the role?
What kind of database did you choose? WID? Please expand path C:\windows\WID\Data and check whether susdb.mdf is created.
To reinstall WSUS, you may first remove WID. The WID database can be removed by uninstalling the Windows Internal Database feature.
You will also need to manually delete the file C:\windows\WID\Data\susdb.mdf before re-installing everything again.
Regards,
Yan Li
Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.