1

I am having trouble installing Remote Desktop Services after upgrading from Server 2012 to Server 2019. I had Remote Desktop Services installed on 2012, but the rds-web-access role was not functioning. I tried to remove all remote desktop roles and start over, but the rds-web-access roles keeps failing when I try to install using Install-WindowsFeature RDS-Web-Access -IncludeAllSubFeature:

  • Install-WindowsFeature RDS-Web-Access -IncludeAllSubFeature
  • + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
    Exception
    + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
    owsFeatureCommand
    

I have tried the following:

  • Installing with Server Manager GUI
  • DISM /Online /Cleanup-Image /RestoreHealth
  • DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /limitaccess
  • sfc /scannow
  • Install-WindowsFeature RDS-Web-Access -source D:\sources\install.wim

Each time I am met with the above error. sfc /scannow keeps telling me that it found corrupted files and have successfully repaired them, even when I run sfc /scannow right after it claims to repair them, it tells me that it found corrupted files again.

The last few entries on my cbs log after attempting to install rds-web-access look like this: https://pastebin.com/GANeWPzd

The only way I got the install to succeed is if I install "Install-WindowsFeature RDS-RD-Server -IncludeAllSubFeature" before I install the rds-web-access role. If I do that though it requires a reboot and the install fails during the reboot and it will revert the changes.

Everything else, including Windows Updates, seems to be working fine. Any help or guidance is greatly appreciated.

Thanks!

Intrepid
  • 163
  • 1
  • 5
  • 13

1 Answers1

2

I was able to resolve this by performing a clean install of IIS using the steps in this guide: https://blogs.msdn.microsoft.com/friis/2017/01/16/how-to-perform-a-clean-reinstallation-of-iis/

I then had to delete the URL acl. You can view your acls with this command:

netsh http show urlacl

And delete:

netsh http delete urlacl http://+:80/ netsh http delete urlacl https://+:443/

Intrepid
  • 163
  • 1
  • 5
  • 13