Advertisement
efxtv

How to disable, enable, and connect with Remote Desktop Protocol (RDP) on Windows 10:

Jun 26th, 2024 (edited)
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | Cybersecurity | 0 0
  1. How to disable, enable, and connect with Remote Desktop Protocol (RDP) on Windows 10:
  2.  
  3. Telegram POST https://t.me/efxtv2/3841
  4.  
  5. ---
  6.  
  7. Disabling RDP on Windows 10 via PowerShell:
  8.  
  9. 1. Open PowerShell as Administrator.
  10. 2. Run this command:
  11. ```
  12. Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name "fDenyTSConnections" -Value 1
  13. ```
  14. 3. Verify RDP is disabled in "Remote Settings".
  15. 4. Restart if needed.
  16.  
  17. ---
  18.  
  19. Enabling RDP on Windows 10 via PowerShell:
  20.  
  21. 1. Open PowerShell as Administrator.
  22. 2. Run this command:
  23. ```
  24. Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name "fDenyTSConnections" -Value 0
  25. ```
  26. 3. Verify RDP is enabled in "Remote Settings".
  27. 4. Restart if needed.
  28.  
  29. ---
  30.  
  31. Connecting to Windows 10 via RDP from another device:
  32.  
  33. 1. Ensure both devices are on the same network.
  34. 2. On the Windows 10 PC:
  35. - Open "Control Panel" -> "System and Security" -> "System".
  36. - Click on "Remote settings".
  37. - Select "Allow remote connections to this computer".
  38. - Note down the PC name under "Computer name".
  39. 3. On the Remote Device (e.g., Another PC):
  40. - Open Remote Desktop Connection.IP:3389
  41. - Enter the PC name from Step 2.
  42. - Enter credentials if prompted.
  43. - Click "Connect" to establish the RDP session.
  44.  
  45. ---
  46.  
  47. Enjoy remote access to your Windows 10 PC! #Windows10 #RemoteDesktop
  48.  
  49. You can now copy and paste this into your Notepad or any text editor for easy reference.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement