Remote network connection using Terminal Services

Source: Internet
Author: User
Tags website server
What is a terminal service?

In layman's terms, Terminal Services are actually services that allow remote access to Windows desktops through a "client" software. The terminal service transmits the user interface of the program to the client, and then the client returns the keyboard and mouse clicking action for the server to process. Each user can only see his/her personal session after logging on. The session is managed transparently by the server's operating system and independent from any other client session (hey, a little dizzy ?). That is to say, multiple people can log on to the terminal server on different computers at the same time.

How to enable the terminal service?

So much, we will take Windows 2003 as an example to teach you how to enable the terminal service. In fact, after we have installed win2003 Enterprise Edition, we already have a Super Terminal service, but it is not installed by default in the installation mode. We need to manually add this service after the system is installed, the installation process is as follows:

1. Run the Start menu and select the control panel.

2. In the control panel, we can see a wide variety of System Configuration interfaces. We need to select "Add/delete programs" to add Terminal Services for Windows.

III. after "Add/delete programs" is selected, three button options are displayed on the left. The first two buttons are used to manage Windows applications, such as installing or deleting applications. You can select the third "Add/delete Windows Components" button to add Terminal Services for Windows. After selecting this button, the "Windows component wizard" appears ".

4. In the "Windows component wizard" window, we can add many Windows Services, such as email services. You can add them here if you need them in the future. Select the "Terminal Server" component from the drop-down menu on the right.

Because Windows 2003 is much more secure than the previous system, after you hook up the "Terminal Server", an incoming dialog window will pop up to remind you, press "yes" to continue.

5. The system will prompt you to add the user to the Remote Desktop user group before the user can connect to the terminal server. As for how to add a user to the Remote Desktop user group, we will talk about how to proceed with the next step.

6. at this time, the system will require you to select a mode. If you use the "full security mode", after logging on to the terminal server with a client program on another computer, the permissions will be greatly limited, for example, you cannot access the registry and system folders. So here we select "loose security mode". In this way, when we connect to the terminal server, we have the permission to access the registry and system folders,

7. Click "Next" to start installation. The system will prompt you to insert the win2003 installation CD later.

8. Follow the prompts to insert the win2003 system installation disc. The installation will continue. After the installation is completed, press "finish" to complete the installation.

9. If the system prompts you to restart the computer, click "yes" to restart the computer.

10. After the system is restarted, we need to place the user to the remote user group, because if the user is not added to the remote user group, the terminal server cannot be logged on even if the user is an administrator. The following uses a Ricky user as an example. Run Programs> Administrative Tools> Computer Management in the Start Menu. The computer management window is displayed. In the computer management window, we can set many windows options in detail. For example, we can manage computer hard disks and partition or format them directly in windows, you can enable or stop system services.

11. Here we only need to use the user management function in Computer Management. Double-click "local users and groups" in the "Computer Management" window, and then select "users" to list all users on the computer, the Ricky user is displayed in the window on the right.

12. Right-click the Ricky user and a menu will pop up. Select "properties" and the following window will appear. Here, we can set detailed permissions for the Ricky user, such as disabling the user and forcing the user to change the password upon next login. Select the "affiliated" tab, click the "add" button below, and enter "Remote Desktop Users" in the text box, as shown in. Add the Ricky user to the Remote Desktop user group so that the user can log on to the terminal server. Next, select the "Remote Control" tab, click "enable remote control", and click "OK", as shown in. In addition, because the terminal server allows multiple people to log on together at the same time, if you want Ricky to view others' sessions (that is, to view what others are doing ), you can also control the sessions of other users (that is, the operations performed by others when they log on to the terminal). The specific settings are based on your own needs. Now, we have configured the terminal server.

How can I use a peanut shell to access terminal servers using dynamic IP addresses?

Currently, most users access the Internet through ADSL. After each Internet access, the IP address changes and it is inconvenient to connect to the client program of the terminal service. But it doesn't matter. We can use the "peanut shell" software to connect terminal servers with domain names.

 

1) download and install the client of the peanut shell. Then run the peanut shell software, click "register peanut passport", and follow the prompts in the pop-up registration Passport window to register. After registering a peanut passport, use the registered passport name and password to fill in the peanut shell software for login.

2) Right-click "free Domain Name" to register a free domain name. In this way, no matter how the IP address changes after the Internet access, you only need to remember this domain name to connect to the terminal server, which is very convenient.

3) follow the prompts to activate the Dynamic DNS service for free domain name peanut shells applied in the previous step. When the domain name is activated, the peanut shell software is already online. The free domain name we applied for has been bound to the current public IP address. The Internet can directly access the current public IP address through the applied domain name.

4 ). the remote terminal service client tool has been provided in the XP and win2003 system environments, and the Start menu is displayed, select "program"> "communication"> "Remote Desktop Connection" (In win2003, choose start-run-tsmmc. MSC calls up Remote Desktop Management. This tool takes the Remote Desktop function as the priority. If the remote desktop service is not enabled on the computer, it is directly connected to the terminal service. What is the difference between remote desktop and Terminal Services? Google it .), Enter the requested peanut shell domain name and press the "Connect" button to display the Windows login screen. At this time, you can log on with the Ricky account, as shown in. (If the client program is not installed on our computer, you can download it to the client by searching for the terminal service LOGIN device on the Internet. Generally, the size is only several hundred kb .)

After logging on to the terminal server, all our operations are the same as we did on our own in front of a remote computer. We connected the company to the Internet and chatted about QQ at home through the terminal service client, it has completely broken through the various limitations of the company's network management. If he sees it, he will be mad at him.

Some may worry that what if the network administrator closes the external port 3389 connected? It doesn't matter. Let's modify the port used by the terminal service and use another port instead.

On the server side, select "run" in the Start menu and enter "Regedit". (1) locate HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WDS \ rdpwd \ TDS \ Tcp, have you seen the portnumber on the right? Change the port number you want in decimal format, such as 8888, as long as it does not conflict with the existing service port of other systems. (2) continue to find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ winstations \ RDP-TCP. The method is the same as above. Remember to change the port number as above. Of course, do not forget to restart after modification.

2. finally, we need to modify the connection port of the client program, Run "Remote Desktop Connection", click "option", and then click the "Save as" button below to save the configuration file, the default file name is "default. RDP ". Then open the file in Notepad. If the port number on the server is changed to 8888, add "server port: I: 8888" to the file ". After saving and exiting, press the "open" button to open the configuration file we just saved, and you will be able to connect to the terminal server with new settings.

What do you think is amazing? Of course, there are more built-in services in Windows 2003. The use of peanut shells is not only here, but we can even use it to build a private FTP server, or, you can use your computer to create a website server (even the cost for purchasing space and domain names is saved ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.