????????? 同用戶的遠程桌面共享主要通過mstsc的shadow參數(shù)實現(xiàn)。

????默認情況下,win10在一個用戶登錄之后,如果另一個用戶遠程連接,將會提示以下界面。

????備份termsrv.dll文件copyc:\Windows\System32\termsrv.dll termsrv-bp.dll
????獲取權限takeown /F c:\Windows\System32\termsrv.dll /A
????????????????? icaclsc:\Windows\System32\termsrv.dll /grant Administrators:F
????在管理工具--服務中停止Remote Desktop Services服務
????Get-ComputerInfo | select WindowsProductName, WindowsVersion(在PowerShell中運行)
????根據(jù)版本的不同在termsrv文件中搜索不同的字符串進行修改。
Windows 10?版本搜索字符串替換成字符串“B8 00 01? 00 00 89 81 38 06 00 00 90”
Windows 10 x64 1909? ? ? 39 81 3C 06 00 00 0F 84 5D 61 01 00
Windows 10 x64 1903? ? ? 39 81 3C 06 00 00 0F 84 5D 61 01 00
Windows 10 x64 1809? ? ? 39 81 3C 06 00 00 0F 84 CB 2B 01 00
Windows 10 x64 1803? ? ? 8B 99 3C 06 00 00 8B B9 38 06 00 00
Windows 10 x64 1709? ? ? 39 81 3C 06 00 00 0F 84 B1 7D 02 00
????修改遠程桌面的termsrv.dll文件

????將修改字符串之后的dll文件替換system32中的對應文件
????在服務中啟動Remote Desktop Services服務
????win 10 能多用戶同時登錄。
????關于組策略中的多用戶數(shù)量以及shadow隱藏連接,請參考win server 2016的對應操作。