26 January, 2013

Add RDP ver 7 support on Windows 2003 server

RDP version 7 is not available for 2003 server.
and what is you really need it ?

Here is the way:

copy from a windows 2008/7 the following files to directory named "source":

aaclient.dll
aaclient.dll.mui
msrdpwebaccess.dll
mstsc.exe
mstsc.exe.mui
mstscax.dll
mstscax.dll.mui
tsgqec.dll
tsgqec.dll.mui
tswbprxy.exe
wksprt.exe
wksprt.exe.mui
wksprtps.dll

copy the content of the following batch file and save it in a directory above "source":
===========================================



Echo copy RDP 7.0 Files for Windows 2003

Rem Copy to Windows\system32\en-US

copy /y ..\Source\aaclient.dll.mui %windir%\system32\en-US\aaclient.dll.mui
copy /y ..\Source\mstsc.exe.mui %windir%\system32\en-US\mstsc.exe.mui
copy /y ..\Source\mstscax.dll.mui %windir%\system32\en-US\mstscax.dll.mui
copy /y ..\Source\wksprt.exe.mui %windir%\system32\en-US\wksprt.exe.mui
copy /y ..\Source\tsgqec.dll.mui %windir%\system32\en-US\tsgqec.dll.mui


Rem copy to Windows\system32

copy /y ..\Source\aaclient.dll %windir%\system32\aaclient.dll
copy /y ..\Source\MsRdpWebAccess.dll %windir%\system32\MsRdpWebAccess.dll
copy /y ..\Source\mstscax.dll %windir%\system32\mstscax.dll
copy /y ..\Source\tsgQec.dll %windir%\system32\tsgQec.dll
copy /y ..\Source\wksprtPS.dll %windir%\system32\wksprtPS.dll
copy /y ..\Source\mstsc.exe %windir%\system32\mstsc.exe
copy /y ..\Source\TSWbPrxy.exe %windir%\system32\TSWbPrxy.exe
copy /y ..\Source\wksprt.exe %windir%\system32\wksprt.exe
 

Rem copy to Windows\system32\cache

copy /y ..\Source\aaclient.dll %windir%\system32\dllcache\aaclient.dll
copy /y ..\Source\MsRdpWebAccess.dll %windir%\system32\dllcache\MsRdpWebAccess.dll
copy /y ..\Source\mstscax.dll %windir%\system32\dllcache\mstscax.dll
copy /y ..\Source\tsgQec.dll %windir%\system32\dllcache\tsgQec.dll


Rem Register Dll after copy

call %systemroot%\system32\regsvr32.exe /s %systemroot%\system32\mstscax.dll
call %systemroot%\system32\wksprt.exe /RegServer
call %systemroot%\system32\regsvr32.exe /s %systemroot%\system32\wksprtPS.dll
call %systemroot%\system32\regsvr32.exe /s %systemroot%\system32\MsRdpWebAccess.dll
call %systemroot%\system32\mstsc.exe /RegServer
call %systemroot%\system32\TsWbPrxy.exe /RegServer


Rem Registry Add (if you have a problem just make sure every line begins with "reg add")

REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{B43A0C1E-B63F-4691-B68F-CD807A45DA01}","AppName",,"TSWbPrxy.exe"
REG ADD HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{B43A0C1E-B63F-4691-B68F-CD807A45DA01}","AppPath",0x00020000,"%systemroot%\system32"
REG ADD HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{B43A0C1E-B63F-4691-B68F-CD807A45DA01}","Policy",0x00010001,3
REG ADD HKLM\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{9059f30f-4eb1-4bd2-9fdc-36f43a218f4a}","Compatibility Flags",0x00010001,0x400
REG ADD HKLM\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{9059f30f-4eb1-4bd2-9fdc-36f43a218f4a}","AlternateCLSID",,"{971127BB-259F-48c2-BD75-5F97A3331551}"
REG ADD HKLM\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{7584c670-2274-4efb-b00b-d6aaba6d3850}","Compatibility Flags",0x00010001,0x400
REG ADD HKLM\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{7584c670-2274-4efb-b00b-d6aaba6d3850}","AlternateCLSID",,"{6A6F4B83-45C5-4ca9-BDD9-0D81C12295E4}"
REG ADD HKLM\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{4EDCB26C-D24C-4e72-AF07-B576699AC0DE}","Compatibility Flags",0x00010001,0x400
REG ADD HKLM\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{4EDCB26C-D24C-4e72-AF07-B576699AC0DE}","AlternateCLSID",,"{54CE37E0-9834-41ae-9896-4DAB69DC022B}"
=====================================================

run the batch file and now you have RDP ver 7 on Windows 2003 server.

It is redundant to write that this is not supported by either Microsoft or me...

Thanks for Elad on this hack.

Enjoy.