Windows Mobile Emulator:Failed to open the VPC Network Driver.

Failed to open the VPC Network Driver. Verify that the driver is installed, or install the driver from the Web download location at http://go.microsoft.com/fwlink/?linkid=46859

方法一


Windows 7 (as of RC1) now supports apretty spiffy new feature known asVirtual Windows XP orWindows XPMode based on what article you read.  At its core, it is a new versionof theVirtual PC product, now named WindowsVirtual PC, installed closer to the OS, combined with a Windows XP hard diskimage which allow you to run legacy applications under Windows XP on yourWindows 7 machine in a pretty seamless way.

If you install theWindows Virtual PC add-on to Windows 7, you must first uninstall Virtual PC2007.  By doing that, you remove the special network driver that is alsorequired to use the Microsoft Device Emulator on the network.  The deviceemulator is typically used for Smart Device development.

So the puzzle: The Device Emulator doesn’t work with the new Windows Virtual PC driver, andyou can’t install the old version of Virtual PC 2007 and expect the new WindowsVirtual PC to keep working.  What to do?

The answer is toextract the Virtual PC 2007 network service drivers out of the MSI package andmanually install them in Windows 7.  So far this has provided the expectedresult for me:  Windows Virtual PC runs happily, and the Device Emulatornow connects to the network.  So how do we do this?  Thanks forasking.  Here is a step-by-step guide to make this go.  Note thatthis is very much a “works on my machine” experience.  If it burns yourhouse down, don’t hold me responsible.  Note that you should have a validand complete backup before attempting this on your machine just in case…

  • Download the Virtual PC 2007 SP1 installer executable
  • Rename the installer from setup.exe to something else, such asvpc.exe
  • Open a cmd prompt, navigate to the setup executable, and run (assuming you renamed the file to vpc.exe):
    • vpc.exe /c
  • This will extract the executable to an MSI file at located in the %temp% directory
  • Change to the temp directory by running:
    • cd %temp%
  • In this directory, extract the MSI by running:
    • msiexec /a Virtual_PC_2007_Install.msi /qb TARGETDIR=c:\vpc
    • Of course, feel free to replace that directory with one of your choosing
  • This will extract the MSI file to c:\vpc (or the one you entered)
  • Open the Network and Sharing Center and select Change adapter settings

  • Right-click the network adapter you have connected to the internet and selectProperties
  • Click the Install… button

  • Make sure Service is selected and click Add…

  • Click Have Disk…
  •  
  • For x86 machines, navigate to:
    • C:\vpc\Program Files\Microsoft Virtual PC\Utility\VMNetSrv\
  • For x64 machines, navigate to:
    • C:\vpc\Program Files\Microsoft Virtual PC\Utility\VMNetSrv\x64
  • Select Virtual Machine Network Services and click OK

At this point the driverwill be installed and attached to that network adapter.  If you have theneed to attach this to multiple adapters, simply repeat the steps above toinstall the service on each adapter required.

Once the driver isinstalled, you can then link the Device Emulator to the chosen adapter andconnect to the network as always, as well as connect to the network in the newversion of Virtual PC.

Let me know how itworks for you!


方法二

下载:http://download.csdn.net/detail/zhangjikuan/7895791

下载完成后解压文件,配置如方法一中图片所示一致。

设置网络访问

这里不再详述过程,需要记住一点网络选择与本机的网络设置一致,并且模拟器上面设置为“单位设置”。最后看下效果:


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值