We consistently get this error dialog if the awhost32.exe service is started *after* an RDP session is established.
Most of the time, the awhost32.exe service is already running when a user starts an RDP session. However, there are a few times when the RDP session is already established, and the awhost32.exe service is stopped and restarted. It will fail to start, complaining with the "The Host cannot run in a remote terminal services session. Please run the host locally at the server" error.
Am looking for a way to supress this error since it's not of significant consequence (to us) if the service is not running until a request for support is submitted. Since first level of support will ask the user to reboot, the service will have started during the boot process, and will be running by the time second level support takes over.
We'd like to suppres the error dialog, however, because of the number of calls it generates to our helpdesk.
I also found this that suggests creating a scheduled task to restart the service when an RDP session is terminated.
http://service1.symantec.com/SUPPORT/on-technology.nsf/293a5302ae81e39288256ebb0049cfe7/293b8a400b09c4cd88257348007d4b89?OpenDocument