Turn Off Windows Installer RDS Compatibility using Powershell RRS feed

  • Question

  • Hello

    I have an application to install on multiple remove servers.  We typically do this using a remote connection to the servers through PowerShell and then have each server run a batch file stored under a shared network UNC path.

    This particular application fails to install unless we turn off Windows Installer RDS Compatibility manually in advance via the GUI which kind of defeats the whole purpose of automating these installs. 

    The manual method we do by following these steps on our 2012 R2 test server:

    1. Type gpedit.msc, and then press Enter.
    2. Select Computer Configuration. 
    3. Select Administrative Templates.
    4. Select Windows Components.
    5. Select Remote Desktop Services.
    6. Select Remote Desktop Session Host.
    7. Select Application Compatibility. 
    8. Double-click Turn Off Windows Installer RDS Compatibility, and set it to Enabled.

    Since I really hate the idea of logging into 100+ Citrix servers to change this setting one server at a time, I’d love to be able to do this with PowerShell.

    I am thinking we change this setting to “Enabled”, run our install and then change the RDS setting back to “Not Configured” one server after another.

    Any chance someone can educate me on how to change the RDS setting with PowerScript or even some other scripting language supported by 2012 R2

    Thanks in advance..

    • Moved by Bill_Stewart Thursday, January 3, 2019 3:53 PM User should use GPO
    Friday, November 2, 2018 7:22 PM

All replies

  • Use Group Policy to do this.  It is the same steps but on the DC using GPMC.

    Post in GP forum for help.


    Friday, November 2, 2018 7:37 PM