Tag Archives: Remote

Remotely enable Remote Desktop in Windows 7 – KB10392025

KB10392025

  1. Open ports in the Windows firewall
  2. Start the Remote Registry service
  3. Change a registry setting to enable Remote Desktop
  4. Start the Remote Desktop service

For this guide I assume you are on the same LAN as the remote computer you want to access (you may already have RDP’ed into a server on that LAN), and you are logged in as a Windows user with administrative privileges for the remote computer you are wishing to access.

This isn’t likely to work work if you are on the other side of an agressive firewall.

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 cmd

Once you have that command line open, you can run this command to disable the firewall:

netsh advfirewall set currentprofile state off

Alternatively 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.

Step 3: Change a registry setting to enable Remote Desktop

It’s time to make use of the Remote Registry and actually enable RDP. Load upregedit and go to File > Connect Network Registry. Enter the name of your remote computer and connect to it. Navigate to HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control > Terminal Server. Change the value of “fDenyTSConnections” to “0”.

Step 4: Start the Remote Desktop service

Go back to the Services MMC you used in Step 2. Find the service “Remote Desktop Services” and start it (or restart if it is already running).

Step 5: Connect

By this point you should be able to connect to a remote desktop session on your remote computer. Remember that only administrative users can connect to an out-of-the-box Remote Desktop setup. If you have got this far and still can’t connect, it is worth checking your firewall rules to ensure nothing is being blocked.

Setup local printer to use through Remote Desktop Connection (RDP) – KB1039900

KB1039900

Description:  Print to local computer through remote desktop session.

Common customer description: I can’t print to my local printer from my Remote Desktop.

Probing questions:

Were you able to print and now it no longer works?
Has anything changed recently?
Did you get a new printer?

Steps to isolate: Make sure the local computer can print to the local printer.

Steps to resolve:

To make a local printer available in a Remote Desktop session:

  1. Click Start, point to All Programs, point to Accessories, point to Communications, and then click Remote Desktop Connection.
  2. Click Options in the Remote Desktop Connection dialog box.
  3. Click the Local Resources tab.
  4. Click Printers in the Local Devices box.
  5. Click Connect.

Additional considerations:

There are some limitations to this feature.  The printer in question must be capable of having its drivers installed remotely.  A lot of store bought “office” printers that are on the low cost scale cannot do this.

Example: HP LaserJet Pro P1102W is a sub $100 printer.  This printer will not install drivers remotely.  The drivers, while installing, will ask to have the printer connected to the computer you are installing the drivers on.  If you are remotely connected to another computer that does not have a physical connection with the printer the drivers will not install.

Sometimes there is a work around to this problem.  If the client is willing to have the printer taken to the remote desktop location, and install the drivers while the printer can obtain a physical connection, some of the lower priced printers will work via RDP connections.  But not all will.

Good way to make sure is, can the drivers be installed remotely and/or is the printer above $400 in price?  If you answer no to either or both it probably cannot perform printing through RDP.