Simulate 2003 Remote Multi-User Login with XP SP2

  
                              

Remote Desktop also needs multi-user work

Scene Reproduction:

There are some “rich people” in the 348 dormitory on the 5th floor. Each student has a computer and is rich. A computer that opens a remote desktop for everyone to use.

Windows XP Remote Desktop has many convenient places. Students can remotely control this computer in the field or at home. It is easy to manage and troubleshoot remotely. But the trouble has come: every student has the right to modify the system (everyone is equal), once, after Ama logs in, transfer files and other operations, then the fat suddenly clicked, Ama was forced to cancel! All file transfer work is banned! Not only that, if Ama logs in and encounters problems, I hope that other people can log in and work together to solve the problem, because Remote Desktop only allows one user to log in.

It's a shame that Remote Desktop only allows one user to log in. Suppose there are two computers, COMPANYX and COMPANY-XP2 (this computer has SP2 installed). Now connect to COMPANY-XP2 from COMPANYX via Remote Desktop, so run "mstsc" on COMPANYX and enter the name of the remote computer. And login user name and password (see Figure 1).

click "Connect", COMPANY-XP2 Remote Desktop window appears on COMPANYX, and suggested that another user has to log on usery COMPANY-XP2 computer. If you continue to log in to COMPANY-XP2, its current logged in user usery will be forcibly logged out (see Figure 2).

in Figure 2. Click on "Yes", COMPANYX Remote Desktop application to force the cancellation of usery COMPANY-XP2 user currently logged on, the COMPANY-XP2 computer back to the login welcome screen, while COMPANYX remote desktop window shows COMPANY-XP2 desktop. At this time, on COMPANY-XP2, regardless of which user identity (such as abc or usery) is used to log in, COMPANY-XP2 will forcibly log off the remote login user abc, causing the remote connection to be interrupted—that is, whenever remotely Only one user can log in to the desktop!

Solution

At the beginning of the year, SP2, which was rumored on the Internet, would support multiple users to establish a remote desktop connection at the same time. It was really happy for a while. When the official version of SP2 comes out, I will try SP2's remote desktop multi-user support, but I can't let two users log in at the same time anyway - whether it is logging in two remote desktop connections at the same time, or a remote desktop or a local desktop. Whether it's using the same username or using a different username, it won't work!
What is going on? Check out Microsoft's documentation for SP2 and don't see any instructions for remote desktop multi-user support. The search network, the introduction of multi-user support is the information at the beginning of the year, and recently such articles seem to have disappeared. So, is it that Microsoft originally intended to allow SP2 to support multiple users to connect to the remote desktop at the same time, and later canceled it? In order to clarify this problem, I replaced the SP2 official version of the terminal server with the SP2 test version of the terminal server on the SP2 computer. Sure enough, two connections were successfully established at the same time. The following describes the specific implementation steps.

Step 1: First, install the official SP2 version on Windows XP and install it in the normal way. I won't go into details here.

Step 2: Prepare an earlier version of the SP2 terminal server software (it is said that this function is forbidden since Build 2082, so it is best to use the previous version), the Chinese SP2 test version is more difficult to find, I used the English version of Build 2055 and found no problems after running. You can download the terminal server executable file TermSrv.DLL of Build 2055 at http://www.msfn.org/board/index.php?s=85a71ca2987c89886c99733154ae685f&act=Attach&type=post&id=161513. Downloaded from this link is a file with a .DL_ extension. You can change its extension to a ZIP file and then unpack it with WinRAR.

Step 3: Next, start Windows XP in Safe Mode. If you have multiple operating systems, you can boot another system that can access the Windows XP system partition (unless third-party tools are installed, Windows 98 can't access NTFS partitions, so Windows 98 may be useless). Then, back up all the TermSrv.DLLs in the official SP2 version of Windows XP, and overwrite all the TermSrv.DLL files with the Build 2055 version of TermSrv.DLL. Normally, TermSrv.DLL appears in at least two locations: \\Windows\\system32, \\Windows\\system32\\dllcache. Wherever there is a TermSrv.DLL, it is overwritten with the Build 2055 version of TermSrv.DLL.

Step 4: Start Windows XP in normal mode. If the system's file protection function prompts that the TermSrv.DLL file has been modified and asks if you want to restore it, select No.

Step 5: Finally, modify the registry to increase the multi-user license for the terminal server. Since modifying the registry is cumbersome and error-prone, you can modify the registry with the following batch command:

@echo off

setlocal

set regkey="HKLM\\ SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\Licensing Core"

reg add %regkey% /v EnableConcurrentSessions /T REG_DWORD /D 1 /f

endlocal

Save it as a batch command file, such as AA.BAT, and double-click it to execute it (see Figure 3).

Tips

is enabled only when Windows XP welcome screen, then Fast User Switching feature, Remote Desktop to support concurrent user access. You can enable them from the following locations: "Control Panel → User Accounts → Change how users log in or log out."

In summary, the modified XP remote server allows two different users to log in at the same time - although not comparable to the powerful terminal services of Windows Server 2003, but after all, it is better than nothing, barely countable multi-user support . I tried to copy the Windows Server 2003 terminal server to XP, but it didn't work. It seems that Microsoft has spared no effort to adhere to the principle that XP, as a personal desktop operating system, does not allow multiple users to use it at the same time.

Copyright © Windows knowledge All Rights Reserved