You receive 'The remote computer disconnected the session because of an error in licensing protocol' on XP Prf
Posted on 2009-06-11 13:21 挥辉 阅读(661) 评论(0) 收藏 举报
You receive 'The remote computer disconnected the session because of an error in licensing protocol' when you attempt to connect to a remote computer using Remote Desktop on a Windows XP Professional Edition?
When you attempt to connect to a remote computer using Remote Desktop on a Windows XP Professional Edition, you receive:
The remote computer disconnected the session because of an error in licensing protocol.
To resolve this behavior, I have scripted FixRDMSL.bat, which contains:
@echo off
setlocal
call :Quiet>nul 2>&1
set key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing
for /f "Tokens=*" %%a in ('REG QUERY %key%^|find /i "%key%\"') do (
@echo REG DELETE "%%a" /F
REG DELETE "%%a" /F
)
endlocal
goto :EOF
:Quiet
NET START TERMSERVICETo fix this behavior:
1. Open a CMD.EXE window.
2. Type FixRDMSL.bat, or the fully qualified file name, and press Enter.
3. Shutdown and restart Windows XP.
浙公网安备 33010602011771号