How to enable remote desktop. Connect to a remote desktop using the built-in RDP client in Windows

In all editions of Windows since XP, there is a standard RDP client that is used to connect to the Remote Desktop Service. In this article I want to describe in detail the features of this program.

The RDP client is used to connect to a terminal server using the Remote Desktop Protocol, or via Remote Desktop. You can also read about installing the server with a terminal on this site.

You can start the program "" from the menu " Start» — « All programs» — « Standard» — « Remote Desktop Connection", or by running the command mstsc.exe(to do this, press the key combination WIN+R and enter the name of the command in the window that appears " Execute"). Accordingly, the executable file itself mstsc.exe located in the directory C:\Windows\System32. For convenience, you can move the shortcut to the worker with the specified settings.

In the window that appears, you need to enter the ip-address or the name of the server to which you want to connect.

When you connect, you will be prompted to enter your credentials. After entering, you will be taken to the desktop of your server.

To change the settings, click on the link " Show Options» in the main program window.

In the menu that appears, you can configure the parameters you need, which will be used when connecting.

On the second tab Screen» Configures the size of the connected remote desktop and the color depth for the remote session. You can also remove the connection panel that completely leaves the top, but I do not advise you to do this, since close the connection through Alt+F4 will not work if the settings include the use of the keyboard shortcut " on a remote computer", and it will be possible to close the connection only through the "Task Manager".

On the tab " Local Resources» set up audio transmission - recording and playback. To configure, press the button Parameters».

It is also configured here Using keyboard shortcuts', which I wrote about above.

On this tab, you can configure enabling or disabling "Printers" and "Clipboard", which will be used during a remote session, by unchecking or, conversely, setting the flag of those parameters that you need.

And if you click on the button More”, then it will be possible to establish a “Smart card” connection, if, of course, you have a Smart card with credentials, you can also connect any disk or DVD and CD-ROM of the local computer from which the connection is made.

On the tab " Programs» you can configure the launch of the program that will automatically start when the user logs on to the remote desktop. The working directory of the user is also configured here.

On the next tab " Interaction”, you can specify the connection speed with the terminal server and specify those parameters that are needed or not needed to improve performance. Although in our time of high-speed Internet, these settings are no longer relevant, so you can safely leave auto-detection.

On the tab " Additionally» Set up server authentication.

You can also set up a connection through Remote Desktop Gateway by clicking the " Parameters».

To save all the set parameters, you need to go to the tab " Are common» and save the settings as an RDP connection shortcut in any place convenient for you and with any name.

Through the shortcut thus obtained, you will connect to the remote desktop with the previously made and saved settings.

Did this article help you?

home > Operating systems > Windows

Connecting to Windows 7 via Remote Desktop

In Windows 7 (as well as in previous versions of Windows starting with XP), there is the ability to work on a computer remotely using a running Terminal Connections service. To access a computer with a running service, use the Remote Desktop Access program, which is present by default in all versions of Windows starting from XP.

When working, the latest version of the RDP protocol (Remote desktop protocol v.7) is used, in which the work with multimedia data (video and sound transmission) has been greatly redesigned, as well as performance has been increased.

Attention! Access to the computer is possible from under any edition of Windows 7. But you can open access only on a computer under a professional or maximum edition.

In this article, I'll show you how to set up remote access on a computer running Windows 7 and then how to connect to this computer over the Internet or over a network. It should be remembered that only 1 user (including a remote user) can work on the computer at a time, so when a remote user connects, all other active users will be disconnected.

To enable remote access on a computer running Windows 7

To connect to a computer with remote access enabled

To connect to such a computer, you need to know the IP address of the computer or the name of the computer on the network.

To find out the IP address, launch the command line and run the "ipconfig" command in it. Find your connection in the list that appears (usually "LAN connection" or "wireless connection") and look at the IPv4 address - this will be the set of numbers you need.

Some additional undocumented settings

As I said above, the connection is made via the RDP protocol, and port 3389 is used for connection. To change the port number (and this can be useful if your computer is directly connected to the Internet), you must do the following.

Remote Desktop Protocol (RDP) is a technology that allows you to remotely connect to your computer's desktop. Initially, RDP is a server technology, but Microsoft, in an effort to please its users, starting with Windows XP began to include Remote Desktop in all client operating systems. The latest version of the client OS, Windows 8, was no exception.

Remote Desktop is available in the following versions of Windows 8:

  • Windows 8 Enterprise
  • Windows 8 Professional

In order to use RDP in the basic (Core) version of Windows 8, you will have to upgrade the OS to the Pro version.

By default, for security reasons, Windows 8 remote desktop access is disabled, in this article we will look at several ways to enable remote desktop on Windows 8 clients.

How to Enable Remote Desktop in Windows 8 from the GUI

The easiest and most familiar way to enable rdp is to use the Windows GUI. This operation must be performed under an account with local administrator rights. Launch management console System(You can find it in the Control Panel, or in File Explorer by right-clicking on the Computer icon and selecting the Properties menu).

Open the remote connection settings window by clicking on the link in the left column Remote settings(the same window is called by the command SystemPropertiesRemote.exe).

To allow remote rdp access to this machine, set the radio button to Allow remote connection to this computer(For a more secure connection, you can allow connections only from rdp clients with – Allow connections only from computers running Remote Desktop with Network Level Authentication) and click OK.

By default, members of the local administrators group have rights to remotely connect to the computer's desktop. Additional users can be specified using the button Select Users.

Now you can connect to this PC with Windows 8 remotely using an rdp client (by the way)

In the event that Windows Firewall (firewall) is enabled on the computer, you need to check that it allows incoming rdp connections. Go to control panel and select item Windows Firewall l. Open the list of predefined Windows Firewall rules by clicking on the link in the left column Allow an app or feature through Windows Firewall. Check that the rule Remote Desktop enabled for the Private profile (home or work network) and, if necessary, for the Public profile (public networks).

Enable RDP access using group policies

In the event that you need to enable RDP on a large number of PCs at once, the capabilities of group policies will come to our aid (it is assumed that all computers).

Create a new (or edit an existing) group policy and bind it to the target OU.

We are interested in a parameter named Allow Users to connect remotely by using Remote Desktop Services, located in the section Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections. Open this option and change its value to enable.

After applying this policy, all target computers will become available for remote desktop connection. This policy allows you to enable RDP access on both Windows 8 and Windows Server 2012 clients.

If Windows Firewall is enabled on computers, you must allow RDP traffic in the firewall's domain profile. To do this, you need to activate the rule Windows Firewall: Allow Remote Desktop Exception(located under Computer Configuration -> Administrative Templates -> Network -> Network Connections -> Windows Firewall -> Domain Profile).

Remote enable RDP in Windows 8

Above, we looked at ways to enable Remote Desktop locally in Windows 8 and bulk activate it in a domain using Group Policy. Next, we will analyze specific techniques for remotely enabling RDP over a network using various tools.

Naturally, we assume that the remote PC is accessible over the network (access is not blocked by a firewall) and you have local administrator rights on it.

Turn on Remote Desktop remotely through the registry

RDP in Windows 8 can be activated remotely using the ability to modify the registry through the remote registry service - RemoteRegistry. By default, the RemoteRegistry service in Windows 8 is disabled for security reasons. To enable it, connect to a Win 8 PC using the console computer management, go to section Services and Applications -> Services, find a service Remote Registry, change the startup type to Manual(manual) and then start the service − Start.

The same can be done remotely using the sc commands (allowing you to create, manage or ):

Sc \\Win8_RDP_PC..site start RemoteRegistry

Then, on your machine, run the registry editor regedit.exe, select the File menu item (Connect Network Registry), specify the name or IP address of the Windows 8 computer on which you want to enable RDP.

Go to section HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server. Find the parameter fDenyTSConnection(type REG_DWORD). If this key does not exist, create it.

The fDenyTSConnection key can take the following values:

  • fDenyTSConnection=0- Remote Desktop enabled
  • fDenyTSConnection=1- Remote Desktop disabled

Those. to enable RDP access to this computer, set this parameter to 0 . Immediately after that, without rebooting, the remote computer with Windows 8 should become available via RDP.

Enable remote desktop over the network from the command line

The remote registry modification trick above can be done even more easily and elegantly with just one command. The REG ADD command will come to our aid, which allows you to add and change data in the Windows registry. Not everyone knows that it can work with the registry of a remote computer (as in the previous case, the Remote Registry service must be enabled on the target computer).

A command to remotely enable RDP on a client computer named Win8_RDP_PC might look like this:

REG ADD "\\Win8_RDP_PC\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f

Enable RDP with PowerShell

And finally, let's deal with another method of remotely enabling PowerShell. Let's use the connectivity options from PowerShell to WMI.

Open the Powershell console and run the following PoSh commands in sequence:

$ts=get-WMIObject Win32_TerminalServiceSetting -computername Win8_RDP_PC $ts.SetAllowTSConnections(1)

Where Win8_RDP_PC is the name of the Windows 8 computer on which you want to enable RDP.

If Remote Desktop needs to be disabled, the second command should be.

Greetings, dear readers, and Denis Trishkin is in touch again.

I recently came across a question like "Remote Desktop" (RDP Windows 7). This tool allows you to work with your computer using another device. So, for example, the user can use home equipment to perform all the necessary functions on a PC located in the office. Agree, in some situations this opportunity is convenient. But at the same time, you first need to debug everything correctly.

In order to enable rdp, you need to perform a few steps:

    Check the presence of a password on the account through which the connection will be made. And if not, install it. Otherwise, the relationship will fail.

    Set up rdp server:

    - go to " Start”, and on the icon “ Computer» call the context menu, and then « Properties»;

    - select "";


    increase

    - a window will appear in which we click " Allow Remote Assistance Connections…"(if you plan to connect only from equipment on Win 7 and higher, it is better to check the box next to the item with authentication);

    increase

    - the "" button restricts or allows the user to use the computer remotely (if you set a ban, the person will only see what is happening on another computer);

    - on the tab " Select Users» indicates people who can connect to the device remotely (in this case, everyone must have a password set).

    Important! Windows does not provide the ability to connect multiple users at the same time. It is specifically licensed. A special patch from a third-party development team is provided for removal. It can be easily found on the Internet.

  1. In the case of using an access point, router or any other equipment through which the Internet is connected, you must first forward the ports. Or it is possible to use DMZ - setting the desired settings through a single computer.

    It is important to have an external dynamic or static IP address.

Establishing a connection( )

To establish an rdp connection, you first need to know its IP address. To do this, on the desired device, go to the command line (open "" and write " cmd»).

In the window that appears, indicate "". A list will open in which you need to find the line with the IPv4 parameter. The numbers that are indicated opposite are the data we need.

After that, on the computer from which we plan to connect, we launch the rdp client or "". To do this, you need to go to Start" and then go to " Standard».

increase

A window will open where the equipment address (IPv4) is set. Then press "".

If everything is specified as expected, a menu will appear in which you need to enter your login and password to establish a connection.

Before that, there is a choice of " Parameters”, where various rdp settings are provided:

Update( )

It is important to understand that with constant work with this tool, you need it to perform all its functions 100%. Otherwise, users may simply not achieve their goals.

For correct functioning it is necessary to specify all settings correctly. But in some cases this is not enough. It is also worthwhile to install all outgoing rdp updates from Microsoft on time. This can be done not only in the corresponding center provided in the operating system itself, but also on the developer's official page.

Remote Desktop Protocol or simply RDP allows the user to access a remote computer without direct contact with it. This means that anyone can see all the files on the desktop, run them, work with them as if sitting right at the computer. The only caveat is that work through this protocol will always be limited by the speed of the Internet. Before working with this technology, you must first activate it on the device through which you will log into the remote laptop.

Configuring Remote Desktop Access

How to configure rdp for windows 7? There is nothing easier! Go to the "Start" menu - "Control Panel". Then select "System and Security" - "System". After that, you will see the item "Remote access settings", click on it. Next, a window will appear in which you will need to check the box next to “Allow connections from computers with any version of Remote Desktop”. For the convenience of your work at the computer, do not forget first correctly.

Configuring the client for the RDP protocol

First of all, let's understand what a client is. A client is a system component that sends requests to a server. I note that clients for RPD exist in almost every OS, of course, in Windows 7 too. By the way, for this operating system, the built-in application MsTsc.exe is used.

So, to configure the client, we perform the following simple steps. We go to "Start" - "Run", a window appears in which we enter mstsc and click "Next". To configure normal access without the specified settings, enter in the corresponding field the IP of the computer to which you need access. Next, you will see settings where you can change various options, such as sound. Press "Enter", and that's it, the setup is finished!

Extra options

These include the ability to customize the screen, remote sounds, set up a connection, and more. For example, screen capabilities are edited in the "Display settings" tab. There you can also select the resolution of the remote desktop, its background, color depth. And how to adjust the screen brightness directly on the computer you are currently working on is described in this. In the "Remote sound" section, the musical accompaniment of any actions, etc. is configured.

As you can see, setting up rdp for windows 7 is as easy as shelling pears. After a few minutes, you will be able to work with a remote computer, performing various actions and commands on it, as well as work with files, documents, applications, etc.