Hi I’m seeing this intermittent issue.
I just killed my manager’s Outlook mid writing email.
CM client version 5.00.9058.1047
The application deployment type is set to “Install for system”, “Whether or not user is logged on”, “hidden”.
With the same application, if “Install” it from the software center, it displays correctly. So I don’t believe it’s a problem with these settings. PSADT pushes the GUI to the logged on user, not CM.
I was thinking it might be something like the user hasn’t been signed in, and signed in mid-install, but checked user had already been signed in for more than 10 minutes.
Here is the log. The most notable entries:
[Initialization] :: The following non-default parameters were passed to [Deploy Application]: [-DeployMode:‘Interactive’ -DeploymentType:‘Install’ -AllowRebootPassThru:$true] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: The following user is the console user [mydomain\myuser] (user with control of physical monitor, keyboard, and mouse). PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Pre-Installation] :: Force closing application(s) [eDocs,Microsoft Outlook,Windows Explorer] without prompting user. Show-InstallationWelcome 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: ******************************************************************************* PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: ******************************************************************************* PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: [OpenText_eDOCSDMExtensions_16.7.7_EN_03] setup started. PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: Script [C:\windows\ccmcache\a\AppDeployToolkit\AppDeployToolkitMain.ps1] dot-source invoked by [C:\windows\ccmcache\a\Deploy-Application.ps1] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: Script [C:\windows\ccmcache\a\AppDeployToolkit\AppDeployToolkitExtensions.ps1] dot-source invoked by [C:\windows\ccmcache\a\AppDeployToolkit\AppDeployToolkitMain.ps1] PSAppDeployToolkitExt 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: [OpenText_eDOCSDMExtensions_16.7.7_EN_03] script version is [3.0.0] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: [OpenText_eDOCSDMExtensions_16.7.7_EN_03] script date is [01/24/2022] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: [OpenText_eDOCSDMExtensions_16.7.7_EN_03] script author is [perryj] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: [Deploy Application] script version is [3.8.4] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: The following non-default parameters were passed to [Deploy Application]: [-DeployMode:'Interactive' -DeploymentType:'Install' -AllowRebootPassThru:$true] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: [App Deploy Toolkit Main] script version is [3.8.4] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: [App Deploy Toolkit Extensions] version is [3.8.4] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: Computer Name is [MOB6909.my.fqdn.domain] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: Current User is [NT AUTHORITY\SYSTEM] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: OS Version is [Microsoft Windows 10 Enterprise 64-bit 10.0.19044.1645] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: OS Type is [Workstation] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: Current Culture is [en-US], language is [EN] and UI language is [EN] PSAppDeployToolkit 05/17/2022 8:40:03 AM 3144 (0x0C48)
[Initialization] :: Hardware Platform is [Physical] PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: PowerShell Host is [ConsoleHost] with version [5.1.19041.1645] PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: PowerShell Version is [5.1.19041.1645 x64] PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: PowerShell CLR (.NET) version is [4.0.30319.42000] PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: ******************************************************************************* PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Display session information for all logged on users:
NTAccount : mydomain\myuser
SID : S-1-5-...-my-user-Guid...
UserName : myuser
DomainName : mydomain
SessionId : 1
SessionName : Console
ConnectState : Active
IsCurrentSession : False
IsConsoleSession : True
IsActiveUserSession : True
IsUserSession : True
IsRdpSession : False
IsLocalAdmin : False
LogonTime : 5/17/2022 8:07:58 AM
IdleTime : 00:00:00
DisconnectTime :
ClientName :
ClientProtocolType :
ClientDirectory :
ClientBuildNumber : 0
PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: The following users are logged on to the system: [mydomain\myuser]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Current process is running under a system account [NT AUTHORITY\SYSTEM]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: The following user is the console user [mydomain\myuser] (user with control of physical monitor, keyboard, and mouse). PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: The active logged on user is [mydomain\myuser]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: The active logged on user [mydomain\myuser] has a primary UI language of [EN]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: The following UI messages were imported from the config XML file: [UI_Messages_EN]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: The active logged on user [mydomain\myuser] has a DPI scale factor of [100] with DPI pixels [96]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Unable to load COM Object [Microsoft.SMS.TSEnvironment]. Therefore, script is not currently running from a SCCM Task Sequence. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Service [Schedule] exists. Test-ServiceExists 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Getting the service [Schedule] startup mode. Get-ServiceStartMode 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Service [Schedule] startup mode is set to [Automatic]. Get-ServiceStartMode 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Getting the service object for service [Schedule]. Start-ServiceAndDependencies 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Service [Schedule] with display name [Task Scheduler] has a status of [Running]. Start-ServiceAndDependencies 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: The task scheduler service is in a healthy state: True. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Session 0 detected, process not running in user interactive mode; deployment mode set to [NonInteractive]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Installation is running in [NonInteractive] mode. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Initialization] :: Deployment type is [Installation]. PSAppDeployToolkit 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Pre-Installation] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] [AutoRestartShell = 0]. Set-RegistryKey 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Pre-Installation] :: Checking for running applications: [explorer,winword,excel,powerpnt,outlook,mspub,msaccess,visio,winproj,DM,Acrobat] Get-RunningProcesses 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Pre-Installation] :: The following processes are running: [DM,explorer,OUTLOOK]. Get-RunningProcesses 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Pre-Installation] :: Force closing application(s) [eDocs,Microsoft Outlook,Windows Explorer] without prompting user. Show-InstallationWelcome 05/17/2022 8:40:04 AM 3144 (0x0C48)
[Pre-Installation] :: Resolving product code to a publisher, application name, and version. Execute-MSI 05/17/2022 8:40:06 AM 3144 (0x0C48)
[Pre-Installation] :: Getting information for installed Product Code [{1E54463D-A7B7-4A87-8692-CB0593A427FA}]... Get-InstalledApplication 05/17/2022 8:40:06 AM 3144 (0x0C48)
[Pre-Installation] :: Skipped 0 entries while searching, because they were considered Microsoft updates. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Found no application based on the supplied parameters. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Getting information for installed Product Code [{1E54463D-A7B7-4A87-8692-CB0593A427FA}]... Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Skipped 0 entries while searching, because they were considered Microsoft updates. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Found no application based on the supplied parameters. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: The MSI is not installed on this system. Skipping action [Uninstall]... Execute-MSI 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Resolving product code to a publisher, application name, and version. Execute-MSI 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Getting information for installed Product Code [{83DF02A1-851B-42FA-80BA-35549A82C92B}]... Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Skipped 0 entries while searching, because they were considered Microsoft updates. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Found no application based on the supplied parameters. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Getting information for installed Product Code [{83DF02A1-851B-42FA-80BA-35549A82C92B}]... Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Skipped 0 entries while searching, because they were considered Microsoft updates. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Found no application based on the supplied parameters. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: The MSI is not installed on this system. Skipping action [Uninstall]... Execute-MSI 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Bypassing Show-InstallationProgress [Mode: NonInteractive]. Status message:Installation in progress. Please wait... Show-InstallationProgress 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Getting information for installed Product Code [{43AC981F-BDD2-4655-A62E-64310DAABB10}]... Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Found installed application [OpenText eDOCS DM 16.7 Extensions (x64)] version [16.70.971] matching product code [{43AC981F-BDD2-4655-A62E-64310DAABB10}]. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: Skipped 0 entries while searching, because they were considered Microsoft updates. Get-InstalledApplication 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Pre-Installation] :: OpenText eDOCS DM Extensions 16.7.7 detected as already installed as @{InstallSource=C:\windows\ccmcache\3\Files\; UninstallString=MsiExec.exe /I{43AC981F-BDD2-4655-A62E-64310DAABB10}; UninstallSubkey={43AC981F-BDD2-4655-A62E-64310DAABB10}; InstallLocation=; ProductCode={43AC981F-BDD2-4655-A62E-64310DAABB10}; Is64BitApplication=True; Publisher=Open Text Corporation; InstallDate=20220329; DisplayVersion=16.70.971; DisplayName=OpenText eDOCS DM 16.7 Extensions (x64)} Deploy Application 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Patching] :: Getting version info for file [C:\Program Files (x86)\Open Text\DM Extensions\DM.exe]. Get-FileVersion 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Patching] :: File version is [16.7.7.446]. Get-FileVersion 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Patching] :: Current version: 16.7.7.446 targetVersion: RequiredUpgrade: False Deploy Application 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Patching] :: Copying file in path [C:\windows\ccmcache\a\SupportFiles\eDocs.lnk] to destination [C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Open Text\DM Extensions\]. Copy-File 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Patching] :: File copy completed successfully. Copy-File 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Post-Installation] :: Updating registry key value: [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] [AutoRestartShell = 1]. Set-RegistryKey 05/17/2022 8:40:07 AM 3144 (0x0C48)
[Post-Installation] :: Creating [C:\windows\TEMP\PSAppDeployToolkit\ExecuteAsUser]. Execute-ProcessAsUs