Terminal Service Client. How to Make Pocket PC a Big Brother's Friend

17 October 2007, 11:19
Nefedov Kirill
1 959


There are some special programs that allow one to control his or her PC using a PDA. It can be controlled both via internet or via Wi-Fi, in a local network. If you are a system administrator of a local network, you probably often have to come to your workplace in order to make some settings. This running about can be avoided, whereas no third-party programs should be used, because the Terminal Service Client is embedded in your PDA's Windows.

In this article, I will tell you how to use that. I take the Wi-Fi network as an example since Bluetooth works on a small distance which is irrelevant. I also presume that you have already set up your Wi-Fi network.

Everything described below works well under Windows 2000 and Windows XP Professional.


To be able to connect to the desktop PC, there are some settings needed. Let's start with the desktop PC. Click with the right mouse button on icon "My Computer", select "Properties" and, in the "Remote" tab, check "Allow users to connect remotely to this computer".

Go to "Control Panel" and select "User Accounts".

Create an additional user account and name it, for example, Lan. It is also necessary to create a password for this new account. Go to checking IP addresses. Click with the right mouse button on the "My Network Places" and select Properties.

Find "Wireless Network Connection" and click with the right mouse button on it selecting "Properties".

Check and remember the properties of TCP/IP.

Here we see that the IP address is This is what we need now. So we won't work with PC anymore and go to our PDA. First of all, enable Wi-Fi for the network to start functioning. Then find the Terminal Service Client program in the "Programs" folder and launch it.

In the "Server" field enter the IP address specified in the TCP/IP settings. In our case, it is If it is necessary to limit the screen size, check "Limit size of server desktop to fit on this screen". Otherwise, the PC screen will be large in the PDA and it will be necessary to scroll it for viewing. In the PDA, there appear a window proposing you to enter your login and password:

It is necessary to enter login Lan that we have created before, as well as its password. Press ОК and get the warning about that some user has already entered the system.

Press "Yes" undoubtedly and receive a warning in our PC that somebody wants to enter the system.

You can avoid such warnings if you have not logged in before. However, press "Yes". The Big Brother opens the window below and waits for your choice (you should not choose anything during the session),

whereas the PDA starts displaying everything that happens in the Big Brother.

Rules or licenses should not be violated, so those who use licensed Windows XP Professional should not better use the same copy of the system on several machines simultaneously. However, the system allows one to do it:

  1. Add the key to the register:
    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core] "EnableConcurrentSessions"=dword:00000001
  2. Restart in a security mode (F8 key being pressed). This is necessary to enable all the following actions.
  3. Then we will need the file named termserv.dll from the beta version of Service Pack 2 for Windows XP (SP2 build 2055). This file should be copied into the folders: C:\WINDOWS\system32 and C:\WINDOWS\ServicePackFiles\i386 (don't forget to save a copy of your version of termserv.dll, just in case).
  4. Reload the machine, create one more user and connect from another machine. Only users logged in under different names may work simultaneously. So, if you have only one login, you will have to create another one.


We have learned how to control the PC with the installed MetaTrader 4 Client Terminal via PDA.

Translated from Russian by MetaQuotes Software Corp.
Original article: /ru/articles/1458

Translated from Russian by MetaQuotes Software Corp.
Original article: https://www.mql5.com/ru/articles/1458

Attached files |
termserv.zip (207.29 KB)
Last comments | Go to discussion (1)
MQL4 Comments
MQL4 Comments | 18 Feb 2008 at 20:32
We offer MetaTrader Hosting to our clients FREE of charge; they recieve a dedictated URL that allows them to login using RDP (Windows Remote Desktop Connection); and then they get to their own dedicated Windows XP Desktop.

We host MT and perform technical support when needed (plus custom development at no cost) > www.GallantFX.com (and check out www.MetaTraderHosting.com)
Object Approach in MQL Object Approach in MQL

This article will be interesting first of all for programmers both beginners and professionals working in MQL environment. Also it would be useful if this article were read by MQL environment developers and ideologists, because questions that are analyzed here may become projects for future implementation of MetaTrader and MQL.

Trading Strategy Based on Pivot Points Analysis Trading Strategy Based on Pivot Points Analysis

Pivot Points (PP) analysis is one of the simplest and most effective strategies for high intraday volatility markets. It was used as early as in the precomputer times, when traders working at stocks could not use any ADP equipment, except for counting frames and arithmometers.

MQL4 Language for Newbies. Custom Indicators (Part 1) MQL4 Language for Newbies. Custom Indicators (Part 1)

This is the fourth article from the series "MQL4 Languages for Newbies". Today we will learn to write custom indicators. We will get acquainted with the classification of indicator features, will see how these features influence the indicator, will learn about new functions and optimization, and, finally, we will write our own indicators. Moreover, at the end of the article you will find advice on the programming style. If this is the first article "for newbies" that you are reading, perhaps it would be better for you to read the previous ones. Besides, make sure that you have understood properly the previous material, because the given article does not explain the basics.

Indicator Taichi - a Simple Idea of Formalizing the Values of Ichimoku Kinko Hyo Indicator Taichi - a Simple Idea of Formalizing the Values of Ichimoku Kinko Hyo

Hard to interpret Ichimoku signals? This article introduces some principles of formalizing values and signals of Ichimoku Kinko Hyo. For visualization of its usage the author chose the currency pair EURUSD based on his own preferences. However, the indicator can be used on any currency pair.