在Windows 计算机上(Windows computer),如果要连接到另一台设备,可以通过设置远程桌面连接(desktop connection)来实现。您可以使用Windows 10上的Microsoft 远程桌面应用程序通过同一(Microsoft Remote Desktop app)网络或 Internet(network or internet)远程连接和访问另一台计算机。设置远程连接允许您从其他使用Windows的计算机访问您的(Windows)Windows 计算机(Windows computer)的文件、程序和资源。要设置您的计算机和网络以进行远程连接,请按照以下步骤操作。
如何在 Windows 10 上使用远程桌面应用程序(How to use the Remote Desktop app on Windows 10)
在您的计算机(Your Computer)上启用远程连接(Remote Connections)
在您的计算机上设置远程访问之前,您需要在您的计算机上启用远程桌面连接(Remote Desktop Connections)。但是,限制是并非所有版本的Windows都允许远程桌面连接(Remote Desktop Connections)。此功能仅适用于Windows 10和 8 的(Enterprise versions of Windows 10)专业(Pro)版和企业版,以及 Windows 7专业版(Professional)、旗舰版和企业版(Ultimate and Enterprise)。要在您的 PC 上启用远程连接,
1.在开始菜单搜索栏中输入“(Search Bar)控制面板(control panel)” ,点击搜索结果(search result)打开。
2. 点击“系统和安全(System and Security)”。
3. 现在在系统选项卡下单击“允许远程访问(Allow remote access)”。
4. 在“远程”选项卡下,选中“(Remote)允许远程连接到此计算机(llow remote connections to this computer)”复选框,然后单击“应用(Apply)”和“确定(OK)”以保存更改。
如果您运行的是 Windows 10(带有秋季更新(Fall Update)),那么您可以按照以下步骤执行相同操作:
1. 按Windows Key + I打开设置,然后单击系统(System)。
2.从左侧窗格中选择“(pane and Turn)远程桌面”,然后打开(Remote Desktop)启用远程桌面(Enable Remote Desktop.)旁边的开关。
(Configuring Static IP Address on Windows)在 Windows 10上配置静态 IP 地址
现在,如果您使用的是专用网络,那么每次连接/断开连接时,您的IP 地址都会改变。(IP address)因此,如果您要定期使用远程桌面连接(desktop connection),那么您应该在您的计算机上分配一个静态IP 地址。(IP address)此步骤至关重要,因为如果您不分配(t assign)静态 IP(static IP),那么每次为计算机分配新 IP 地址时,您都需要重新配置路由器上的端口转发设置。(IP address)
1. 按Windows Key + R然后输入ncpa.cpl并按Enter打开网络连接窗口(Network Connections window)。
2.右键单击(Right-click)您的网络连接(network connection)(WiFi/Ethernet)并选择属性。(Properties.)
3. 选择Internet Protocol Version 4 (TCP/IPv4)选项并单击属性( Properties)按钮。
4.现在选中“使用以下IP地址(Use the following IP address)”选项(” option)并输入以下信息:
IP 地址:(IP address:) 10.8.1.204
子网掩码:(Subnet mask:) 255.255.255.0
默认网关:(Default gateway:) 10.8.1.24
5. 您需要使用不与本地DHCP Scope冲突的有效本地(DHCP Scope)IP 地址(IP address)。并且默认网关地址(default gateway address)应该是路由器的IP地址(IP address)。
注意:(Note:)要查找DHCP配置,您需要访问路由器管理面板上的(router admin panel)DHCP设置部分。如果您没有路由器管理面板(admin panel)的凭据,则可以使用命令提示符中的 ipconfig /all命令找到当前的TCP/IP configuration
6.接下来,勾选“使用以下DNS服务器地址(Use the following DNS server addresses)”并使用以下DNS地址:
首选 DNS 服务器:(Preferred DNS server:) 8.8.4.4
备用 DNS 服务器:(Alternate DNS server:) 8.8.8.8
7. 最后,单击OK按钮,然后单击 Close。
设置您的路由器
如果您想通过Internet(Internet)设置远程访问,您需要配置您的路由器以允许远程连接。为此,您需要知道设备的公共IP 地址,以便在(IP address)Internet上联系您的设备。如果您还不知道它,您可以按照给定的步骤找到它。
1. 打开您的网络浏览器并转到google.com或 bing.com。
2. 搜索“我的 IP 是什么(What’s my IP)”。您将能够看到您的公共IP 地址(IP address)。
知道您的公共IP 地址(IP address)后,请继续按照给定的步骤转发路由器上的端口 3389。( port 3389 on your router.)
3.在开始菜单搜索栏中输入“(Search Bar)控制面板(control panel)” ,点击搜索结果(search result)打开。
4. 按Windows Key + R,将出现一个运行对话框(Run dialogue)。键入命令ipconfig并按Enter键。
5.将加载Windows IP配置。(Windows IP)记下您的 IPv4 地址和默认网关( Note down your IPv4 Address and Default Gateway)(即您的路由器的IP 地址(IP address))。
6. 现在,打开您的网络浏览器(web browser)。键入记下的默认网关地址,然后按(default gateway address and press) Enter。
7. 此时您必须使用您的用户名和密码(username and password)登录到您的路由器。
8. 在设置的“端口转发(Port Forwarding)”部分,启用端口转发(Port Forwarding)。
9. 在端口转发下添加所需的信息,例如:
- 在SERVICE NAME中,输入您想要参考的名称。
- 在端口范围下,键入端口号3389。
- (Enter)在本地 IP 字段(LOCAL IP field)下输入计算机的IPv4 地址(IPv4 address)。
- 在本地端口下键入 3389。
- 最后在PROTOCOL下选择TCP。
10. 添加新规则并单击应用(Apply)以保存配置。
推荐:在(Recommended:) Windows 10中(Windows 10)更改远程桌面端口(Change Remote Desktop Port)( RDP )
使用 Windows 10 上的远程桌面应用程序启动(Use the Remote Desktop app on Windows 10 to s)远程桌面连接
至此,所有计算机和网络配置(computer and network configurations)均已设置完毕。您现在可以按照以下命令启动远程桌面连接。(desktop connection)
1. 从Windows Store下载Microsoft 远程桌面(Microsoft Remote Desktop)应用程序。
2. 启动应用程序。单击窗口右上角的“(right corner)添加(Add)”图标。
3. 从列表中选择“桌面(Desktop)”选项。
4. 在“ PC 名称(PC Name)”字段下,您需要添加 PC 的IP 地址(IP address),具体取决于您选择的连接,然后单击“添加帐户(Add account)”。
- 对于位于您的专用网络中的 PC,您需要键入您需要连接到的计算机的本地IP 地址(IP address)。
- 对于Internet上的 PC ,您需要键入需要连接的计算机的公共IP 地址(IP address)。
5. 输入您的远程计算机的登录凭据(sign-in credentials)。输入本地帐户的本地用户名和密码(username and password),或使用Microsoft 帐户(Microsoft account)凭据作为Microsoft 帐户(Microsoft account)。点击(Click)“保存(Save)”。
6. 您将看到要连接到可用连接列表的计算机。单击(Click)计算机以启动远程桌面连接,然后单击(desktop connection and click)“连接(Connect)”。
您将远程连接到所需的计算机。
要进一步更改远程连接的设置,请单击远程桌面窗口(Remote Desktop window)右上角(right corner)的齿轮图标。您可以设置显示的大小、会话分辨率(session resolution)等。要仅更改一个特定连接的设置,请右键单击列表中所需的计算机,然后单击(list and click)“编辑(Edit)”。
推荐:(Recommended:)使用Chrome 远程桌面(Chrome Remote Desktop)远程访问您的计算机(Computer)
除了Microsoft 远程桌面应用之外(Microsoft Remote Desktop app),您还可以使用较旧的远程桌面连接应用(Remote Desktop Connection app)。要使用这个应用程序,
1. 在开始菜单搜索字段中(Start Menu Search field),输入“(type ‘)远程桌面连接(Remote Desktop Connection)”并打开应用程序。
2. 远程桌面应用程序(desktop app)将打开,键入远程计算机的名称(您将在远程计算机的(type the name of the remote computer)系统(System) 属性(Properties)中找到此名称)。单击(Click)连接。( Connect.)
3.如果您想更改您可能需要的任何设置,请转到“更多选项”。(More Options)
4.您也可以使用本地IP地址(local IP address)连接到远程计算机。
5.输入远程计算机的凭据。(Enter the credentials of the remote computer.)
6. 单击确定。
7. 您将远程连接到所需的计算机。
8. 以后要轻松连接到同一台计算机,请打开文件资源管理器(File Explorer)并转到网络(Network)。右键单击所需的计算机并选择“使用远程桌面连接连接(Connect with Remote Desktop Connection)”。
这些是您需要遵循的步骤才能在Windows 10上使用(Windows 10)远程桌面应用程序(Remote Desktop app)。请注意,您应该注意与防止您自己进行任何未经授权的访问相关的安全问题。
How to use the Remote Desktop app on Windows 10
On a Windows computer, if you want to cоnnect to another deνice, уou can do so by sеtting up a remote desktop connection. You can use the Microsoft Rеmote Desktop app оn Windows 10 to remotely connеct to and аccess another computer over the same network or internet. Setting up a remote connеction allows you to access your Windows computer’s files, prоgrams and resources from some other сomputer using Windowѕ. To set uр your computer and your network for remote connection, follow the steps given below.
How to use the Remote Desktop app on Windows 10
Enable Remote Connections On Your Computer
Before setting up remote access on your computer, you need to enable Remote Desktop Connections on your computer. The limitation, however, is that not all versions and editions of Windows allow Remote Desktop Connections. This feature is available only on Pro and Enterprise versions of Windows 10 and 8, and Windows 7 Professional, Ultimate and Enterprise. To enable remote connections on your PC,
1. Type ‘control panel’ in Start Menu Search Bar and click on the search result to open.
2. Click on ‘System and Security’.
3. Now under System tab Click on ‘Allow remote access’.
4. Under the Remote tab, check the checkbox ‘Allow remote connections to this computer’ then click on ‘Apply’ and OK to save your changes.
If you’re running Windows 10 (with Fall Update), then you can do the same by following the below steps:
1. Press Windows Key + I to open Settings then click System.
2. Select ‘Remote Desktop’ from the left pane and Turn on the toggle next to Enable Remote Desktop.
Configuring Static IP Address on Windows 10
Now, if you’re using a private network, then your IP addresses will change every time you connect/disconnect. So, if you’re going to utilize the remote desktop connection regularly, then you should assign a static IP address on your computer. This step is crucial because, if you don’t assign a static IP, then you will need to reconfigure the port forwarding settings on the router every time a new IP address is assigned to the computer.
1. Press Windows Key + R then type ncpa.cpl and hit Enter to open Network Connections window.
2. Right-click on your network connection (WiFi/Ethernet) and select Properties.
3. Select the Internet Protocol Version 4 (TCP/IPv4) option and click on the Properties button.
4. Now checkmark “Use the following IP address” option and enter the following information:
IP address: 10.8.1.204
Subnet mask: 255.255.255.0
Default gateway: 10.8.1.24
5. You need to use a valid local IP address that shouldn’t conflict with the local DHCP Scope. And the default gateway address should be the IP address of the router.
Note: To find the DHCP configuration, you need to visit the DHCP settings section on your router admin panel. If you don’t have the credentials for the router’s admin panel then you can find the current TCP/IP configuration using the ipconfig /all command in Command Prompt.
6. Next, checkmark “Use the following DNS server addresses” and use the following DNS addresses:
Preferred DNS server: 8.8.4.4
Alternate DNS server: 8.8.8.8
7. Finally, click on the OK button followed by Close.
Set Up Your Router
If you want to set up remote access over the Internet, you will need to configure your router to allow remote connection. For this, you need to know the public IP address of your device so that you contact your device on the Internet. If you don’t know it already, you can find it by following the given steps.
1. Open your web browser and go to google.com or bing.com.
2. Search for ‘What’s my IP’. You will be able to see your public IP address.
Once you know your public IP address, continue with the given steps to forward the port 3389 on your router.
3. Type ‘control panel’ in Start Menu Search Bar and click on the search result to open.
4. Press Windows Key + R, a Run dialogue box will appear. Type the command ipconfig and press Enter key.
5. The Windows IP configurations will be loaded. Note down your IPv4 Address and Default Gateway (which is your router’s IP address).
6. Now, open your web browser. Type the noted default gateway address and press Enter.
7. You will have to log in to your router at this point using your username and password.
8. In the ‘Port Forwarding’ section of the settings, enable Port Forwarding.
9. Add the required information under port forwarding like:
- In the SERVICE NAME, type the name you want for reference.
- Under PORT RANGE, type port number 3389.
- Enter the IPv4 address of your computer under the LOCAL IP field.
- Type 3389 under the LOCAL PORT.
- Finally, select TCP under PROTOCOL.
10. Add the new rule and click on Apply to save the configuration.
Recommended: Change Remote Desktop Port (RDP) in Windows 10
Use the Remote Desktop app on Windows 10 to start Remote Desktop Connection
By now, all the computer and network configurations have been set up. You can now start your remote desktop connection by following the command below.
1. From the Windows Store, download the Microsoft Remote Desktop app.
2. Launch the app. Click on the ‘Add’ icon on the top right corner of the window.
3. Select the ‘Desktop’ option form the list.
4. Under the ‘PC Name’ field you need to add your PC’s IP address, depending upon your choice of connection than click on ‘Add account’.
- For a PC located in your private network, you need to type the local IP address of the computer that you need to connect to.
- For a PC over the Internet, you need to type the public IP address of the computer that you need to connect to.
5. Enter your remote computer’s sign-in credentials. Enter the local username and password for a local account or use the Microsoft account credentials for a Microsoft account. Click on ‘Save’.
6. You will see the computer that you want to connect to the available connections list. Click on the computer to start your remote desktop connection and click on ‘Connect’.
You will be connected to the required computer remotely.
To further change settings of your remote connection, click on the gear icon on the top right corner of the Remote Desktop window. You can set the size of the display, session resolution, etc. To change settings for just one particular connection, right-click on the required computer from the list and click on ‘Edit’.
Recommended: Access Your Computer Remotely Using Chrome Remote Desktop
Instead of the Microsoft Remote Desktop app, you can also use the older Remote Desktop Connection app. To use this app,
1. In the Start Menu Search field, type ‘Remote Desktop Connection’ and open the app.
2. The remote desktop app will open, type the name of the remote computer (You will find this name in the System Properties on your remote computer). Click on Connect.
3. Go to ‘More Options’ in case you want to change any settings that you may need.
4. You can also connect to the remote computer using its local IP address.
5. Enter the credentials of the remote computer.
6. Click on OK.
7. You will be connected to the required computer remotely.
8. To connect to the same computer in the future easily, open File Explorer and go to Network. Right-click on the required computer and select ‘Connect with Remote Desktop Connection’.
These were the steps that you need to follow in order to use the Remote Desktop app on Windows 10. Note that you should take care of the security concerns related to preventing yourself from any unauthorized access.