From: Jeff on
Can anyone tell me if the AuthenticationLevel property is or will be
available in TSWeb, as it is in the Remote Desktop Connection?

On Jan 16, Rob had this same question. I'm troubled by the same issue.

To me it looks like the AuthenticationLevel property is only available
through the IMsRdpClient4 -- IMsRdpClientAdvancedSettings4 interface. And
those are listed as only being applicable to Windows Vista clients.

However, the mstsc.exe (5.2.3790.1830) (the Remote Desktop Connection
available with Win2003) seems to use this property. Or has it added external
functionality to support server authentication? As any rate, I've been
unsuccessful getting the same functionality out of TSWeb. (Though it works
great with mstsc.exe).

When I look at the type libraries for both mstscax.dll (5.2.3790.1830) and
msrdp.ocx (5.2.3790.0), neither shows the above mentioned interfaces. (The
client is XP Pro, the server is Win2003Ent).

Thanks much,
Jeff

From: TP on
It works fine with TSWeb. Did you make the changes to
the default.htm file that I outlined for Rob?

Here they are again:

Insert the following line in the BtnConnect sub, before
MsRdpClient.Connect:

MsRdpClient.AdvancedSettings.AuthenticationLevel = "2"

If you want to *require* server authentication, set it to
"1" instead.

Here is the thread you are referring to, in case someone
wants to refer back to it:

http://groups.google.com/group/microsoft.public.windows.terminal_services/browse_frm/thread/e66330b41cdc6620

Thanks.

-TP

Jeff wrote:
> Can anyone tell me if the AuthenticationLevel property is or will be
> available in TSWeb, as it is in the Remote Desktop Connection?
>
> On Jan 16, Rob had this same question. I'm troubled by the same
> issue.
>
> To me it looks like the AuthenticationLevel property is only available
> through the IMsRdpClient4 -- IMsRdpClientAdvancedSettings4
> interface. And those are listed as only being applicable to Windows
> Vista clients.
>
> However, the mstsc.exe (5.2.3790.1830) (the Remote Desktop Connection
> available with Win2003) seems to use this property. Or has it added
> external functionality to support server authentication? As any
> rate, I've been unsuccessful getting the same functionality out of
> TSWeb. (Though it works great with mstsc.exe).
>
> When I look at the type libraries for both mstscax.dll
> (5.2.3790.1830) and msrdp.ocx (5.2.3790.0), neither shows the above
> mentioned interfaces. (The client is XP Pro, the server is
> Win2003Ent).
>
> Thanks much,
> Jeff
From: Jeff on
Thanks, TP. I did try that but get a script error: Object doesn't support
this property or method: 'MsRdpClient.AdvancedSettings.AuthenticationLevel'.
All the documentation says AuthenticationLevel is part of MsRdpClient.4,
which is only shown supported by Vistas.

I'm using msrdp.ocx version 5.2.3790.0. Is there a newer version? Is yours
working with that codebase?

Thanks,
Jeff

"TP" wrote:

> It works fine with TSWeb. Did you make the changes to
> the default.htm file that I outlined for Rob?
>
> Here they are again:
>
> Insert the following line in the BtnConnect sub, before
> MsRdpClient.Connect:
>
> MsRdpClient.AdvancedSettings.AuthenticationLevel = "2"
>
> If you want to *require* server authentication, set it to
> "1" instead.
>
> Here is the thread you are referring to, in case someone
> wants to refer back to it:
>
> http://groups.google.com/group/microsoft.public.windows.terminal_services/browse_frm/thread/e66330b41cdc6620
>
> Thanks.
>
> -TP
>
> Jeff wrote:
> > Can anyone tell me if the AuthenticationLevel property is or will be
> > available in TSWeb, as it is in the Remote Desktop Connection?
> >
> > On Jan 16, Rob had this same question. I'm troubled by the same
> > issue.
> >
> > To me it looks like the AuthenticationLevel property is only available
> > through the IMsRdpClient4 -- IMsRdpClientAdvancedSettings4
> > interface. And those are listed as only being applicable to Windows
> > Vista clients.
> >
> > However, the mstsc.exe (5.2.3790.1830) (the Remote Desktop Connection
> > available with Win2003) seems to use this property. Or has it added
> > external functionality to support server authentication? As any
> > rate, I've been unsuccessful getting the same functionality out of
> > TSWeb. (Though it works great with mstsc.exe).
> >
> > When I look at the type libraries for both mstscax.dll
> > (5.2.3790.1830) and msrdp.ocx (5.2.3790.0), neither shows the above
> > mentioned interfaces. (The client is XP Pro, the server is
> > Win2003Ent).
> >
> > Thanks much,
> > Jeff
>
From: TP on
You need to use 5.2.3790.1830, which is the version that
shipped with Windows 2003 SP1. SP1 was the first version
to support TLS authentication, so it makes sense.

The latest version should be located here on your server:

C:\WINDOWS\Web\TSWeb

If you do not have the files installed on your server, you
need to go to Add/Remove Programs, Windows Components,
Application Server, IIS, World Wide Web Service, and
check Remote Desktop Web Connection.

Thanks.

-TP

Jeff wrote:
> Thanks, TP. I did try that but get a script error: Object doesn't
> support this property or method:
> 'MsRdpClient.AdvancedSettings.AuthenticationLevel'. All the
> documentation says AuthenticationLevel is part of MsRdpClient.4,
> which is only shown supported by Vistas.
>
> I'm using msrdp.ocx version 5.2.3790.0. Is there a newer version?
> Is yours working with that codebase?
>
> Thanks,
> Jeff