ADS

Featured

Remove limit on concurrent connections in Windows XP


Windows XP is a system that has remote access enabled for use, but only one competing user can access it at a time. When someone tries to access the Windows XP computer remotely, the computer user receives a message that someone wants to have access to that computer, and has two options, not to allow and to allow. When allowing, the user's session is switched to the system login screen, so that the other user can use the computer. When logging in again, whoever is accessing remotely is disconnected. Unlike other versions such as Windows 2000, Windows 2003 Server and Windows 2008, where there is no such restriction, and which allow local users or in remote places to access the desktop simultaneously concurrently, without displaying any warning message about remote access.


To make it easier to find the way to enable and allow multiple users to connect through Terminal Services in Windows XP, it is necessary to replace a system file, and make some changes to the windows registry, as well as gpedit. msc.

To begin, start the computer in safe mode, restarting and pressing F8 during its startup.

Right after that, since "x" is the disk where the Windows operating system was installed, rename the file located at: x: \ windows \ system32 \ dllcache \ termsrv.dll to any other known name.

Replace the file found at x: \ windows \ system32 \ termsrv.dll with a version of Windows 2000, or Windows 2003 Server, which does not have this restriction. You can find this file here.

Copy the new termsrv.dll file to the x: \ Windows \ ServicePackFiles \ i386 folder and replace the old file, if any.
Copy the new termsrv.dll file to the x: \ Windows \ System32 \ dllCache folder and replace the old file.
Copy the new termsrv.dll file to the x: \ Windows \ System32 folder and replace the old file.

Now, in CMD, type the following lines to fill in the Windows registry, allowing concurrent connections and allowing multiple user sessions.

REG ADD "HKLM\SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core" /v EnableConcurrentSessions /d 1 /t REG_DWORD /f 
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v EnableConcurrentSessions /d 1 /t REG_DWORD /f

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AllowMultipleTSSessions  /d 1 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /d 0 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSAdvertise /d 1 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v IdleWinStationPoolCount /d 1 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSAppCompat /d 0 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSEnabled /d 1 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSUserEnabled /d 0 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Licensing Core" /v EnableConcurrentSessions /d 1 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v fEnableWinStation /d 1 /t REG_DWORD /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v MaxInstanceCount /d 4294967295 /t REG_DWORD /f

Now make sure that all entries are successfully entered. If you wish, you can also do this by opening Regedit from Start> Run, but registering all this information would take more time than simply copying and pasting on the CMD screen.

Now, in Start> Run, type: gpedit.msc

In Computer Settings / Administrative Templates / Network / Network Connections / Windows Firewall / In both "Domain Profile" and "Default Profile", activate "Windows Firewall: Allow remote desktop exception".

Restart the computer and start using Windows XP with simultaneous access to the remote desktop.

This tutorial has been tested and applies perfectly to Windows XP SP2 and SP3. Other versions may distinguish some information and have not been tested.

4 comments:

  1. Estranho..quando substituo a DLL o servico de terminal nao inicia...

    ReplyDelete
    Replies
    1. Verifique se seu sistema operacional está correto para a DLL, senão não tem como iniciar o serviço.

      Delete
  2. Muito bom o tutor. Poderia disponibilizar as DLLs?

    ReplyDelete