RSS

Hacking Windows XP to allow multiple Remote Desktop Connections

17 Feb

Here’s how to get Windows XP to accept multiple Remote Desktop Connections at one time.

THESE INSTRUCTIONS REQUIRE ADVANCED KNOWLEDGE OF THE WINDOWS REGISTRY AND ARE PROVIDED AS IS, WITHOUT RESPONSIBILITY OF DATA LOSS OR TECHNICAL PROBLEMS. DO NOT APPLY THE FOLLOWING SETTINGS TO SERVERS, COMPUTERS IN A PRODUCTION ENVIRONMENT, OR COMPUTERS WITHOUT FIREWALL PROTECTION.

Print this document before you start doing the following:

1. DISABLE REMOTE DESKTOP CONNECTION (RDC) AND TERMINAL SERVICES

  1. Right-click ‘My Computer’ on the desktop and select ‘Properties’
  2. Click the ‘Remote’ tab, and make sure that the ‘Allow users to connect remotely to this computer’ checkbox is UNCHECKED, then click ‘OK’.
  3. Start Menu > Control Panel > Administrative Tools > Services
  4. Scroll down the list to find ‘Terminal Services’, right-click and select properties. Change the ‘Startup Type’ drop-down to ‘Disabled’ (if it is not already), and close the ‘Services’ window.

2. DISABLE WINDOWS FILE PROTECTION (WFP) TEMPORARILY

  1. Open the Registry Editor: Start Menu > Run > ‘regedit’
  2. Navigate down in the tree to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Change the value of the ‘SFCDisable’ key on the right to ‘1′ and click ‘OK’
  4. Close the Registry Editor

3. RESTART THE COMPUTER

4. REPLACE THE RELEASE VERSION OF THE TERMINAL SERVICES DLL (TERMSRV.DLL) WITH A PRIOR UNRESTRICTED VERSION OF THE DLL.

  1. Save this replacement file to your desktop. This version of termsrv.dll is from Windows XP SP2 RC1, and I have not had any security problems with it personally.
  2. Open Windows Explorer and type in the following location: C:\Windows\system32\dllcache
  3. Rename termsrv.dll to something like termsrv1.dll
  4. Copy the downloaded version of termsrv.dll into the above folder
  5. In Windows Explorer, go up one directory so that you are now looking at: C:\Windows\system32
  6. Delete the termsrv.dll file in this directory. Soon WFP will (most likely) re-copy the file even though we (think we) disabled WFP. If it does not re-copy it after about 10 seconds, go ahead and copy the downloaded version to the above directory just like you did in step D, only to the C:\Windows\system32 folder.

5. MAKE THE RDC SETTINGS IN THE WINDOWS REGISTRY ALLOW MORE THAN 2 REMOTE CONNECTIONS AT A TIME

  1. Open up the registry editor: Start Menu > Run > ‘regedit’
  2. Navigate down in the tree to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Licensing Core
  3. Add a DWORK Key called ‘EnableConcurrentSessions’ with a value of 1, then close the Registry Editor.
  4. Open up the Group Policy Editor: Start Menu > Run > ‘gpedit.msc’
  5. Navigate dow in the tree to: Computer Configuration > Administrative Templates > Windows Components > Termina Services. Double-click the item in the list on the right entitled ‘Limit number of connections’. Enable it, and set the number of connections to 3 (or whatever you need). Click ‘OK’.

6. RESTART THE COMPUTER

7. RE-ENABLE RDC AND TERMINAL SERVICES

  1. Go back and check that checkbox we saw in step 1.b, check it, then click ‘OK’.
  2. Go back to Control Panel > Administrative Tools > Services, find the ‘Terminal Services’ item, right click on it, and change the ‘Startup Type’ value back to ‘Manual’

8. RESTART THE COMPUTER.

Then you should be all set. Just remember that you have to explicitly ALLOW OTHER USER ACCOUNTS TO REMOTE IN. You can do this where you see the checkbox from step 1.b and above in step 7.a.

No need to thank me. Really. Even though I just saved you from having to buy a copy of Windows Server, wiping your computer, and reinstalling the Server version and all your apps. I’m not cocky, I just know how to use google and compile my findings…for YOU!

 
Tinggalkan komentar

Ditulis oleh pada 17 Februari 2009 in Uncategorized

 

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: