Use a USB to serial device on the physical PC and USB over network software
to connect it to the VM?  Never done this with a serial cable, but have
with licensing dongles many times.

On Aug 26, 2016 11:21 AM, "Carol Fee" <[email protected]> wrote:

I do now – thanks – and thanks for the link.  Sadly, didn’t work.



It seems as though the only way to do this is using named pipes, and I
don’t know how to do that.



*CFee*

*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com] *On Behalf Of *Eric Wittersheim
*Sent:* Thursday, August 25, 2016 2:55 PM

*To:* [email protected]
*Subject:* Re: [NTSysADM] Windows 7 Hyper-V VM Com Port



Carol,



That's from W2k12 R2, that setting comes straight out of the CIS benchmarks
for W2K12 R2.  Here's the link to the PDF.  Do you have the updated
templates in your central store?



https://benchmarks.cisecurity.org/tools2/windows/CIS_
Microsoft_Windows_Server_2012_R2_Benchmark_v2.2.0.pdf



On Thu, Aug 25, 2016 at 1:31 PM, Carol Fee <[email protected]> wrote:

Thanks Eric,



Sorry to sound dumb, but what version of Group Policy Manager are you using
?  I don’t have anything like that path in either W2K8 R2 or W2K12 R2.



*CFee*

*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com] *On Behalf Of *Eric Wittersheim
*Sent:* Thursday, August 25, 2016 12:30 PM


*To:* [email protected]
*Subject:* Re: [NTSysADM] Windows 7 Hyper-V VM Com Port



Carol,



Did you see this setting?



Computer Configuration

\Policies\Administrative Templates\Windows Components\Remote Desktop
Services\Remote Desktop Session Host

\Device and Resource Redirection\Do not allow COM port redirection Impact:
If you enable this policy setting, users

cannot redirect server data to the local COM port.



Eric



On Tue, Aug 16, 2016 at 10:52 AM, Gordon Pegue <[email protected]> wrote:

I’m wondering if SecureCRT might solve your issue.

According to a thread on one of their forums, it appears to support
named-pipe com port connections:

https://forums.vandyke.com/showthread.php?t=8534





G



*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com] *On Behalf Of *Carol Fee
*Sent:* Tuesday, August 16, 2016 8:41 AM


*To:* [email protected]
*Subject:* RE: [NTSysADM] Windows 7 Hyper-V VM Com Port



Correct and simply enabling the port in the properties of the RDP
connection doesn’t get the job done.



In both Hyper-V Manager and SCVMM, you can set the properties of a VM’s COM
port, but you have to use a named pipe, and I can’t for the life of me get
that configured correctly



*CFee*

*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com <[email protected]>] *On Behalf Of *David
McSpadden
*Sent:* Tuesday, August 16, 2016 9:59 AM
*To:* [email protected]
*Subject:* RE: [NTSysADM] Windows 7 Hyper-V VM Com Port



So you are wanting your com port on your w7 machine to be accessible to the
vm w7 machine through RDP.

Pretty sure I understand now and I don’t have an answer for that.

Enabling the comm port on the rdp session in other options would be my only
response and I know that has been stated so.

I am not sure how to make that work for you.





*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com <[email protected]>] *On Behalf Of *Carol Fee
*Sent:* Tuesday, August 16, 2016 9:47 AM
*To:* [email protected]
*Subject:* RE: [NTSysADM] Windows 7 Hyper-V VM Com Port



W7 VM on W2012 R2 host

W7 workstation with COM 1 in use using RDP to connect to the VM



*CFee*

*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com <[email protected]>] *On Behalf Of *David
McSpadden
*Sent:* Tuesday, August 16, 2016 8:46 AM
*To:* [email protected]
*Subject:* RE: [NTSysADM] Windows 7 Hyper-V VM Com Port



Is the W7 the host or the vm on the 2012 server?



*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com <[email protected]>] *On Behalf Of *Carol Fee
*Sent:* Tuesday, August 16, 2016 8:36 AM
*To:* [email protected]
*Subject:* RE: [NTSysADM] Windows 7 Hyper-V VM Com Port



The port I need access to is on a W7 computer

Not

The host



*CFee*

*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com <[email protected]>] *On Behalf Of *David
McSpadden
*Sent:* Tuesday, August 16, 2016 8:05 AM
*To:* [email protected]
*Subject:* RE: [NTSysADM] Windows 7 Hyper-V VM Com Port



In my VMWare environment I needed a USB to be accessed physically from the
host.

This is done the vCenter and on the Host wear the VM will have to reside.
(No vMotion for that VM)

This I allowed access to the Host USB port (Specific to the USB port not
generic.)

This unfortunately allows all VM’s on that host to also access the USB port
that is being passed through to the VM from the Host.

I think you are wanted a similar type of access for your VM.

Now I do know my application that requires the access to the VM USB port
will not allow RDP sessions to access the USB port.

It knows that it is a RDP session and no matter what I do it laughes at
me.  It also know if I am trying to access it with something like VNC.

It laughes even louder at me.

So, being the thin skinned admin that I am.  I access the VM through the
vCenter Console and I ROFLMAO at the app while it gives me the access to
the USB port as required of a physical box.

It has no idea I have it VM’d and I am accessing the host USB instead of a
physical box’s USB.

So that being said I think you want to enable the COM port on the Host and
allow access through the Host to the VM.

There the VM application so access the port as you are needing.

That is if I understand the situation you have described.





*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com <[email protected]>] *On Behalf Of *Carol Fee
*Sent:* Tuesday, August 16, 2016 7:46 AM
*To:* [email protected]
*Subject:* RE: [NTSysADM] Windows 7 Hyper-V VM Com Port



I’m not mapping it to the port on the host – to a port on a W7 RD client.



So …. W7 computer has something connected to COM 1 (serial connection for a
card reader)

Card reader software is installed on W7 VM (hosted on W2012R2 Hyper-V)

I need to access the card reader software using Remote Desktop from the W7
computer and have it see the connection to the hardware



I keep finding references to mapping com ports using named pipes, but I
can’t figure out exactly how to do that



*CFee*

*From:* [email protected] [mailto:listsadmin@lists.
myitforum.com <[email protected]>] *On Behalf Of *Andrew S.
Baker
*Sent:* Monday, August 15, 2016 11:18 AM
*To:* [email protected]
*Subject:* Re: [NTSysADM] Windows 7 Hyper-V VM Com Port



Not supported, last I checked:





*2012 Datacenter redirecting com ports to my VM
<https://social.technet.microsoft.com/Forums/sharepoint/en-US/24414de8-505b-4573-9bcb-f6018aaa09c5/2012-datacenter-redirecting-com-ports-to-my-vm?forum=winserverhyperv>*

It's not an official piece of software, it's not recommended or supported,
and by using this you might put your Hyper-V server in an unsupported
state.
<https://social.technet.microsoft.com/Forums/sharepoint/en-US/24414de8-505b-4573-9bcb-f6018aaa09c5/2012-datacenter-redirecting-com-ports-to-my-vm?forum=winserverhyperv>

social.technet.microsoft.com
<https://social.technet.microsoft.com/Forums/sharepoint/en-US/24414de8-505b-4573-9bcb-f6018aaa09c5/2012-datacenter-redirecting-com-ports-to-my-vm?forum=winserverhyperv>

[image: Mixmax] <https://mixmax.com/r/WMB47Rd39yDNPFfWo>







Regards,

 *ASB*
 *http://XeeMe.com/AndrewBaker <http://xeeme.com/AndrewBaker>*

 *Providing Expert Technology Consulting Services for the SMB market…*

* GPG: *1AF3 EEC3 7C3C E88E B0EF 4319 8F28 A483 A182 EF3A







On Mon, Aug 15, 2016 10:59 AM, Carol Fee [email protected] wrote:

I have a W7 vm on a W2K12R2 host.  I need to connect COM 1 to the physical
COM 1 of a Windows 7 PC.  Can anyone out there help ?  TIA




*------------------------------*

*Carol Fee*

Network Administrator

617-338-0623

[email protected]





*   Massachusetts Bar Association*

   20 West Street

   Boston, MA 02111-1204
   (617) 338-0500



This email and any attached files are confidential and intended solely for
the intended recipient(s). If you are not the named recipient you should
not read, distribute, copy or alter this email. Any views or opinions
expressed in this email are those of the author and do not represent those
of the Massachusetts Bar Association company. Warning: Although precautions
have been taken to make sure no viruses are present in this email, the
company cannot accept responsibility for any loss or damage that arise from
the use of this email or attachments.

This email and any attached files are confidential and intended solely for
the intended recipient(s). If you are not the named recipient you should
not read, distribute, copy or alter this email. Any views or opinions
expressed in this email are those of the author and do not represent those
of the Massachusetts Bar Association company. Warning: Although precautions
have been taken to make sure no viruses are present in this email, the
company cannot accept responsibility for any loss or damage that arise from
the use of this email or attachments.

This e-mail and any files transmitted with it are property of Indiana
Members Credit Union, are confidential, and are intended solely for the use
of the individual or entity to whom this e-mail is addressed. If you are
not one of the named recipient(s) or otherwise have reason to believe that
you have received this message in error, please notify the sender and
delete this message immediately from your computer. Any other use,
retention, dissemination, forwarding, printing, or copying of this email is
strictly prohibited.



Please consider the environment before printing this email.

This email and any attached files are confidential and intended solely for
the intended recipient(s). If you are not the named recipient you should
not read, distribute, copy or alter this email. Any views or opinions
expressed in this email are those of the author and do not represent those
of the Massachusetts Bar Association company. Warning: Although precautions
have been taken to make sure no viruses are present in this email, the
company cannot accept responsibility for any loss or damage that arise from
the use of this email or attachments.

This e-mail and any files transmitted with it are property of Indiana
Members Credit Union, are confidential, and are intended solely for the use
of the individual or entity to whom this e-mail is addressed. If you are
not one of the named recipient(s) or otherwise have reason to believe that
you have received this message in error, please notify the sender and
delete this message immediately from your computer. Any other use,
retention, dissemination, forwarding, printing, or copying of this email is
strictly prohibited.



Please consider the environment before printing this email.

This email and any attached files are confidential and intended solely for
the intended recipient(s). If you are not the named recipient you should
not read, distribute, copy or alter this email. Any views or opinions
expressed in this email are those of the author and do not represent those
of the Massachusetts Bar Association company. Warning: Although precautions
have been taken to make sure no viruses are present in this email, the
company cannot accept responsibility for any loss or damage that arise from
the use of this email or attachments.

This e-mail and any files transmitted with it are property of Indiana
Members Credit Union, are confidential, and are intended solely for the use
of the individual or entity to whom this e-mail is addressed. If you are
not one of the named recipient(s) or otherwise have reason to believe that
you have received this message in error, please notify the sender and
delete this message immediately from your computer. Any other use,
retention, dissemination, forwarding, printing, or copying of this email is
strictly prohibited.



Please consider the environment before printing this email.

This email and any attached files are confidential and intended solely for
the intended recipient(s). If you are not the named recipient you should
not read, distribute, copy or alter this email. Any views or opinions
expressed in this email are those of the author and do not represent those
of the Massachusetts Bar Association company. Warning: Although precautions
have been taken to make sure no viruses are present in this email, the
company cannot accept responsibility for any loss or damage that arise from
the use of this email or attachments.



This email and any attached files are confidential and intended solely for
the intended recipient(s). If you are not the named recipient you should
not read, distribute, copy or alter this email. Any views or opinions
expressed in this email are those of the author and do not represent those
of the Massachusetts Bar Association company. Warning: Although precautions
have been taken to make sure no viruses are present in this email, the
company cannot accept responsibility for any loss or damage that arise from
the use of this email or attachments.



This email and any attached files are confidential and intended solely for
the intended recipient(s). If you are not the named recipient you should
not read, distribute, copy or alter this email. Any views or opinions
expressed in this email are those of the author and do not represent those
of the Massachusetts Bar Association company. Warning: Although precautions
have been taken to make sure no viruses are present in this email, the
company cannot accept responsibility for any loss or damage that arise from
the use of this email or attachments.

Reply via email to