How to: Connect to Windows CE Device Without ActiveSync


How to: Connect to Windows CE Device Without ActiveSync 


When ActiveSync is not available, Visual Studio 2005 does not automatically copy required connectivity files to the device. Use the following steps to install these files on the device, modify the Visual Studio connection configuration, and establish device security.

The first two steps, preparing the device and Visual Studio, need to be done only once. The last set of steps, setting security and establishing the connection, must be repeated any time you want to connect from a new instance of Visual Studio.

To prepare the device for connecting

  1. Using whatever connection with the device you have, copy the following files to the /Windows/ folder on the device. These files are located on the development computer by default at /Program Files/Common Files/Microsoft Shared/CoreCon/1.0/Target/wce400/<CPU>.

    • Clientshutdown.exe

    • ConmanClient2.exe

    • CMaccept.exe

    • eDbgTL.dll

    • TcpConnectionA.dll

  2. From the command prompt on the device, run conmanclient2.exe.

  3. Determine the IP address of the device.

To prepare Visual Studio for connecting

  1. On the Visual Studio Tools menu, click Options , then click Device Tools , and then click Devices .

  2. Select Windows CE Device , and then click Properties .

  3. To the right of the Transport box, click Configure .

  4. In the Configure TCP/IP Transport dialog box, select Use specific IP address , and then type the device IP address.

  5. Close the dialog boxes.

    A message box might appear prompting you to reset your device. If so, a soft reset is sufficient.

To set security and establish the connection

  1. At the command prompt on the device, run cMaccept.exe.

  2. Within three minutes, connect to the device.

    If you establish your first connection within three minutes, you can continue deploying and debugging indefinitely as long as you are using the same Visual Studio instance. If you need to connect from another instance of Visual Studio, you need to perform these security steps again.

    Security note Security Note

    You can eliminate the cMaccept step by disabling security on the device. To do so, use the Remote Registry Editor to set HLKM/System/CoreConOverrideSecurity = 1 DWORD value. Disabling security exposes your device to malicious attack and is not recommended unless you have provided appropriate safeguards.

See Also


Remote Tools for Device Projects

Other Resources

Connecting Smart Devices to Development Computers

参与评论 您还未登录,请先 登录 后发表或查看评论


  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页
钱包余额 0