On Windows, there is a program called "Remote Desktop Connection" (or RDP) that allows you to connect to a remote computer to take control of it.
This is legal and it's possible only if this feature is enabled on the remote PC and if you are authorized to do it.
Note that this program differs from other programs like TeamViewer, Logmein, via VNC protocol, ... Indeed, it's very easy to use Remote Desktop in an internal network, but additional configuration is required to use it over the Internet. Nevertheless, the RDP has the advantage of not using a gateway (unlike TeamViewer, Logmein, ...).
Important : Windows RDP server is only available from Windows Pro edition.
However, the RDP client (Remote Desktop Connection) is available in all editions of Windows.
Source : Remote Desktop - Allow access to your PC.
On Windows Vista, 7, 8, 8.1, 10 and 11, go to the Control Panel -> System and Security -> System.
You can also use the shortcut "Start Menu -> Right click on "Computer" (or "This PC") -> Properties" or the keyboard shortcut "Windows + Pause / Break" on any version of Windows.
Then, click on "Advanced system settings" in the left menu.
On Windows 11, click on the "Advanced system settings" link.
Go to the "Remote" tab and select the "Allow connections from computers running any version of Remote Desktop ..." in the lower part of the window.
It's possible that Windows notifies you that your computer is set up to go to sleep or hibernation, which is the case by default, and which may make your computer unreachable if he goes to sleep before you connect to it.
We will fix this detail later. Click OK.
If you click on the "Select Users" button, you will see that by default, your user account has already an access for the RDP.
This means that you can connect remotely to your computer with this account.
Warning : by default, Windows does not allow remote access over Remote Desktop with an account without password. The password will be considered as incorrect.
If your Windows user account is not protected by a password, you will need to create one in order to use this user account for remote access.
To do this, go to the Control Panel -> User Accounts and Family Safety -> User Accounts : Create your password.
Then, if you want to allow other users and/or groups of users for remote access to your computer, click on the "Add" button.
To add a user or a group, specify its name in the box and click on the "Check Names" button.
Alternatively : click on the "Advanced" button to search and find all user accounts and groups present on your computer.
After enabling the remote access, don't forget to click on "Apply -> OK" or OK to save the changes.
If you had received the warning about standby, don't forget to turn off the computer's standby by going to the Control Panel -> System and Security -> Power Options -> Change when the computer sleeps.
To turn off the "Put the computer to sleep" option, select "Never" for these 2 options or at least for the "Put the computer to sleep" option.
Click "Save Changes".
Now that the Remote Desktop is enabled, try to remotely access to your computer.
To do this, run the "Remote Desktop Connection" program present in the start menu -> Accessories -> Remote Desktop Connection.
To connect to the remote computer (on the same network as your computer), simply indicate the name (also called the NetBIOS computer name) or its local IP address (LAN IP).
If the connection to the remote computer is successful, a login window will appear.
Enter the credentials of a user authorized the remote access on the remote PC and click OK.
If you are authorized to access the remote computer and the password for the user account is not empty, the connection will be made.
When you connect to a computer running a client version of Windows (such as Win. XP, 7, 8.1, ...), it is quite possible that a warning appears about the certificate of the remote computer.
This is quite normal because the default certificate is self-signed.
Check the "Don't ask me again for connections to this computer" and click "Yes".
If you want to use a valid certificate on a client versions of Windows, you will need to go through the Windows registry, because no program with graphical interface exists for client versions of Windows.
Source solution : support.microsoft.com
But, for server versions of Windows, you can use these programs : "tsconfig.msc" and "tsadmin.msc".
As you can see, by default, the wallpaper will be disabled and will be black.
Nevertheless, it's possible to change the default settings of the RDP as we will see in the next step of this tutorial.
Finally, if you go in the start menu, you'll see that you can close your session, but not shutdown or restart your computer remotely.
However, the Windows security strategy doesn't block these functions (shutdown and restart), so we'll use a little trick to be able to shutdown or restart the computer remotely.
The trick is very simple : just use the "shutdown.exe" program present by default in Windows, in command line.
To do this, open a command prompt (cmd.exe) and type one of these commands :
Then, a window "Windows will shut down in less than a minute" appears.
Wait about ten seconds, and the computer will shut down or restart depending on the command used.
Warning : if you shutd own the remote computer, it will no longer possible to connect remotely to the PC because he's turned off.
When you start the "Remote Desktop Connection" program, you will see the "Options" option (at the bottom left). Click it.
Now, the full version is displayed.
In this version, you'll find the options :
Note that the available options may differ from a version to another version of Windows.
In the "General" tab, you will find the connection information :
In the "Display" tab, you can :
Note : if you lower the resolution, it can help you to improve performance because the image to be transferred over the network will be smaller and less heavy.
In the "Local Resources" tab, you can :
In the "Programs" tab, you will be able to launch a program when connecting to the remote computer.
In the "Experience" tab, you can improve performance or the user experience by enabling or disabling some features.
As you can see, by default :
In short, to improve performance or the user experience for Remote Desktop, you have 2 options :
In the "Advanced" tab, you will have the settings for :
Finally, if you want to connect to a remote desktop using the program integrated in Windows, you will need to :
Virtualization 8/23/2019
Windows 3/24/2022
Windows 4/2/2022
Windows 4/4/2013
Pinned content
InformatiWeb Pro
Contact
® InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment