Windows 7 Terminal Services Configuration

Posted on

Windows Vista Computer Configuration- Administrative Templates- Windows Components- Terminal Services- Terminal Server- Security. Windows 7, Windows 8, Windows 8.1, Windows 10 or Later Computer Configuration- Administrative Templates- Windows Components- Remote Desktop Services- Remote Desktop Session Host- Security. Start Programs Administrative Tools Terminal Services Configuration (2003, 2008) or Remote Desktop Session Host Configuration (2008 R2) Double click on RDP-tcp Properties in the right-hand window. Uncheck the Always Prompt for Password checkbox on the Login Settings tab. Note: In 2012, this must be done via Group Policy or Registry Key. The lifeblood of Terminal Services is now called 'Remote Desktop Connection', which can be run by typing the following command into the 'Run' box of Windows 2000, XP, Vista, and 7: mstsc Cool Fact: Although the program is now called Remote Desktop, the command is still mstsc because it means M icro s oft T erminal S erver C lient, because it. Terminal services configuration: Start-menu, Administrative Templates, Remote Desktop Services, Remote Desktop Session Host Configuration or follow this 'computer config policies admin templates windows components terminal services terminal server printer redirection:': Open Group Policy Management or write gpmc.msc in search.

Configuration

Windows 7 Terminal Services Configuration Tool

Engineering Software‎ > ‎Using Linux‎ > ‎

How to configure Putty & Xming (on your laptop)

Why do you need to use Putty & Xming?

  • Putty is terminal emulation software.
    • Use it when you log into a Linux server from a Windows computer.
  • You can use be using Putty alone or with XMing
    • You need Xming to display graphics such as an image from the remote Linux server.
  • Putty and Xming are easy to set up on your laptop.
    • The alternative is to use Linux on your laptop, either in dual boot mode or in a virtual setup.
    • If you have a Mac you can use the terminal application.
  • If you are off-campus, you need to use UCI's VPN Service in order to access Linux servers located on-campus.
    • First login to campus VPN, then login to your Linux Server.
What is Putty?
PuTTY is a client-side terminal emulator software for the SSH network protocol.
These protocols are all used to run a remote session on a computer, over a network. PuTTY implements the client end of that session: the end at which the session is displayed, rather than the end at which it runs.
In really simple terms: you run PuTTY on a Windows machine, and tell it to connect to (for example) a Unix machine. PuTTY opens a window. Then, anything you type into that window is sent straight to the Unix machine, and everything the Unix machine sends back is displayed in the window. So you can work on the Unix machine as if you were sitting at its console, while actually sitting somewhere else.

What is XMing?

XMing is a free X window server for Microsoft Windows. It allows one to use Linux graphical applications remotely. A detailed description may be found at the software’s home page.

Contents



Installation & Configuration of Xming

Prerequisite: If you are trying to connect to on-campus Linux servers while you are off-campus, then you'll need to download & install campus VPN software.
  • UCI's VPN Service
  • Use the option for UCI or UCI Full.
  • Use your UCINetID to login.

1) Download & install XMing

  • http://www.straightrunning.com/XmingNotes/
  • *Note: if the download link asks for username/password then download a free version by searching “Xming download” in Google and choosing the sourceforge download website

  • I prefer to install it to a location with no space in it's path, such as C:Apps

3) Download & install XMing Fonts

  • http://www.straightrunning.com/XmingNotes/

4) Configure XMing

  • Click on XLaunch.exe in your install directory:

5) Select Mulitple Windows and type the number 0 for Display number. Click Next.



6) Select Start no client then click Next.



7) Click Next. Do not change anything.



8) Click on Save Configuration.



9) Save configuration to the same directory as config.xlaunch.




10) Configure XMing to start at login (Optional step).

  • If you want XMing to start automatically when you login then do this:
  • Put a shortcut to the config.xlaunch file in All Users startup directory:
  • Windows 7:
  • C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup


*Note: ProgramData may be a hidden folder and may not be listed under C:
  • if this is the case go to the Start Menu search bar and type:
    • C:ProgramDataMicrosoftWindowsStartMenuProgramsStartup
    • Press “Enter.”
  • The proper folder should open up.
  • Copy over to this location a shortcut to config.xlaunch.


Installation & Configuration of Putty


1) Download Putty

  • Go to:
    • It's just an executable so there's nothing really to install.
  • Save putty.exe to C:Apps
  • Make a shortcut to it and place the shortcut on your desktop
  • I install Putty Portable in the computer labs so that password are not saved.
    • http://portableapps.com/apps/internet/putty_portable

2) Configure Putty by following the steps below:

  • Open putty.exe. This is what you will see:


3) In the box under Saved Sessionstype maegrad.eng.uci.edu (or name of your Linux server).

  • Then click on the Save button to the right.



4) Click on the maegrad.eng.uci.edu saved session that you just created. Then click on the button Load.



5) Configure X11 Forwarding.

  • On the left hand side, find the X11 configuration category by double-clicking on SSH and then clicking on X11.
  • In this window, make sure the box label Enable X11 forwarding is checked.
  • Make sure MIT-Magic-Cookie-1 is selected.
  • Once complete, click Open at the bottom of the window.


6) Login

  • You will now see a command line screen that will prompt you to enter your username.
  • Log in with your UCI username.

7) Enter a password.

  • Your password will be the same password used to log in to your UCI student account.
    • You will quickly notice as you type your password, no characters appear on the screen.
    • This is completely normal
  • Once you are finished typing your password, press Enter.

8) Verify items in your path

  • Once successfully logged in, enter the commands:
which firefox
which xclock
  • You should see:


  • If you don’t receive an error message (see below) then you know they are in your path and can be called.

1) To run a final test to see if you have successfully installed Putty with XMing

  • Enter the command
  • After several seconds a new window should appear depicting a small analog clock.
    • This is what you should see;


2) If you want, you can also enter the command

firefox
  • which would open up a Firefox web browser in a new window.
  • (Note: testing the command ‘firefox’ will take a little longer for the firefox web browser to appear than testing ‘xclock’)

Congratulations! You have successfully installed Putty with XMing!



You Tube - X11 Forwarding using Putty on Windows

Putty and Xmin



Optimizing RDP client/server for casual use. Make it use less bandwidth. Get higher throughput and adaptive transfers.

Back in 2011 I wrote a blog post on optimizing RDP in Windows 7. I’ve been thinking of updating that post for some time, and now finally got around to it. Ccna packet tracer free download utorrent.

Open Terminal Services Configuration Windows 7

Configure terminal server 2016

Since sometime around 2000 I have been working remotely over RDP. It is my preferred way of working since it allows me to have one main computer and my laptops are just a terminal. I have worked on low bandwidths, high bandwidths and everything in-between. For the most part the default settings served me well, but in some cases you may want to optimize it a bit further – and this is where this guide may be of help.

If you do not want to dig into the dirty details then just follow this list.

  1. Open up UDP port 3389 in your firewall/port forwarder. Both TCP and UDP should be open.
  2. Open Group Edit: gpedit.msc
  3. Navigate to “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session Host”
  4. Set “Configure compression for RemoteFX data” to “Enabled” and “Optimized to use less network bandwidth” (if you have enough RAM, or “Balances memory and network” or “Optimized to use less memory” if not.)
  5. If you always connect through LAN/VPN then disable host-to-client encryption: Go to “Security” and set “Set client connection encryption level” to “Low level”. (Warning: Do not do this if you are not on a secure network.)

Enable UDP

Of course you have to open/forward TCP port 3389 to enable RDP. Since RDP 8.0 (came as an update to Windows 7 and Windows Server 2008 R2) there has been some additional improvements to the protocol. Notably an UDP connection has been added for adaptive/lossy transfer. Microsoft describes it as: “This feature offers advanced techniques such as intelligent and adaptive UDP transports, network loss tolerance, and recovery to provide a fast and fluid experience to users on a WAN.” The immediate effect I spotted when opening the UDP port was that sound and picture was synced in videos, and that I could run a fullscreen 1080p (cartoon) video smoothly over a remote connection. The video was encoded in lower quality than its source, but it still played and the RDP connection worked smoothly.

Windows 7 terminal services configuration manager

Enable/forward UDP port 3389. Meaning that you will have both TCP and UDP port 3389 open/forwarded to your RDP host.

PS! If it is unclear what “enable/forward” means: The ports have to be opened in any firewall (local or on network), and in the case of NAT the port has to be forwarded.

PS2! This feature is default set to “on”. For information about this feature and where you can disable it on the host computer go here.

Configure compression

Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostRemote Session Environment”.

Terminal services configuration tool windows 7

In “Configure compression for RemoteFX data” change the compression level to what suits you best. Note that “Do not use an RDP compression algorithm” will use a lot of bandwidth. Set this to “Optimized to use less network bandwidth” if you suspect bandwidth is your bottleneck.

Up to Windows 7 this option was called “Set compression algorithm for RDP data”.

Configure encryption

Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostSecurity”.

The setting “Set client connection encryption level” allows you to change the encryption level of your connections. For most cases it is strongly recommended to keep encryption enabled. Setting it to “Low level” will encrypt data sent from the client to the server (mouse/keyboard), while not encrypt data sent from the server to the client. The setting “Client Compatible” will attempt to negotiate the strongest supported encryption by both ends. The setting “High level” (recommended) will use 128-bit encryption in data both sent and received.

Terminal

Note that decrypting data is not a CPU-intensive operation, therefore encryption has very little/no impact on the client.

  • If you minimize your RDP window (on the client) it will not use any bandwidth. Useful if you are working over a metered connection (mobile).
  • Default setting is for the client to cache bitmaps. This is nice for slower connections, but on a LAN connection it can quickly lead to slowdowns when reading/writing cache on disk.
  • It could be worth checking out other vendors
    • Ericom Blaze RDP Accelerator http://www.ericom.com/ericom_blaze.asp
    • Riverbed https://splash.riverbed.com/thread/5874 (network level compression, requires disabling RDP compression and encryption)

If you are the admin of a RDP host server and you want to put certain limitations on your users there is a whole set of options you can change. To mention some:

  • Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostConnections”
    • Restrict users to a single RDP session
    • Limit number of connections
    • Automatic reconnection
  • Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostDevice and Resource Redirection”
    • Disable audio/video redirect
    • Limit audio quality
    • Disable clipboard, COM/LPT-ports, drives, plug and play devices and smart card redirection
  • Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostPrinter Redirection”
    • Disable/configure printer redirection (printing from RDP to local printer)
  • Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostProfiles”
    • Enforce and limit roaming profiles for RDP users
  • Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostRemote Session Environment”
    • Limit colors, resolution, number of monitors
    • Start a program on connection
    • RemoteFX settings for virtual hosts
  • Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostSecurity”
    • Always prompt for password
    • Require encryption
  • Under group policy “Computer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostSession Time Limits”
    • Configure session timeouts

If your desktop host is a Windows 7 or higher running as a HyperV virtual machine guest OS then you can enable RemoteFX. RemoteFX requires a compatible graphics card, and in short it gives your RDP session into the virtual host access to GPU hardware. For example I successfully started Battlefield 4 by RDP’ing into a Windows 8 virtual guest OS. It ran remotely (around 20Mb network connection) and it was very laggy (around 10 fps), but it did run nevertheless.

Terminal Services Configuration Windows 10

Note that RDP settings for RemoteFX is a separate set of options located side-by-side with the options described above.