Enabling easy remote desktop access for Administrators via RDP on Windows Embedded

If you have configured your Windows Embedded system to have one user account that is used to run your embedded application and you would like to use another administrator account to service the machine via RDP you might have seen this message box:

image

Administrator wants to connect to this machine.

Click OK to disconnect your session immediately or click cancel to stay connected.

Otherwise, you will be disconnected in 30 seconds.

Unfortunately this message will appear every time you need to access your device via RDP. You will need to wait for 30 seconds to connect and a possible end user might see an unwanted Windows prompt.

If you are using Windows Embedded Standard 7 or Windows Embedded POSReady 7 there is an easy workaround to get rid of this confirmation prompt:

You can use the Dialog Filter to filter out the confirmation dialog – this way you can connect immediately to the remote pc without any message box appearing.

Configuration

To configure Dialog Filter first make sure that you have included the Feature Package in your image. If it is not there you can use my free tool DISMUI to add it easily.

imageRun dialogfiltereditor.exe in the Windows\system32 directory (if you use Windows Embedded Standard 7 this file is located in the  “Windows Embedded Standard 7\EmbeddedSDK\bin\” folder on the WES7 ICE toolkit DVD).

Now add any window and open the properties of the added one by double-clicking.

Change the values to the following:

ProcessName: rundll32.exe

Class Name: #32770

Window Title: Remote Desktop Connection

Action: OK

(You might need to adapt the Window Title for different languages)


Click File / Save and store the configuration in C:\ProgramData\Microsoft\DialogFilter\configurationlist.xml

Restart the "Dialog Box Filter” service or restart your device to apply the new configuration.

If you have configured everything you can connect to your device without the confirmation prompt.

Here is my XML configuration sample:

<?xml version="1.0" encoding="utf-8"?>
<CL:dialogs xmlns:CL="urn:Dialogs">
    <dialog>
    <ProcessImageName>rundll32.exe</ProcessImageName>
    <Title>Remote Desktop Connection</Title>
    <Class>#32770</Class>
    <Buttons>
      <Button>OK</Button>
      <Button>Cancel</Button>
      <Button>Close</Button>
    </Buttons>
    <Actions>
      <Action>OK</Action>
    </Actions>
  </dialog>
</CL:dialogs>

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Mahmoud by Anonymous

Post new comment

(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: H1, H2, H3, STRONG, a, abbr, acronym, h1, h2, h3, strong.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Please enter the sum of 4 and 7:
Solve this simple math problem and enter the result. E.g. for the sum of 1 and 3, enter 4.