I am attempting to install WSUS on one of my Windows Server 2012 R2 boxes and keep running into the same issue.
I've logged onto the server, "Add Roles and Features" and all that, and at the very end it fails because the server requires a restart. Restarted server and re-attempted. Failed again.
I've logged onto the server and ran the cmdlet "Install-WindowsFeature Update Services" from PowerShell as an Admin. Same error message produced.