Remotely enable Remote Desktop in Windows 7
Overcoming firewall obstacles
March 25, 2013
/
Support Centre
/ - Open ports in the Windows firewall
- Start the Remote Registry service
- Change a registry setting to enable Remote Desktop
- Start the Remote Desktop service
This isn’t likely to work work if you are on the other side of an agressive firewall.
Note: If you have access to the computer, you can follow the standard procedure for enabling Remote Desktop.
Step 1: Open ports in the Windows firewall
There is no native way to change the settings of a remote Windows firewall. However, you can use PsExec from SysInternals to disable it or change some rules.If you download the app and drop it into your c:\ drive, you can run this command and get command line access for that remote box.
c:\psexec \\remote_machine_name cmdOnce you have that command line open, you can run this command to disable the firewall:
netsh advfirewall set currentprofile state offAlternatively you can run this command to allow only Remote Desktop while still leaving the rest of the firewall as is:
netsh advfirewall firewall set rule group=”remote desktop” new enable=Yes
Step 2: Start the Remote Registry service
Load up the Services MMC (Control Panel > Administrative Tools > Services), right click on “Services (Local)” and choose “Connect to another computer”. Enter the name of your remote machine and connect to it. You should now be able to find the “Remote Registry” service and start it.Depending on your environment, this may already be running, but I have found it generally isn’t on fresh computers.
No comments:
Post a Comment