mstsc多用户登录在系统更新后,无法多用户登录,解决这一问题,使用批处理加计划任务程序自动执行即可解决。
第一步
将批处理win10termsrv和termsrv.dll放入D盘根目录
win10termsrv.bat批处理内容
@ECHO OFF
setlocal EnableDelayedExpansion
color 3e
title 速达速修
PUSHD %~DP0 & cd /d "%~dp0"
%1 %2
mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :runas","","runas",1)(window.close)&goto :eof
:runas
takeown /F c:\Windows\System32\termsrv.dll /A
icacls c:\Windows\System32\termsrv.dll /grant Administrators:F
Net stop TermService /y
copy G:\termsrv.dll C:\Windows\System32 /y
Net start TermService
exit
第二步
打开控制面板
第三步
打开计划任务程序
第四步
创建基本任务程序
第五步
任务程序参数设置