locked
how to build rdp in windows mobile? RRS feed

  • Question

  • i run "build -c" in WM650\PUBLIC\RDP dir, some libs will be created, but why no any .exe file created.

    anyone can help me,how to make rdp .exe file? Thanks!

    Tuesday, September 21, 2010 3:08 AM

Answers

  • Hi

     

    RDP, also known as Remote Desktop Mobile in Windows Mobile, is not buildable by OEMs. RDP code consists of 2 modules, wpctsc.exe which is RDP UI and mstscax.dll which is core RDP stack. Microsoft ships both of these modules in pre-built package “RemoteDesktopMobile”. This package can be found in Flat Release Directory under prebuilt folder.

    Sources under \Public\RDP are from old RDP engine and the build tree is not configured to use the libs from this tree. Hence these sources should not be built by OEM.

    Thursday, September 23, 2010 5:03 PM

All replies

  • Hi

     

    RDP, also known as Remote Desktop Mobile in Windows Mobile, is not buildable by OEMs. RDP code consists of 2 modules, wpctsc.exe which is RDP UI and mstscax.dll which is core RDP stack. Microsoft ships both of these modules in pre-built package “RemoteDesktopMobile”. This package can be found in Flat Release Directory under prebuilt folder.

    Sources under \Public\RDP are from old RDP engine and the build tree is not configured to use the libs from this tree. Hence these sources should not be built by OEM.

    Thursday, September 23, 2010 5:03 PM
  • hi,billb08:

    thanks for your help.

    wpctsc.exe is a good tool,but i need the old cetsc.exe can run on my windows mobile platform.

    i know some guys have successfully changed the wince cetsc.exe and running on windows mobile.

    Could you tell us how to to it step by step?

    thanks!

    Saturday, September 25, 2010 1:51 AM
  • Hi sngate.com,

    cetsc.exe is for WinCE devices, we don't recommend using it on WM platform with modification. If you want to do it on WM platform, I recommend you use wpctsc.exe tool.

     

    Best regards,
    Guang-Ming Bian - MSFT


    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Tuesday, September 28, 2010 3:26 AM
  • Hi Guang-Ming Bian:

    we need cetsc.exe, for wpctsc.exe can not match my need.

    we need a rdp tool as below:

    1)login args can be saved as .rdp file.

    2)reload its args from the .rdp file.

    3)auto logon if password saved.

    change some setting,I can make cetsc.exe running in WM platform now.

    but its windows can not be full display.

     

     

    Tuesday, September 28, 2010 6:33 AM
  • Hello,

     

    Replacing WM RDP UI app with CE RDP UI app is an unsupported scenario and as a Support Engineer , I cannot comment on any unsupported scenario. As you have mentioned in forum, we do recommend using wpctsc.exe on WM devices as RDP on CE and RDP on WM has different architecture.

     

    However , the main reason for this forum query is

     

    ·        login args can be saved as .rdp file.

    ·        reload its args from the .rdp file.

    ·        auto logon if password saved.  

     

     

    WM RDP still supports saving RDP connection arguments in “default.rdp” file. By default , this file is under Windows folder and can be viewed as \Windows\Defualt.rdp. However , in WM, user credentials are not saved in this file for security reasons. Credential information is saved in registries.  However password is encrypted when saved in registry by Remote Desktop Mobile (RDM) and hence manually creating password registry will not auto-populate password field in RDM. Hence I would recommend using a custom application as bellow.

     

    There is simple workaround for this auto logon situation. You can create a simple app which invokes wpctsc.exe and simulate typing user credentials (username, domain and password) with the help of keybd_event API. With this custom app, auto logon behavior for RDM can be achieved in WM devices.

     

     

     

    • Proposed as answer by billb08 - MSFT Wednesday, September 29, 2010 6:26 PM
    Wednesday, September 29, 2010 6:26 PM
  • Hello

     

    I have done the "simple workaround": http://www.hjgode.de/wp/2010/06/23/automated-login-for-remote-desktop-mobile-ii/.

    The tool creates a RDP file, simulates keystrokes etc to enable you start an automated login.

     

    regards

     

    Josef


    hjg
    Sunday, November 21, 2010 7:22 AM
  • Hello,

     

    Replacing WM RDP UI app with CE RDP UI app is an unsupported scenario and as a Support Engineer , I cannot comment on any unsupported scenario. As you have mentioned in forum, we do recommend using wpctsc.exe on WM devices as RDP on CE and RDP on WM has different architecture.

     

    However , the main reason for this forum query is

     

    ·        login args can be saved as .rdp file.

    ·        reload its args from the .rdp file.

    ·        auto logon if password saved.  

     

     

    WM RDP still supports saving RDP connection arguments in “default.rdp” file. By default , this file is under Windows folder and can be viewed as \Windows\Defualt.rdp. However , in WM, user credentials are not saved in this file for security reasons. Credential information is saved in registries.  However password is encrypted when saved in registry by Remote Desktop Mobile (RDM) and hence manually creating password registry will not auto-populate password field in RDM. Hence I would recommend using a custom application as bellow.

     

    There is simple workaround for this auto logon situation. You can create a simple app which invokes wpctsc.exe and simulate typing user credentials (username, domain and password) with the help of keybd_event API. With this custom app, auto logon behavior for RDM can be achieved in WM devices.

     

     

     

     


        Excuse me,How can I use mstscax.dll to develop a remote desktop client for mobile?
    Tuesday, January 25, 2011 1:53 AM