Cannot install RDS-Web-Access

11,077

Solution 1

So I managed to resolve this by doing another clean install and then using the command below to install. Not sure why it worked this time.

add-windowsfeature rds-web-access -source f:\sources\winxsx

Solution 2

Some things to check:

  • Make sure there are no entries in HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations. If there are, reboot to get them processed. Or do the renames manually and delete them.
  • Run DISM /Online /Cleanup-Image /RestoreHealth to clean up the component store.
  • Don't install on a Domain Controller.
Share:
11,077

Related videos on Youtube

Sam Cogan
Author by

Sam Cogan

I'm a Cloud Architect and Microsoft Azure MVP, focused on providing architecture and technical solutions for cloud based SaaS projects using Azure. I'm particularly focused on areas around cloud automation and deployment, devops, configuration management, along with high performance and grid computing in the cloud. I blog about Azure and cloud related topics at samcogan.com

Updated on September 18, 2022

Comments

  • Sam Cogan
    Sam Cogan over 1 year

    I'm trying to install the remote desktop web access role in server 2012, a simple task you might think, however whenever I try to do this, I get this error:

    add-windowsfeature : The request to add or remove features on the specified server failed.
    Installation of one or more roles, role services, or features failed.
    The specified module could not be found. Error: 0x8007007e
    At line:1 char:1
    + add-windowsfeature rds-web-access
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
        Exception
        + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
       owsFeatureCommand
    

    This is from trying to install via powershell, but I get the same error via the GUI and using DISM.

    This is a fresh out of the box server 2012 server. I have wiped and re-installed windows to no avail. I have tried using Dism with the sources switch to point to the 2012 media, same issue. The server is connected to a WSUS server for updates, but I have added the registry keys so that it can use Windows Update for any feature content it needs, I have also moved it to not use the WSUS server and go straight to Windows update, same issue.

    Other features install fine (RD gateway for example) but I cannot get RD web access to install. I have also manually installed all the pre-req components (iis, asp.net 4.5 etc) and the error still occurs.

    Any suggestions greatly appreciated.

  • Sam Cogan
    Sam Cogan almost 11 years
    Thanks, I didn't know about point one, will check that now, however I have reboot a number of times. I've run the cleanup, and its not a DC, its a plain member server.