Run application as current user?

Moderator: MVogt

Post Reply
ricardoduarte
Posts: 14
Joined: 07. Jul 2017, 14:33
Contact:

Run application as current user?

Post by ricardoduarte » 09. Sep 2017, 13:15

Hi there,

I need the data collector to write some values to HKCU, but when I run it from the Kiosk it always run as SYSTEM.
Because of that, the values show under the SYSTEM registry hive, and not the current user using the computer.
How can I make the data collector run as the current logged on user?

Thanks.

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7962
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Run application as current user?

Post by Hendrik_Ambrosius » 11. Sep 2017, 11:16

Run the EXE from the user part of the package:

[Product]
...
#SET:Userpart, Client
...

[SET:Userpart]
CALL Whatever.exe
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

ricardoduarte
Posts: 14
Joined: 07. Jul 2017, 14:33
Contact:

Re: Run application as current user?

Post by ricardoduarte » 11. Sep 2017, 16:55

That kind of works.
But it only runs once per user. It is not possible, for example, to rerun a script or reinstall an application.
Setup.exe just opens-closes instantly.

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7962
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Run application as current user?

Post by Hendrik_Ambrosius » 11. Sep 2017, 17:23

Try reinstall with uninstallation or increase the package revision in the setup.inf AND the swdepot package properties.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

Post Reply

Return to “Software Management”

Who is online

Users browsing this forum: No registered users and 5 guests