Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a host machine (Laptop, Win 7 Home Premium x64) running Windows 7 Ultimate x64 on VMWare Workstation 9. I've got this system set up for UMDF driver development, because I need a target machine to debug drivers on. However, because I'm developing drivers for Win 7 (x86 and x64), I cannot connect to the virtual machine on via a simple network connection. Connection methods are outlined here.

I have tried a few different pieces of software (mostly Eltima software), and have Google'd every combination of phrases that I can think of. I can't find any information on this anywhere. I don't just need to share data between the machines, I need a more "physical" connection.

Does anyone know how to do this, or if there's another (preferably more simple) way of doing it?

share|improve this question
I must be missing something here. The link provided says network connections are supported? – Tanner Faulkner May 16 '13 at 14:13
Pays to read: "If your target computer is running a version of Windows prior to Windows 8, you cannot use a network connection for debugging; you must use a USB, 1394, or serial connection." – Tanner Faulkner May 16 '13 at 14:17
up vote 2 down vote accepted

You can set up debugging of a virtual machine using named pipes as per this MSDN article.

Setting Up the Target Virtual Machine

In the virtual machine, in an elevated Command Prompt window, enter the following commands.

bcdedit /debug on

bcdedit /dbgsettings serial debugport: n baudrate: 115200

where n is the number of a COM port on the virtual machine.

Reboot the virtual machine.

In the virtual machine, configure the COM port to map to a named pipe. The debugger will connect through this pipe. For more information about how to create this pipe, see your virtual machine's documentation.

Starting the Debugging Session Using WinDbg

On the host computer, open WinDbg.

On the File menu, choose Kernel Debug.

In the Kernel Debugging dialog box, open the COM tab.

Check the Pipe box, and check the Reconnect box. For Baud Rate, enter 115200. For Resets, enter 0.

If the debugger is running on the same computer as the virtual machine, enter the following for Port. \.\pipe\PipeName.

If the debugger is running on a different computer from the virtual machine, enter the following for Port. \VMHost\pipe\PipeName

Click OK.

To configure the named pipe in VMWare Workstation, open the virtual machine settings while the VM is powered off. Add a device:

enter image description here

Select a new serial port:

enter image description here

Choose named pipe:

enter image description here

And select the appropriate settings:

enter image description here

Some of the information is outdated, but you might be able to find a little help from these blog posts.

share|improve this answer
Excellent! I haven't tried it yet, but it all makes sense, and +1 for excellent layout. Thanks! – Inancor May 16 '13 at 14:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .