Solve WSUS error: Unable to open the physical file “C:\Windows\WID\Data\SUSDB.mdf”

If for some reason during the first initialization of the WSUS you get this error because the SUSDB database is missing you can fix it by removing the WSUS Role from the Server Manager Dashboard, and also remove the internal Windows database using this command in Powershell:

uninstall-windowsfeature -name windows-internal-database

After a reboot install the WSUS Role again and you’re done.