Update to Remote Desktop Web Connection to
allow connections with other port numbers.
I updated the IIS Remote Desktop Page (TSWEB) to allow connecting using different
RDP port numbers. Thought others might find it useful. Its a very simple update that any vbscript programmer could do, but if you can't code....
You can get it here http://tomspeirs.com/TsWebPorts.zip
Just replace default.htm in C:\WINDOWS\Web\TSWeb
You can now use a server name with port like in regular remote desktop like server1:3390
Here's the changed code:
sub BtnConnect
Dim serverName
'server
if not Document.all.Server.value = "" then
serverName = Document.all.Server.value
else
serverName = Document.location.hostname
end if
serverName = trim(serverName)
if instr(servername,":")>0 then
dim splitstr(1)
Splitstr(0)=split(servername,":")(0)
Splitstr(1)=split(servername,":")(1)
splitstr(1)=trim(splitstr(1))
splitstr(0)=trim(splitstr(0))
if isnumeric(splitstr(1)) and len(splitstr(1))>0 and len(splitstr(1))<6 then
MsRdpClient.AdvancedSettings.rdpport=clng(splitstr(1))
end if
servername=splitstr(0)
end if
On Error Resume Next
MsRdpClient.server = servername
Other software by Tom Speirs:
GameEx - MAME,
emulator and home theatre PC Front End.
Mnger - MNG
Animation player
MAME
Screensaver
Spesoft
Free CD Ripper
Instant
Sheller
DesktopMAME
Visual
Basic .net Multi Threaded Web Server Source Code
|