I have an application that works when installed (independently of SCCM) using
psexec -s -i Install-Application.bat
but fails when installed using
psexec -s Install-Application.bat
The symptom in the latter case is that the UI never appears when the application process is launched.
So far I have always left the "Allow users to view and interact" box unchecked because that is best practice because of security concerns. (For this application achieving automated deployment outweighs this particular security concern.) Indeed installation by the SCCM client fails in the same way as above with "Allow users to view and interact" left unchecked.
Is checking "Allow users to view and interact" equivalent to installing with the -i
option of psexec
?
This is tricky to test since you need an application that measurably behaves differently when installed
-i
switch ofpsexec
, orSo far the only application where I have noticed such behavior is the application "Logitech Options 3.0.77". I just tested its installation behavior using all four aforementioned variations of
psexec
and SCCM client and options. Here are the results:By all indications for "Logitech Options 3.0.77" the
-i
switch ofpsexec
is equivalent to checking the "Allow users to view and interact" check box. Whether this generalizes to other applications remains to be seen.These results suggest that it is a good starting assumption that if an application only installs correctly with
psexec
's-i
option, it will need the "Allow users to view and interact" box checked to install correctly using SCCM.