Com port redirection from Windows 7 to Windows Server 2008 R2

serialterminal-serverwindows 7windows-server-2008-r2

We use "Copy file.prn to \tsclient\com1" to print from a TS session to a locally attached serial printer.

This works fine from Windows XP, but when trying it from a Windows 7 client computer, we get an "Access is denied" error message.

And yes, the check box of COM port is selected on the Local Resources tab of the Remote Desktop Connection client.

Any pointers? Has anyone even managed to do this successfully?

Best Answer

Several potential solutions come to mind:

One: Win7 UAC may be the culprit with COM access. Find a way to give the user access to Com. To diagnose this, first try to copy a local file (from computer console, not from tssession). Then try the same as an admin. Perhaps admin the user for a short period of time.

If this is the case, it might be fixed with a GPO in the vicinity of "Computer Configuration\Policies\Administrative Templates\System\". You want to allow users to use com and change its settings.

Two: You may share the printer on the tsclient, and use it on the server. To hide the local printer from network view, share it with "show in directory" off, and the share name ending in "$". Say "hiddenprint$" - shares ending with $ dont show in the explorer.

Then "copy file.prn \tsclient\hiddenprint$".