{"id":923,"date":"2012-10-10T20:35:04","date_gmt":"2012-10-10T20:35:04","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=923"},"modified":"2012-10-10T20:35:04","modified_gmt":"2012-10-10T20:35:04","slug":"windows-2003-terminal-services-part-2","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=923","title":{"rendered":"Windows 2003 Terminal Services (Part 2)"},"content":{"rendered":"<p>Welcome to part two of my Windows 2003 terminal services article. This  section will be of interest to terminal server administrators and  clients. It includes a step-by-step guide of how to logon to a terminal  server, troubleshooting common logon problems, and a tips section.<\/p>\n<p>A Windows 2003 Terminal Server can be accessed by a windows client  that has Remote Desktop Connection installed or via a web browser  (remote desktop web connection).<\/p>\n<h2>Troubleshooting Logon Problems<\/h2>\n<p>Apart from the obvious logon  error of typing in a wrong username or password, there exists two common  problems that users come across when logging on. These are shown below.<\/p>\n<p><strong>The local policy of this system does not permit you to logon interactively.<\/strong><\/p>\n<blockquote dir=\"ltr\"><p><em><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0011079530916884.jpg\" alt=\"\" \/><\/em><\/p><\/blockquote>\n<p>This error indicates that the group policy of the terminal server  does not allow you to logon interactively. The settings will have to be  changed from the group policy object editor by your administrator.<\/p>\n<p>To do this, open gpedit.msc and navigate to the following section:<\/p>\n<p>Local Computer Policy &gt; Computer Configuration &gt; Windows  Settings &gt; Security Settings &gt; Local Policies &gt; User Rights  Assignment<\/p>\n<p>and after double clicking on the \u201cAllow Log on Locally\u201d from the  Policy list, choose the user that you want to grant local log on access  to and press OK. The image below indicates which section must be clicked  on.<\/p>\n<blockquote dir=\"ltr\"><p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0021079530998275.jpg\" alt=\"\" \/><\/p><\/blockquote>\n<p><strong>You do not have access to logon to this session.<\/strong><\/p>\n<p>The error message below means that you do not have access to logon to  the terminal services session because your account has not been given  the effective permissions from the terminal services manager on the  server.<\/p>\n<blockquote dir=\"ltr\"><p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0031079531027821.jpg\" alt=\"\" \/><\/p><\/blockquote>\n<p>To correct this, open the Terminal Services Configuration, double  click the RDP option in the main window and go to the permissions tab.  Select Add and choose your account before pressing OK and assigning the  right permissions to that account. Now attempt to logon again with that  user account.<\/p>\n<blockquote dir=\"ltr\"><p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0041079531047025.jpg\" alt=\"\" \/><\/p><\/blockquote>\n<h2>Terminal Services Client Logon &#8211; A step-by-step guide<\/h2>\n<p><strong>Web Client<\/strong><\/p>\n<p>The terminal services web client will allow you to logon to a  terminal server from your web browser. This is very handy as it provides  quick and easy access from anywhere.<\/p>\n<p>Open your web browser and in the address bar type the following details:<\/p>\n<p><a href=\"http:\/\/server_name\/tsweb\">http:\/\/server_name\/tsweb<\/a><\/p>\n<p>where server_name is the name of the terminal server (this can also  be the IP address). If the WWW service and the tsweb website has been  started on the server then you will be directed to a page like the one  seen below:<\/p>\n<blockquote dir=\"ltr\"><p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0061079531165415.jpg\" alt=\"\" \/><\/p><\/blockquote>\n<p>Enter the name of the server you want to connect to and choose the  size of the screen before clicking \u2018connect\u2019. If you do not already have  the required ActiveX component installed then you will be prompted to  install it \u2013 click Yes when the window pops up and asks you to confirm  the setup. In my example I have chosen for the screen to use a 800&#215;600  display size. The web browser will act as a place holder for the  terminal services screen to be displayed, as shown in the following  screenshot.<\/p>\n<blockquote dir=\"ltr\"><p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0081079531251009.jpg\" alt=\"\" \/><\/p><\/blockquote>\n<p><strong>Remote Desktop Connection<\/strong><\/p>\n<p>Remote Desktop Connection is installed by default on Windows XP- but  can also be downloaded as a separate application from the Microsoft  website. This is used to initiate a terminal services session from the  client side. To open it type mstsc in the run box or navigate to  Accessories &gt; Communications on the Start menu.<\/p>\n<p>The image below shows the general tab of the Remote Desktop  Connection window, which was expanded by pressing the Options  &gt;&gt;&gt; button on the original window.<\/p>\n<blockquote dir=\"ltr\"><p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0091079531296493.jpg\" alt=\"\" \/><\/p><\/blockquote>\n<p>In this tab you can save your connection settings for future use,  specify which computer you want to connect to and supply the logon  credentials. The other tabs are used for performance related options  like the display size and colour, speed and placement of resources.<\/p>\n<p>Once you have entered the correct logon details press connect to  initiate the session. It is likely that you will be asked to re-enter  the logon credentials \u2013 unless the administrator has disabled the option  from the terminal server.<\/p>\n<h2>10 Tips<\/h2>\n<ol>\n<li>If you want to connect to a terminal server via the command prompt  you can do so by typing the following: \u201cmstsc -v:servername \/F  \u2013console\u201d. \u2018mstsc\u2019 represents the remote desktop connection executable  file, -v specifies which server to connect to, \/F is for full screen  mode, and \u2013console to indicate that you want to connect to the console.<\/li>\n<li>If you need to install a terminal services client for the MAC OS you can download it from <a href=\"http:\/\/www.microsoft.com\/mac\/downloads.aspx?pid=download&amp;location=\/mac\/download\/misc\/rdc.xml&amp;secid=80&amp;ssid=9&amp;flgnosysreq=true\">here<\/a>.  Once it is setup, (given that you have network access and the right  permissions) this will allow you to connect to a windows-based operating  system running terminal services from a Macintosh computer.<\/li>\n<li>You can allow users to automatically logon to a session without  having to type the username and password each time they initiate a  connection. To do this two things have to be done.\n<ul>\n<li>From the server side, open Group Policy Object Editor (gpedit.msc),  double click Administrative Templates &gt; Windows Components &gt;  Terminal Services and then choose Encryption and Security. Open the  properties box of \u2018Always prompt client for password upon connection\u2019  and disable it.<\/li>\n<li>From the client side, open Remote Desktop Connection, and in  the general tab enter the logon credentials in the appropriate boxes.<\/li>\n<\/ul>\n<\/li>\n<li>The web client can be installed from the Add\/Remove windows  components. Go to the World Wide Web components section in the IIS 6.0  option. From there you can find and install Remote Desktop Web  Administration.<\/li>\n<li>Available in the Windows 2003 resource kit is a  self-extractable file called tsscalling.exe. This contains a set of  tools that will aid with the scalability planning of terminal services.<\/li>\n<li>Each application you run uses up valuable resources, which  might be needed by other users so close any programs or windows that you  are not actively using.<\/li>\n<li>If you want to remotely restart a terminal server on the network you can use the tsshutdn command. The syntax is as follows:\n<p>tsshutdn <em>wait_time<\/em> \/server: <em>server_name<\/em> \/reboot \/powerdown \/delay: <em>log_off_time<\/p>\n<p><\/em>wait_time is the number of seconds you want to wait before the user is logged off from a session. The default time is 60.<\/p>\n<p>server_name specifies the name of which terminal server you want to shutdown.<\/p>\n<p>log_off_delay  is the amount of time to wait, after users have been logged off from  the session, before all processes are ended and the computer is  shutdown. The default time is 30 seconds.<\/li>\n<li>Instead of just disconnecting from a session or closing the  remote desktop window, log off \u2013 this will free up resources for other  users.<\/li>\n<li>By default, Terminal Services runs on TCP and UDP port 3389. If  for some reason you have to change that you can do so by open the  registry editor (regedit.exe) and navigating to the  HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\TerminalServer\\WinStations\\RDP-Tcp  key. Look for the DWORD PortNumber and edit that to your needs.<\/li>\n<li>Run disk defragmenter on the terminal server to keep the disk clean, fast and \u2018healthy\u2019.<\/li>\n<\/ol>\n<p>That concludes part two of the Windows 2003 terminal services article.<\/p>\n<p>If utilized correctly, terminal services can be a quick, safe and  reliable tool that will allow application sharing and remote  administration to become part of the package that benefits an  organization and allows administrators to be more flexible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to part two of my Windows 2003 terminal services article. This section will be of interest to terminal server administrators and clients. It includes a step-by-step guide of how to logon to a terminal server, troubleshooting common logon problems, and a tips section. A Windows 2003 Terminal Server can be accessed by a windows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-923","post","type-post","status-publish","format-standard","hentry","category-general-2003-stuff"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=923"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions"}],"predecessor-version":[{"id":924,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions\/924"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}