Dude where's my PFE?

I am a Premier Field Engineer (PFE) for Microsoft.

How to redirect Serial Ports in Windows Server 2012 RDS/VDI

How to redirect Serial Ports in Windows Server 2012 RDS/VDI

  • Comments 2
  • Likes

This tip came to me from a question someone posed internally that we had to find an answer for by hunting someone down Smile.

 

This property isn’t exposed in Server Managers’ UI, so you can set it by calling this powershell command:

 

Set-RDVirtualDesktopCollectionConfiguration –CollectionName <farm> –CustomRdpProperty “redirectcomports:i:1”

Now the Remote Desktop Client will redirect its COM1 port to the Server.  Why is this needed?  Think Serially connected devices such as say, Smart Card readers, for instance.

Hope this helps!

The Dude

Comments
  • Jeff...

    Hope you get this...I am having some difficulties getting this to work in my Win Srv 2012 RDS environment.

    Can you elaborate what input is required here to make it run...

    I get:

    PS C:\Users\asalm> Set-RDVirtualDesktopCollectionConfiguration -CollectionName <My EMR Advantage> -CustomRdpProperty "redirectcomports:i:1"

    At line:1 char:61

    + Set-RDVirtualDesktopCollectionConfiguration -CollectionName <My EMR Advantage> - ...

    +                                                             ~

    The '<' operator is reserved for future use.

       + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException

       + FullyQualifiedErrorId : RedirectionNotSupported

    Your help would be great as this smart card reader is giving me lots of headaches!

    Thanks in advance.

  • Yeah let me check.

    You don't use < and > around My EMR Advantage

    If you have spaces use quotes, sorry I should have been clear in my post.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment