You are not logged in.
Hi,
Is anyone get a solution to use ServiceUI.exe in a deploy task to interact with the local user ?
I get a error 5 but when i try localy with a system session (with psexec -s option) it's work but with the deploy task i just get the error 5
Here is the log :
C:\Program Files\GLPI-Agent\var\https..__glpi.XXXXX_marketplace_glpiinventory_\deploy\workdir\64831f39028e2>exit -1
[Fri Jun 9 14:47:08 2023][debug] ================================
[Fri Jun 9 14:47:08 2023][debug] Started cmd: ServiceUI.exe -process:explorer.exe C:\Windows\notepad.exe
[Fri Jun 9 14:47:08 2023][debug] ================================
[Fri Jun 9 14:47:08 2023][debug] Program to launch : [C:\Windows\notepad.exe]
[Fri Jun 9 14:47:08 2023][debug] Command line : [C:\Windows\notepad.exe]
[Fri Jun 9 14:47:08 2023][debug]
[Fri Jun 9 14:47:08 2023][debug] API [CreateProcessAsUser] Error: [5]
[Fri Jun 9 14:47:08 2023][debug]
[Fri Jun 9 14:47:08 2023][debug] =======================
[Fri Jun 9 14:47:08 2023][debug] Exiting with [-1]
[Fri Jun 9 14:47:08 2023][debug] =======================
[Fri Jun 9 14:47:08 2023][debug]
[Fri Jun 9 14:47:08 2023][debug] C:\Program Files\GLPI-Agent\var\https..__glpi.XXXXX_marketplace_glpiinventory_\deploy\workdir\64831f39028e2>exit -1
Offline
ServiceUI.exe étant lancé avec le compte utilisé par le service [glpi/fusioninventory]_agent ,celui-ci semble ne pas réussir son appel à CreateProcessAsUser.
Peut etre un RunAs permettrait l'appel CreateProcessAsUser, en spécifiant l'utilisateur ?
Offline