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 to run the MsiExec.exe on the MSI file.
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 development 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 so long as it is supported by 2012 R2
Thanks in advance..