Remote control of a computer on a local network.

The article describes instructions for setting up remote control of a computer on a local (home network) from Windows 10 to work with a remote host on Windows 7 and vice versa. The difference in the settings of both computers is not fundamental; Windows 7 is taken as a model in order to diversify the description of the article. No tricks yet - just Windows settings. Of course, I’ll mention the programs: they actually make life a lot easier, and when accessing your home computer via the Internet, they are indispensable.

STRAIGHTAWAY

What to remember right away?

  • settings are only suitable for local network
  • All computers connected to the network must be given passwords for the required accounts with which a remote connection will be established
  • During a remote connection session, do not perform any actions on the host computer: otherwise the communication session will be terminated immediately. It is called interception of system control.
  • working using a ready-made shortcut for connecting to a remote computer on the server and an automatically remembered password will not work: settings are only for non-server Windows

It is better to rename computers immediately. I think you won't have any problems with computer names. It is better that machine names contain only Latin letters. Renaming operations on both systems can be started with the command:

sysdm.cpl

IN Windows 10 The name can be found and re-set here:

For convenience, I will rename my obscure DESKTOP-5SNTDH5 on a laptop with Windows 10 in a more understandable way Laptop. Also on a desktop computer with Windows 7:


Now the laptop has Windows 10 called Laptop, desktop with Windows 7COMP. We will see changes when renaming computers after a reboot.

TERMINOLOGY

Remote host– any computer, which you are joining. But there is one serious assumption here: connecting using Windows built-in tools to computers running Windows X Initial And Home You can not. Need versions Professional and higher (for Windows 7 And 8.* ), For Windows 10 we will use the most common one in Russia today Technical Preview. Accordingly, launch a remote session on the machine under Window 7 Initial We won't be able to either.

Remote client – the computer from which you will “climb” to the remote host. The client can just be a computer running ANY version of Windows. That is, sitting at home on Windows 7 Home, you can “connect” with Windows 10 Professional. But not the other way around.

Remote computer control: preparing machines

In order to remotely control a computer ( RDC) has become possible, you need at least two machines that require preliminary configuration. Let's check the readiness of BOTH systems for remote mutual connection. We dial:

sysdm.cpl

And set permission to remotely control the computer:

Pay attention to the checkbox next to the item Allow connections only from computers... This point can ruin the mood of many. Network level authentication can only be performed on computers running Windows 7 and earlier. Please note the following:

Remote computer control: network settings

We go there using the command:

control.exe /name Microsoft.NetworkandSharingCenter

Check the network type - it must be installed exactly Private network:


If this is not the case, you will have to change the location of the network in the lower left quadrant See also->Homegroup->What is a network location?


We agree that computers, files, etc. will be available to join other devices on the network. The setup is complete, and you don’t have to join the Home Network that appears when invited: just click Close. Check, now the network should be Private.

Setting up a remote client

Launch the configuration utility:

mstsc.exe

and immediately click on the drop-down button Show options:

A window with tabs will allow you to configure the connection according to the parameters you specify. In line Enter your name… specify the name of the remote computer:

The remaining tabs contain other connection settings, which in their default properties will suit us. The only thing that can be corrected right away is here:


The checkbox next to Clipboard will allow you to move files between computers

and immediately, so that there are no extra windows, here (in our configuration this is a useless setting):

Let's start.

Little trick

To connect to a remote Desktop, so that you don’t have to go through a long journey searching for the desired icon in Network Settings, you can immediately create a shortcut directly on the Desktop to connect to a SPECIFIC computer on the local network. You know the names of my computers, and I will create a shortcut according to the principle specified in the article:



clear name for the shortcut is arbitrary

Mstsc.exe /v:remote-computer-name

Mstsc.exe /v:local-ip

scripts for connecting to a remote Windows desktop.

Connecting remote control: from Windows 10 to Windows 7 and back

If you created a shortcut on the table, the connection will begin immediately after entering the username (if there are several) and password:



View of a Windows 7 computer from a Windows 10 laptop

“Seven” also sees the laptop:


I name all accounts 1


properties of the background image are not recognized: hence the black background of the Desktop of the remote computer

Commands that will be useful to you

Also, it may not be possible to turn off the remote computer in the usual way through the Start panel (sometimes in Windows 10 this works). You will have access to the commands Change account, End remote session or Lock the system. Most likely, the Shutdown button will turn into Disconnect. The easiest option is to simply close the session window by clicking on the cross.

These commands will allow you to:

  • shutdown -s -t XX– turn off the computer after XX sec., if instead XX will 1 , the machine will turn off immediately
  • shutdown -r -t XX– reboot remote Windows after XX seconds, shutdown -r -t 1 will reboot immediately
  • shutdown -h– hibernation command; there are no temporary keys to it

Look like that's it. Function Drag-n-Drop (grabbed and dragged) does not work with the mouse for security reasons: a remote control session is considered a “non-kosher” service by default by the system, but the commands Copy, Insert, Delete etc., and also work equally in both directions.

Before I finish...

I cannot fail to mention ready-made solutions for working with a remote computer over a local network. There are many of them, many of them are portable. One of them is SoftPerfect Network Scanner. The program comes in two versions, the free version is for a network with up to 10 computers. Both archives have 32 and 64 bit versions:


The utility has a huge number of settings. Before starting (as an administrator, of course), enter the range of addresses to be scanned (to avoid entering manually, click on the network card icon in the program toolbar: there you will find a list of networks to which your machine belongs):


Take a walk around Settings programs. By right-clicking on the selected device, you can select the commands available with it (including those described in the article):



There is also a remote control function: