size limit in rdp file

  • Thread starter Thread starter Ryan Lippens
  • Start date Start date
R

Ryan Lippens

Guest
Hello,

there seems to be a limit on the size of a cmd string to be used in ts
services 2008 rdp file.

I have to insert an encrypted sso ticket in following line of an rdp file,
but hte string exceeds the size limit:
remoteapplicationcmdline:s:

How to split a string that exceeds this limit?
remoteapplicationcmdline:s:

Kind regards,
Ryan
 
Re: size limit in rdp file

"Ryan Lippens" <Ryan Lippens@discussions.microsoft.com> wrote in message
news:D718AC1D-4015-49C8-89E9-E3A351181D16@microsoft.com...
> Hello,
>
> there seems to be a limit on the size of a cmd string to be used in ts
> services 2008 rdp file.
>
> I have to insert an encrypted sso ticket in following line of an rdp file,
> but hte string exceeds the size limit:
> remoteapplicationcmdline:s:
>
> How to split a string that exceeds this limit?
> remoteapplicationcmdline:s:
>
> Kind regards,
> Ryan



There's no provision for longer strings in RDP files.

You could create a .cmd file on the server that contains the cmd-line, and
use that in the RDP file.

Rob
 
Re: size limit in rdp file

Hello Rob,

Tnx for the answer.

As the encrypted string of the sso ticket changes and is different for every
user it would be easier to put it in the rdp file.
Similar like in a citrix .ica file, there you can split the cmd line.

I will have a look if we can find a working solution with a cmd on a server.

Just one additional question:
the string of signature:s: can contain more then one line of characters in
the rdp file , seems the limit doesnt count in this line?

Regards,
Ryan

"Rob Leitman [MSFT]" wrote:

> "Ryan Lippens" <Ryan Lippens@discussions.microsoft.com> wrote in message
> news:D718AC1D-4015-49C8-89E9-E3A351181D16@microsoft.com...
> > Hello,
> >
> > there seems to be a limit on the size of a cmd string to be used in ts
> > services 2008 rdp file.
> >
> > I have to insert an encrypted sso ticket in following line of an rdp file,
> > but hte string exceeds the size limit:
> > remoteapplicationcmdline:s:
> >
> > How to split a string that exceeds this limit?
> > remoteapplicationcmdline:s:
> >
> > Kind regards,
> > Ryan

>
>
> There's no provision for longer strings in RDP files.
>
> You could create a .cmd file on the server that contains the cmd-line, and
> use that in the RDP file.
>
> Rob
>
>
 
Re: size limit in rdp file

"Ryan Lippens" <RyanLippens@discussions.microsoft.com> wrote in message
news:7236E16F-330E-4F60-AB55-01C2C31C29D7@microsoft.com...
> Hello Rob,
>
> Tnx for the answer.
>
> As the encrypted string of the sso ticket changes and is different for
> every
> user it would be easier to put it in the rdp file.
> Similar like in a citrix .ica file, there you can split the cmd line.
>
> I will have a look if we can find a working solution with a cmd on a
> server.
>
> Just one additional question:
> the string of signature:s: can contain more then one line of characters in
> the rdp file , seems the limit doesnt count in this line?
>
> Regards,
> Ryan
>
> "Rob Leitman [MSFT]" wrote:
>
>> "Ryan Lippens" <Ryan Lippens@discussions.microsoft.com> wrote in message
>> news:D718AC1D-4015-49C8-89E9-E3A351181D16@microsoft.com...
>> > Hello,
>> >
>> > there seems to be a limit on the size of a cmd string to be used in ts
>> > services 2008 rdp file.
>> >
>> > I have to insert an encrypted sso ticket in following line of an rdp
>> > file,
>> > but hte string exceeds the size limit:
>> > remoteapplicationcmdline:s:
>> >
>> > How to split a string that exceeds this limit?
>> > remoteapplicationcmdline:s:
>> >
>> > Kind regards,
>> > Ryan

>>
>>
>> There's no provision for longer strings in RDP files.
>>
>> You could create a .cmd file on the server that contains the cmd-line,
>> and
>> use that in the RDP file.
>>


I don't believe the signature field can be multi-line. Are you sure your
editor isn't splitting the lines?

Rob
 
Back
Top