1-Terminal Server.ppt


Published on

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

1-Terminal Server.ppt

  1. 1. Terminal Server © N. Ganesan, Ph.D.
  2. 2. Reference
  3. 3. Thin-Client Concept <ul><li>Thin-Client concept tutorial </li></ul>
  4. 4. Terminal Server <ul><li>Microsoft’s implementation of thin-client computing or server based computing </li></ul><ul><li>The concept is similar to the main-frame based computing of the past </li></ul><ul><li>Terminal server uses the Remote Desktop Protocol (RDP) to communicate </li></ul>
  5. 5. Terminal Server Encryption <ul><li>The communication is secure and it is encrypted </li></ul><ul><ul><li>The connection is secured by a 128 bit, RC4 bi-directional encryption </li></ul></ul>
  6. 6. Terminal Server Installation
  7. 7. Initiating the Installation <ul><li>Launch Configure Your Server wizard from the Administrative Tools </li></ul><ul><li>Launch the configuration for Terminal Server </li></ul><ul><li>The automatic initial installation will proceed until completion </li></ul>
  8. 8. Installation in Progress
  9. 9. Installation at Completion
  10. 10. Terminal Server Licensing Information <ul><li>A licensing server must first be installed to distribute licenses to clients </li></ul><ul><li>The licensing server must then be activated </li></ul>
  11. 11. Terminal Services Licensing
  12. 12. Terminal Server Activation
  13. 13. Terminal Server Management
  14. 14. The Tools <ul><li>Terminal Services Manger </li></ul><ul><li>Terminal Services Configuration </li></ul>
  15. 15. Terminal Services Manager
  16. 16. Terminal Services Manager <ul><li>View and manage users, sessions or processes </li></ul><ul><ul><li>For example, sessions and processes can be terminated etc. </li></ul></ul>
  17. 17. Terminal Services Configuration
  18. 18. Connection <ul><li>Each connection property can be managed </li></ul><ul><li>Examples: </li></ul><ul><ul><li>Change encryption level </li></ul></ul><ul><ul><li>Enable standard Windows authentication </li></ul></ul><ul><ul><li>Specify user permissions </li></ul></ul><ul><ul><li>Etc. </li></ul></ul>
  19. 19. RDP-TCP Properties
  20. 20. Server Settings
  21. 21. Troubleshooting Logon Problems
  22. 22. Some Logon Problems <ul><li>No permission to logon interactively </li></ul><ul><ul><li>The settings need to be changed from the group policy object editor by the administrator </li></ul></ul><ul><li>No access to logon to a session </li></ul><ul><ul><li>Assign permission to the user to logon from the Terminal Server Configuration MMC </li></ul></ul>
  23. 23. Permission to Logon Interactively
  24. 24. Local Policy Permission Not Granted
  25. 25. Problem and Remedy <ul><li>Problem </li></ul><ul><ul><li>The group policy of the terminal server does not allow logon interactively </li></ul></ul><ul><li>Remedy </li></ul><ul><ul><li>Change settings from the group policy object editor by the server administrator </li></ul></ul>
  26. 26. Steps to Remedy <ul><li>Open gpedit.msc and navigate as follows: </li></ul><ul><ul><li>Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment </li></ul></ul><ul><li>From “Allow Log on Locally” entry in the Policy list, grant local access to the user </li></ul>
  27. 27. Granting Local Logon Permission
  28. 28. Permission to Logon to a Session
  29. 29. Permission Not Granted to Logon to a Session
  30. 30. Remedy <ul><li>Open the Terminal Services Configuration, double click the RDP option in the main window and go to the permissions tab </li></ul><ul><li>Select Add and choose your account before pressing OK and assigning the right permissions to that account </li></ul>
  31. 32. Terminal Server Access
  32. 33. Access Options <ul><li>Using the web browser </li></ul><ul><li>Using the Remote Desktop </li></ul>
  33. 34. Web Browser Access
  34. 35. Web Access Notes <ul><li>ActiveX execution must be enabled </li></ul>
  35. 36. Web Based Access
  36. 37. Remote Desktop Access
  37. 38. Remote Desktop Access Screen
  38. 39. Remote Desktop Connection <ul><li>Installed automatically by Windows XP </li></ul><ul><li>The options button can be pressed for addition tabs to be shown on the initial connection screen as shown in the previous screen </li></ul>
  39. 40. Connecting to the Terminal Server Using a Command <ul><li>“ mstsc -v:servername /F –console” </li></ul><ul><ul><li>‘ mstsc’ represents the remote desktop connection executable file </li></ul></ul><ul><ul><li>-v specifies the name of the server </li></ul></ul><ul><ul><li>/F is for full screen mode </li></ul></ul><ul><ul><li>– console indicates the connection is to be made to the console </li></ul></ul>
  40. 41. Accessing from a MAC Computer <ul><li>A terminal services client can be installed for the MAC OS you can download it from here. Once it is </li></ul><ul><li>In this case, a windows-based operating system can be run from a Macintosh computer using the terminal services </li></ul>
  41. 42. Connecting without a User Name and a Password <ul><li>From the server side, open Group Policy Object Editor (gpedit.msc), double click Administrative Templates > Windows Components > Terminal Services and then choose Encryption and Security </li></ul><ul><li>Open the properties box of ‘Always prompt client for password upon connection’ and disable it </li></ul><ul><li>From the client side, open Remote Desktop Connection, and in the general tab enter the logon credentials in the appropriate boxes </li></ul>
  42. 43. Installation of the Remote Desktop Web Administration <ul><li>The web client can be installed from the Add/Remove windows components. </li></ul><ul><li>Select the options under the World Wide Web components section in the IIS 6.0 option. </li></ul><ul><li>Install the Remote Desktop Web Administration component </li></ul>
  43. 44. Installation of Additional Tools <ul><li>Available in the Windows 2003 resource kit </li></ul><ul><li>Executing the self-extractable file tsscalling.exe will install the tools </li></ul><ul><li>The tool will aid in scalability planning of terminal services. </li></ul>
  44. 45. Management of Applications <ul><li>The terminal server will, in general, run multiple applications for multipleusers </li></ul><ul><li>It is important to close all inactive applications to improve the processing efficiency of the terminal server at all times </li></ul>
  45. 46. Remotely Restating the Terminal Server <ul><li>Use the tsshutdn command. </li></ul><ul><li>tsshutdn wait_time /server: server_name /reboot /powerdown /delay: log_off_time </li></ul><ul><ul><li>wait_time is the waiting time in seconds before a user is logged off from a session. The default time is 60 seconds </li></ul></ul><ul><ul><li>server_name specifies the name of the terminal server </li></ul></ul><ul><ul><li>log_off_delay is the waiting period in seconds between the time the users have been logged off from the session and the time before all processes are ended prior to the computer being shut off. The default time is 30 seconds. </li></ul></ul>
  46. 47. Disconnect and Logoff <ul><li>Disconnect only disconnects the connection as the processes started by a user will still be running on the computer </li></ul><ul><li>Log off releases all the resources used by a user before the logoff process </li></ul><ul><li>Therefore, instead of just disconnecting from a session or closing the remote desktop window, choosing the logoff option will free up resources for other users to use </li></ul>
  47. 48. Changing Port Number <ul><li>By default, Terminal Services runs on TCP and UDP port 3389. </li></ul><ul><li>Port number can be changed by opening the e registry editor (regedit.exe) and navigating to the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminalServerWinStationsRDP-Tcp key. </li></ul><ul><li>Port number specified in the DWORD PortNumber can be changed to reflect the new port number </li></ul>
  48. 49. Important <ul><li>As the terminal server runs many applications, it is important to optimize the server for efficiency </li></ul><ul><ul><li>For example, the disk may have to be defrgmented to continue to be able to maintain good data throughput </li></ul></ul><ul><li>A fast server is invariably required to support the Terminal Server </li></ul>
  49. 50. The End