Q: I'm trying to install applications on my Windows Server 2012 Remote Desktop Session Host, but the installation fails with an incorrect mode error. What can I do?

A: To install applications on a Remote Desktop Session Host (RDSH), you should change the mode to installation mode, install the applications, then change the mode back to execute mode. To change modes, run the following commands:

C:\Windows\system32>change user /install
User session is ready to install applications.

C:\Windows\system32>change user /execute
User session is ready to execute applications.

To check which mode you're currently in, run:

change user /query