Start program as logged on user after install?

Greetings to all
I would like to start cisco jabber as logged on user, after an uninstall and reinstall with PADT. I know it can be done with a PS script. From the help file
““Execute-ProcessAsUser -Path “$PSHOME\powershell.exe” -Parameters “-Command & { & “C:\Test\Script.ps1”; Exit `$LastExitCode }” -Wait””
Execute process under a user account by using the default active logged in user that was detected when the toolkit was launched.
I would like to start “C:\Program Files (x86)\Cisco Systems\Cisco Jabber\CiscoJabber.exe”, after the installation. Is it possible, or can it only be done with a PS script?
Best regards
Per

Hi,

Did you tried using an active-setup?

Thanks,

Put this in the POST-INSTALLATION section of your script.

Execute-ProcessAsUser -Path 'C:\Program Files (x86)\Cisco Systems\Cisco Jabber\CiscoJabber.exe' -RunLevel LeastPrivilege

This should run the application in the user context.

Hi Francois
What do you mean with an “Active-Setup”?

Regards
Per

Hi Justin
Great, that did it :slight_smile:
Thanx a lot

Regards
Per

Hi,

The function set-activesetup.

Thanks,