Error: "The host cannot run in a remote terminal services session. Please run the host locally at the server."
|Article:TECH109910|||||Created: 2007-01-30|||||Updated: 2012-09-07|||||Article URL http://www.symantec.com/docs/TECH109910|
pcAnywhere (PCA) host service cannot be restarted via remote desktop session.
Restart PCA service via Remote desktop
Login to a Termial server session or use Remote desktop to login to a Windows system and recieve this error.
Start pcAnywhere host on a Windows system that has additional remote control software loaded.
Additionally for pcAnywhere Solution
After making an Remote Desk Top (RDP) connection to a host the error "The host cannot run in a remote terminal services session. Please run the host locally at the server." may be displayed each time a policy is tried to be applied until the host service is rebooted.
- "The host cannot run in a remote terminal services session. Please run the host locally at the server."
- "Could not start the Symantec pcAnywhere Host Service service on the local computer."
- "Error 1053: The service did not respond to the start or control request in a timely fashion."
RDP (Remote desktop protocol) uses the same video, keyboard, and mouse resources that PCA uses. The act of connecting to a machine with a waiting host with an RDP session will cause the waiting host session to malfunction and require that the host session if running to be stopped and restarted.
Whenever the pcAnywhere service is started, it will try to bind to the Video, Keyboard, and Mouse resources that are present. One potential situation that can occur when starting pcAnywher services on a machine with multiple remote control programs installed is that pcAnywhere will try to bind to the physical resorces and the virtual resources resulting in irradic and un expected behaviors as the host tried to connect to both the virtual keyboard, mouse, and video drivers.
Below are some steps to remotely start and stop the pcAnywhere host service remotely after disconnecting from a RDP or Terminal server session.
1. Use Services.msc to connect the host computer and start the Symantec pcAnywhere Host Service.
1. Create a batch file that contains the following:
- net stop "Symantec pcAnywhere Host Service"
net start "Symantec pcAnywhere Host Service"
2. Add the batch file to Scheduled Tasks in Control Panel
3. Configure the batch file to be executed shortly after exiting remote desktop session.
4. Exit the remote desktop session immediately.
pcAnywhere compatibility with Windows NT/2000/2003 Terminal Server
Article URL http://www.symantec.com/docs/TECH109910