Methods to Enable and Disable Remote Desktop Locally
Methods to Enable and Disable Remote Desktop Locally
By default on a Windows Server Product Windows Remote Management (WinRM) is enabled, but Remote Desktop (RDP) is Disabled. On workstation operating systems neither is enabled by default.
For instructor-led Windows Server training, see our class schedule.
Enabling RDP locally.
Method 1: Graphical Interface
By far the easiest way is to enable RDP through the graphical interface.
- Launch System Properties and click Remote Settings in the left hand pane.
- Choose the Allow remote connections to this computer radial button.
- Click Select Users to add users to connect via RDP.
NOTE: By default the local Administrators group will be allowed to connect with RDP. Also the user that is currently logged in will also be allowed to connect.
- Click OK to close the interface, RDP is now enabled on the compute.
NOTE: Enabling RDP through the GIU will also configure the Windows Firewall with the appropriate ports to allow RDP connections.
NOTE: To Disable Remote Desktop select the Don’t allow remote connections to this computer radial button.
Method 2: Registry
To enable remote desktop by directly editing the registry use the following steps:
- Launch the registry editing tool by typing REGEDIT in the run.
- Navigate to the following node: HKEY_LOCAL_MACHINE\SYSTEM\CurRentControlSet\Control\Terminal Server
- Select the fDenyTSConnections Name
- Change the Data Value from 1 to 0, select OK.
NOTE: Enabling RDP through the registry will not configure the Windows Firewall with the appropriate ports to allow RDP connections.
Type the following in an administrative command prompt:
1 | Netsh advfirewall firewall set rule group=”remote desktop” new enable=yes |
NOTE: By default the local Administrators group will be allowed to connect with RDP. Also the user that is currently logged in will also be allowed to connect.
NOTE: To Disable Remote Desktop select enter 1 instead of 0.
Method 3: Command Line
To enable RDP with the Command Prompt, use the following steps.
- Launch the Command Prompt as Administrator.
- Type the following command:
1 | Reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 0 /f |
NOTE: Enabling RDP through the Command Prompt will not configure the Windows Firewall with the appropriate ports to allow RDP connections.
Type the following:
1 | Netsh advfirewall firewall set rule group=”remote desktop” new enable=yes |
NOTE: By default the local Administrators group will be allowed to connect with RDP. Also the user that is currently logged in will also be allowed to connect.
To disable RDP with the Command Prompt, use the following steps.
- Launch the Command Prompt as Administrator.
- Type the following command:
1 | Reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurRentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 1 /f |
Method 4: Using PowerShell
To enable RDP with the PowerShell, use the following steps.
- Launch PowerShell as Administrator.
- Type the following command:
1 | Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" –Value 0 |
NOTE: Enabling RDP through the Command Prompt will not configure the Windows Firewall with the appropriate ports to allow RDP connections.
Type the following:
1 | Enable-NetFirewallRule -DisplayGroup "Remote Desktop" |
NOTE: By default the local Administrators group will be allowed to connect with RDP. Also the user that is currently logged in will also be allowed to connect.
To disable RDP with the PowerShell, use the following steps.
- Launch PowerShell as Administrator.
- Type the following command:
1 | Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" –Value 1 |
Until next time – Ride Safe!
Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ
You May Also Like
A Simple Introduction to Cisco CML2
0 3703 0Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2
How to Build in a PSMethod to your PowerShell Code
0 68 0In this video, PowerShell instructor Jason Yoder shows how to add Methods (PSMethod) to your code using free software that’s added into the PSObject. For instructor-led PowerShell courses, see our course schedule. Microsoft Windows PowerShell Training Download the Building Methods PowerShell script</a> used in this video. <# ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ Building Methods ║ ╟──────────────────────────────────────────────────────────────────────────────╢ … Continue reading How to Build in a PSMethod to your PowerShell Code
Configuring Windows Mobility Center and How to Turn it On and Off
1 1413 1Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off
See what people are saying...