How to start process after install, as ordinary user?
Experiences and Insight 294 views · 0 replies ·
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?
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?