rdp initial program

2024-03-03 Thread Simon
hi,
   I have a windows rdp connection, it worked well. 
   But, it does not work when i give a config for initial program. 
  My pc's system is Windows 11 Enterprise, and conf initial-program with   
C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE .
  It just connect rdp, no app launch when connect on. 


thx

Re: RDP - Initial program

2019-12-19 Thread ivanmarcus
I've not needed to do anything like this, so perhaps I'm missing 
something, but I guess you could write the necessary script and wrap it 
up as an .exe if it won't run as a batch file on start?


Other than that, would this be of any use?: 
https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.sessionchangedescription?redirectedfrom=MSDN=netframework-4.8


On 20/12/2019 7:59 a.m., Ashish Purohit wrote:

Yes I tried with MS Remote Desktop Client and it didn't work . I read
few articles about it and they have mentioned to enable terminal
services . With Terminal service enable it is opening only as single
app mode same as remote app. But we want to render complete desktop
and execute script or exe file on background for every user login to
capture session's details

  I am trying to understand if we can use initial program to run
background script for every user's login ?  Do you have any suggestion
how to accomplish this?


On Thu, Dec 19, 2019 at 1:34 PM Nick Couchman  wrote:

On Thu, Dec 19, 2019 at 1:24 PM Ashish Purohit  
wrote:

Hi ,

I would like to appreciate and thanks entire Apache guacamole team for
the wonderful product .

I am trying to execute an program on every users login to fetch the
LOGONID from security event to track user's activities. I am unable to
run the exe file using Initial-program parameter . I am passing it as
GuacamoleConfiguration parameter through custom Guacamole client code
as config.setParameter("initial-program"," full path to exe file"). Is
there something  I am  missing here?


Have you tried with something other than Guacamole to see if it works as 
expected - either xfreerdp or MS Remote Desktop Client?

-Nick

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org





Re: RDP - Initial program

2019-12-19 Thread Ashish Purohit
Yes I tried with MS Remote Desktop Client and it didn't work . I read
few articles about it and they have mentioned to enable terminal
services . With Terminal service enable it is opening only as single
app mode same as remote app. But we want to render complete desktop
and execute script or exe file on background for every user login to
capture session's details

 I am trying to understand if we can use initial program to run
background script for every user's login ?  Do you have any suggestion
how to accomplish this?


On Thu, Dec 19, 2019 at 1:34 PM Nick Couchman  wrote:
>
> On Thu, Dec 19, 2019 at 1:24 PM Ashish Purohit  
> wrote:
>>
>> Hi ,
>>
>> I would like to appreciate and thanks entire Apache guacamole team for
>> the wonderful product .
>>
>> I am trying to execute an program on every users login to fetch the
>> LOGONID from security event to track user's activities. I am unable to
>> run the exe file using Initial-program parameter . I am passing it as
>> GuacamoleConfiguration parameter through custom Guacamole client code
>> as config.setParameter("initial-program"," full path to exe file"). Is
>> there something  I am  missing here?
>>
>
> Have you tried with something other than Guacamole to see if it works as 
> expected - either xfreerdp or MS Remote Desktop Client?
>
> -Nick

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: RDP - Initial program

2019-12-19 Thread Nick Couchman
On Thu, Dec 19, 2019 at 1:24 PM Ashish Purohit 
wrote:

> Hi ,
>
> I would like to appreciate and thanks entire Apache guacamole team for
> the wonderful product .
>
> I am trying to execute an program on every users login to fetch the
> LOGONID from security event to track user's activities. I am unable to
> run the exe file using Initial-program parameter . I am passing it as
> GuacamoleConfiguration parameter through custom Guacamole client code
> as config.setParameter("initial-program"," full path to exe file"). Is
> there something  I am  missing here?
>
>
Have you tried with something other than Guacamole to see if it works as
expected - either xfreerdp or MS Remote Desktop Client?

-Nick


RDP - Initial program

2019-12-19 Thread Ashish Purohit
Hi ,

I would like to appreciate and thanks entire Apache guacamole team for
the wonderful product .

I am trying to execute an program on every users login to fetch the
LOGONID from security event to track user's activities. I am unable to
run the exe file using Initial-program parameter . I am passing it as
GuacamoleConfiguration parameter through custom Guacamole client code
as config.setParameter("initial-program"," full path to exe file"). Is
there something  I am  missing here?


Thanks,
Ashish

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org