Unfortunately, the suggestion for serviceUI failed.
I have tried it with "Start-ADTProcess -FilePath 'ServiceUI.exe' -ArgumentList 'hwi64_830.exe' -CreateNoWindow" and the installation failed through Intune set in the System context. I was getting "execution failed with exit code [-1]" error in the PSADT logs.
I then tried "Start-ADTProcess -FilePath 'ServiceUI.exe' -ArgumentList 'Process:explorer.exe hwi64_830.exe' -CreateNoWindow" (like what you'd do if not doing PSADT with it) with the same result.
I have pasted the full relevant log below.
I then just did the exe and serviceui.exe in an intunewin file with
".\ServiceUI.exe -Process:explorer.exe hwi64_830.exe" in system context and had no issues getting the installer UI to show.
What might I be missing here?
I know it might end up with me going with the simple method, but I would really like PSADT to be our software deployment standard, so there is interest in making this work with Intune.
Thank you for the continued help.
Message : Execution failed with exit code [-1]. Please check the log file for any available stdout/stderr information.
FullyQualifiedErrorId : ProcessExitCodeError,Start-ADTProcess
ScriptStackTrace : at Start-ADTProcess<Process>, C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\PSAppDeployToolkit\PSAppDeployToolkit.psm1: line 21672
at Install-ADTDeployment, C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\Invoke-AppDeployToolkit.ps1: line 130
at <ScriptBlock>, C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\Invoke-AppDeployToolkit.ps1: line 251
at <ScriptBlock>, <No file>: line 1
TargetObject : Process : System.Diagnostics.Process (ServiceUI)
LaunchInfo : ProcessLaunchInfo { FilePath = C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\Files\serviceUI.exe, ArgumentList = System.Collections.ObjectModel.ReadOnlyCollection`1[System.String], WorkingDirectory = C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\Files, Username = , UseLinkedAdminToken = False, InheritEnvironmentVariables = False, ExpandEnvironmentVariables = False, InheritHandles = False, UseUnelevatedToken = False, UseShellExecute = False, Verb = , CreateNoWindow = True, WaitForChildProcesses = False, KillChildProcessesWithParent = False, StreamEncoding = System.Text.SBCSCodePageEncoding, WindowStyle = SW_HIDE, PriorityClass = , CancellationToken = , NoTerminateOnTimeout = False }
CommandLine : "C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\Files\serviceUI.exe" hwi64_830.exe
ExitCode : -1
StdOut : { =======================, Logon Lookup, =======================, [winlogon.exe] Session: [1] PID [1144] [Target Session [1] = Match]...}
StdErr : {}
Interleaved : { =======================, Logon Lookup, =======================, [winlogon.exe] Session: [1] PID [1144] [Target Session [1] = Match]...}
PositionMessage : At C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\Invoke-AppDeployToolkit.ps1:130 char:5
+ Start-ADTProcess -FilePath 'serviceUI.exe' -ArgumentList 'hwi64_8 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<[LOG]!><time="10:22:17.798-300" date="9-15-2025" component="Invoke-AppDeployToolkit.ps1" context="NT AUTHORITY\SYSTEM" type="3" thread="10812" file="C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\Invoke-AppDeployToolkit.ps1">
<![LOG[[Finalization] :: [REALiX_HWiNFO_8.30_x86_EN_01] install completed in [0.7623727] seconds with exit code [-1].]LOG]!><time="10:22:17.818-300" date="9-15-2025" component="Close-ADTSession" context="NT AUTHORITY\SYSTEM" type="3" thread="10812" file="C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\PSAppDeployToolkit\PSAppDeployToolkit.psm1">
<![LOG[-------------------------------------------------------------------------------]LOG]!><time="10:22:17.818-300" date="9-15-2025" component="Close-ADTSession" context="NT AUTHORITY\SYSTEM" type="1" thread="10812" file="C:\WINDOWS\IMECache\c666f3bb-ac15-4730-9a7a-9842b3180c52_1\PSAppDeployToolkit\PSAppDeployToolkit.psm1">