Safety Shop's Blog

You come when you need, away when you get

The remote computer disconnected the session because of an error in licensing protocol

By • Apr 6th, 2009 • Category: Windows

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? (29-Aug-06)

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 TERMSERVICE

To 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.

8 Responses »

  1. ….

    $1000 Welcome Bonus!

  2. Black Jack,Video Poker,Online Slots,Craps…

    $1000 Welcome Bonus!

  3. Some very interesting points but i think your research and bias leaves a lot to be desired. Then of course, that

  4. Usually I don’t publish on blogs, however I wish to say that this submit actually pressured me to take action! really nice post.

  5. I sometimes think that the Earth is not going to be here too much longer.

  6. …..

    .

  7. …..

    .

  8. ….

Leave a Reply