工具下载地址:
http://tonykorn97.itpub.net/resource/6414/30802
转帖:
Terminal Server Patch
Universal Terminal Server Patch
by deep
This patch will remove the Concurrent Remote Desktop sessions limit in termsrv.dll and allow multi-user login enabling two or more concurrent sessions if you have FAST USER SWITCHING enabled, and your windows is NOT in a domain.
Concurrent Remote Desktop Sessions allows you to connect through Remote Desktop to a system that someone else is logged on to, under a different or even the same user account, and access the system without kicking the other user off.
!!!Proceed at your own risk!!!
Windows XP SP1 / SP2 / SP3
Windows Vista SP1 / SP2
Windows 7
32bit(x86) / 64bit(x64) on all above OS is tested and working!
%windir%System32dllcache
%windir%ServicePackFilesi386
%windir%i386
%windir%System32
STEP-BY-STEP Patch
1.On Folder Options ENABLE to view all system and hidden files temporary
2.STOP Remote Desktop Service
3.Navigate thru your %windir%system32 folder
4.BACKUP termsrv.dll via CMD
COPY "%SystemRoot%System32termsrv.dll" "%SystemRoot%System32*.*.bak"
5.Take Ownership on file via CMD
takeown /a /f %SystemRoot%System32termsrv.dll
6.Grant administrators Rights on file via CMD
ICACLS %SystemRoot%System32termsrv.dll /Grant Administrators:F
7.PATCH (Require administrator rights. Right-click the exe file, select Run as Administrator)
8.Compare both termsrv.dll via Command Prompt (Start->Run->CMD)
fc/b termsrv.dll termsrv.dll.bak
-----------------------------------BELOW FOR WINDOWS XP-------------------------------
7.Click on Start Menu -> Run command and type gpedit.msc, follow by Enter to open up the Group Policy Editor.
8.Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services.
9.Enable Limit Number of Connections and set the number of connections to 3 (or more). The setting allows more than one users to use the computer and logged on at the same time.
10.Ensure the Remote Desktop is enabled in System Properties’ Remote tab by selecting the radio button for Allow users to connect remotely to this computer.
11.Enable and turn on Fast User Switching in Control Panel -> User Accounts -> Change the way users log on or off.
-----------------------------------ABOVE FOR WINDOWS XP-------------------------------
12.Restart the computer normally.
13.Go to Step 1 to HIDE all system and hidden files
14.START Remote Desktop Service
Change Remote Desktop Port
Default Remote Desktop Port: 3389
For each computer you want to remotely connect to you have to configure each computer to listen to different ports to avoid port conflicts by changing the registry key in
HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminalServerWinStationsRDP-TcpPortNumber
START > RUN > REGEDIT
Navigate thru:
HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control > TerminalServer > WinStations > RDP-Tcp
Then locate the following registry subkey:
PortNumber
On the Edit menu, click Modify, and then on the Edit DWORD Value click Decimal which will show us the exact port number.
Note: To avoid conflict with other programs it is suggested to select a port between 49152 and 65535.
Now take that number you've chosen your computer to listen to and configure your router to port forward to that number
To connect to that computer your format will now be IP:Port
(ex. 222.222.222.222:1234) to connect to that specific computer behind the router
Important: If you have a firewall software running, that too has to be configured to allow communication to the port you opened in your router as well.
Registry Settings to enable Concurrent Remote Desktop sessions
Windows VISTA / 7
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server]
"fDenyTSConnections"=dword:00000000
"fSingleSessionPerUser"=dword:00000000
Windows XP
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server]
"fDenyTSConnections"=dword:00000000
"fSingleSessionPerUser"=dword:00000000
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerLicensing Core]
"EnableConcurrentSessions"=dword:00000001
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon]
"EnableConcurrentSessions"=dword:00000001
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon]
"AllowMultipleTSSessions"=dword:00000001
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"MaxInstanceCount"=dword:00000005
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/312079/viewspace-1036375/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/312079/viewspace-1036375/