Using XPSP2 to simulate 2003 remote multi-user login

  

Scenario Reproduction:

There are some “rich people” in the 348 dormitory on the 5th floor. Each student has one computer and another rich computer. Opened the 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 is also coming: 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 write off! All file transfer work is prohibited! 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.

Click "Yes", COMPANYX remote desktop program forcibly cancels the currently logged in usery user on COMPANY-XP2, so that COMPANY-XP2 computer returns to the login welcome interface, and COMPANYX's remote desktop window displays 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, XP SP2 was rumored to support multiple users at the same time to establish a remote desktop connection. At the 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 such articles seem to have disappeared recently. 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 beta version of the terminal server on the SP2 computer, and successfully established two connections 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 a version of the SP2 terminal server software (it is said that this function is prohibited from Build 2082, so it is best to use the previous version), Chinese SP2 test version is more difficult to find, I The English version of Build 2055 was used, and no problems were found 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

Remote Desktop can support concurrent user access only when Windows XP has the Welcome screen and Fast User Switching enabled. 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