title: kernel debug with a vmware machine
body: <p>I am using windbg to begin a kernel debug with a vmware windows machine. I referred to </p>
  
  <p><a href="https://msdn.microsoft.com/en-us/library/windows/hardware/ff538143(v=vs.85).aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/windows/hardware/ff538143(v=vs.85).aspx</a>.</p>
  
  <p>But I didn't succeed. I had two question about it. </p>
  
  <p>1). After I start windbg by such a command:</p>
  
  <pre><code>**windbg -k com:port=\\10.57.43.22\pipe\debug,pipe**
  </code></pre>
  
  <p>It will show:</p>
  
  <pre><code>**Fail to open \\10.57.43.22\pipe\debug
  Kernel debugger failed initialization, Win32 error On1326
  "Logon failure: unknown user name or bad password"**
  </code></pre>
  
  <p>What is the reason? There is no space for me to type user name or password.</p>
  
  <p>2). In the msdn article, it said :</p>
  
  <p><strong>In the virtual machine, configure the COM port to map to a named pipe.</strong></p>
  
  <p>I had added a serial port which used a named pipe on vmware virtual machine. How to map a COM port to a pipe?</p>