H
H
hr_lolka2016-03-13 18:38:24
Delphi
hr_lolka, 2016-03-13 18:38:24

How to start a program on login in rdp c#/delphi?

I'm trying to do like this:

axMsRdpClient8NotSafeForScripting1.SecuredSettings.StartProgram = @"calc.exe";
           axMsRdpClient8NotSafeForScripting1.SecuredSettings.WorkDir = @"C:\Windows\System32\";

As soon as I did not try) but nothing starts. Tested on 3 grandfathers, nothing started on 2, and on 1 it gave the error "the system cannot fiind the file specified ..." although there is a file there, it gave an error in the welcome window. How to fix ? and also axMsRdpClient8NotSafeForScripting1.SecuredSettings Enabled gives -1 is this normal?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
n0vik0v, 2016-03-23
@n0vik0v

In the properties of the .rdp file on the client, or in the RD Session Host configuration on the server. Thus, even explorer.exe is not loaded.
If you need to boot - autoload, registry or scheduler to help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question