How to start process after install, as ordinary user?
Tofloor
poster avatar
clintbarton
deepin
2018-06-05 04:31
Author
本帖最后由 clintbarton 于 2018-6-4 20:32 编辑

Hi,

My install needs a service under the SYSTEM account.It also installs another process (.exe) which must run in the logon session of the currently logged-in interactive user. (which may not be the same Administrator as doing the install)
Eg. I have two users. Bill (Standard user) and Ted (administrator).
I have two processes, service.exe and usershell.exe
Bill is logged-in.
Ted runs the install. It refuses to run because it needs admin rights. Ted elevates or "RUN AS" Ted in order to perform the install. Service.exe starts.Now I need to automatically start usershell.exe, after the install, but Running as user Bill who is the currently logged-in interactive user. I do not wish to grant usershell.exe the same Admin rights as Ted who is executing the install.Is this possible?





Reply Favorite View the author
All Replies

No replies yet