This post is a step-by-step tutorial on how to use PowerShell to enable Remote Desktop on Windows 10, 11. If you are going to perform remote access via RDP, this post can help you a lot.
Hi. I want to use Remote Desktop Connection to connect remotely to my work PC. How can I use PowerShell to enable Remote Desktop? The computer is running Windows 10 Pro. Thanks in advance.”
- Question from a user
RDP is a built-in Windows tool that allows you to connect to a remote computer and obtain access to its programs and files as if you were physically logged in. On Windows systems, the Remote Desktop optionis not enabled by default. You can use PowerShell to enable Remote Desktop quickly with the following steps.
Note: The Remote Desktop server is not available on Windows Home/Standard. If you want to access Windows Home/Standard computers remotely, it is recommended switching to other RDP alternatives.
Step 1. Press Win + X, and click Windows PowerShell (Admin).
Step 2. Enter the command below to enable RDP PowerShell:
Step 3. Sometimes the RDP connection may be blocked by Windows Firewall, you can enter the following command to enable it through Firewall.
Now you can start a Remote Desktop Connection between PCs.
Furthermore, if you want to disable Remote Desktop via PowerShell, perform the following command:
Then enter the following command to disable Remote Desktop through the Firewall.
If you are not familiar with using PowerShell, you can enable RDP on Windows 10, 11 with the following methods.
Step 1. Press Win + R to open the Run dialog box. Type in “sysdm.cpl” and hit OK to launch System Properties.
Step 2. Tick Allow remote connections to this computer and click OK.
Step 1. Open Settings from the start menu, then select System.
Step 2. Go to the Remote Desktop section, and turn on Enable Remote Desktop.
When you enabled Remote Desktop on your computer, don’t forget to enable it through Firewall to make it work properly.
Step 1. Search for Allow an app through Windows Firewall in the search bar and click Open.
Step 2. Click Change settings and check Remote Desktop under private or public network or both.
Though you can use Remote Desktop without extra downloading, it has many limitations. For example, you can not access Windows Home or Standard systems via RDP, and you need to forward the RDP port or use a VPN to connect to other devices outside the network. Besides, it lacks the features like instant chat and multiple sessions.
In this case, why not use the professional Remote Desktop alternative AnyViewer that has easier operations and offers several advanced features for free?
Compared to Remote Desktop Connection, AnyViewer has the following advantages you can’t miss:
You can download AnyViewer from here and see how easy it is to use.
Step 1. Start AnyViewer on the host device, click Sign up to create a new account, then log in.
Step 2. Start AnyViewer on the client device, sign in using the same account you used on the host device.
Step 3. Go to the Device interface to view the list of your assigned devices. Choose the device you want to connect to and click One-click control to perform unattended remote access.
After reading this post, you must have grasped how to use PowerShell to enable Remote Desktop. Now you can start controlling your remote device via RDP. Additionally, if you are looking for an alternative, try AnyViewer, that has easier setup and allows connections over the Internet.