none
Ping gives - Unable to contact IP driver - Error Code 5

    Question

  • Hi,
    I have hyper-v machines with Windows 2008 Standard x64 installed on them. One of them has Domain Controller and DNS installed and other has SQL Server 2008 on it.
    I used the Export and Import process to create these machines from the same base VM. The SQL Server machine is added to the Domain. When I login as local administrator
    on SQL machine and issue a Ping command i.e. Ping domain.com it works fine. However when I login as a domain account on SQL Server (this domain account is added as Administrator on SQL Server machine) and issue the ping command i.e.
    ping domain.com
    I get the following error:
    Unable to contact IP driver - Error Code 5

    What could be wrong here? I hope it is not that SID of the these VM are same somehow and that is causing it?
    I assume the TCP/IP stack should not be corrupt because Ping command works in one case as mentioned above.

    Would appreciate your help/ideas.
    Thanks,
    Mo
    Saturday, December 5, 2009 2:43 PM

Answers

  • Hi,

     

    If your computers have the same SID, you will encounter issues if you add them to the same domain.

     

    By the way, if you want to use the same VHD file as a base, you need to run sysprep.

     

    How to Sysprep Windows Server 2008

    http://www.jameskovacs.com/blog/HowToSysprepWindowsServer2008.aspx

     

    Important Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

     

     

    Best Regards,

    Vincent Hu

     

    • Marked as answer by Mohan Taneja Sunday, January 31, 2010 8:48 AM
    Friday, December 11, 2009 7:08 AM
    Moderator
  • Hi All,
    I used PSGetSID tool and found that the VM have same SID. Possibly that is causing this issue.
    Will try running SysPrep to change the SID.

    -- Mo
    Sunday, December 6, 2009 8:58 AM

All replies

  • Hi All,
    I used PSGetSID tool and found that the VM have same SID. Possibly that is causing this issue.
    Will try running SysPrep to change the SID.

    -- Mo
    Sunday, December 6, 2009 8:58 AM
  • Hi,

     

    If your computers have the same SID, you will encounter issues if you add them to the same domain.

     

    By the way, if you want to use the same VHD file as a base, you need to run sysprep.

     

    How to Sysprep Windows Server 2008

    http://www.jameskovacs.com/blog/HowToSysprepWindowsServer2008.aspx

     

    Important Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

     

     

    Best Regards,

    Vincent Hu

     

    • Marked as answer by Mohan Taneja Sunday, January 31, 2010 8:48 AM
    Friday, December 11, 2009 7:08 AM
    Moderator
  • Thanks Vincent. As I mentioned above and you also suggested - I used SysPrep and that had fixed the issue.
    Appreciate your response.

    Monday, December 14, 2009 7:54 AM
  • Hi All,

    If anyone has the same issue, when you build a new VM with the same VHD, run the tool "NEWSID" to generate a new SID, before joinning the server to the domain.

    Thanks,


    Irfan Ali. Snr. Infrastructure Consultant
    Friday, December 3, 2010 3:28 PM