Hi all, having a very odd problem with PSADT/Adobe Creative Cloud/Intune that is causing an incorrect “uninstallation failed” error from Intune (Company Portal).
I ran the Invoke-AppDeployToolkit.ps1 -DeploymentType Uninstall through the VS Code terminal to follow what was going on and discovered that the uninstaller gives an Exit 0 almost immediately after being called, but then continues to run the uninstallation in the background for another minute or so, and passing four more Exit 0 even after PSADT has exited. As a result of this, Intune is running the detection (file exists) before the uninstaller removes everything, and says that uninstallation has failed.
Here is a picture of the log:
and here is the text:
[2025-05-16 11:50:01.562] [Pre-Uninstall] [Get-ADTRunningProcesses] [Info] :: Checking for running applications: [Acrobat,Adobe CEF Helper,Adobe Desktop Service,AdobeIPCBroker,AdobeUpdateService,armsvc,CCLibrary,CCXProcess,CoreSync,Creative Cloud Helper,Creative Cloud,node]
[2025-05-16 11:50:01.629] [Pre-Uninstall] [Get-ADTRunningProcesses] [Info] :: The following processes are running: [Acrobat,Adobe Desktop Service,AdobeIPCBroker,AdobeUpdateService,CCXProcess,CoreSync,Creative Cloud,Creative Cloud Helper,node].
[2025-05-16 11:50:11.667] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: The user selected to force the application(s) to close...
[2025-05-16 11:50:11.799] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process Acrobat...
[2025-05-16 11:50:11.862] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process Acrobat...
[2025-05-16 11:50:11.903] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process CoreSync...
[2025-05-16 11:50:11.961] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process Creative Cloud...
[2025-05-16 11:50:11.980] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process CCXProcess...
[2025-05-16 11:50:11.998] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process Adobe Desktop Service...
[2025-05-16 11:50:12.014] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process Creative Cloud Helper...
[2025-05-16 11:50:12.039] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process AdobeIPCBroker...
[2025-05-16 11:50:12.061] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process AdobeUpdateService...
[2025-05-16 11:50:12.079] [Pre-Uninstall] [Show-ADTInstallationWelcome] [Info] :: Stopping process node...
[2025-05-16 11:50:12.125] [Pre-Uninstall] [Get-ADTRunningProcesses] [Info] :: Checking for running applications: [Acrobat,Adobe CEF Helper,Adobe Desktop Service,AdobeIPCBroker,AdobeUpdateService,armsvc,CCLibrary,CCXProcess,CoreSync,Creative Cloud Helper,Creative Cloud,node]
[2025-05-16 11:50:12.136] [Pre-Uninstall] [Get-ADTRunningProcesses] [Info] :: Specified applications are not running.
[2025-05-16 11:50:12.312] [Pre-Uninstall] [Show-ADTInstallationProgress] [Info] :: Creating the progress dialog in a separate thread with message: [Uninstalling Adobe Creative Cloud. Please wait...].
[2025-05-16 11:50:13.058] [Uninstall] [Get-ADTApplication] [Info] :: Getting information for installed applications...
[2025-05-16 11:50:13.170] [Uninstall] [Get-ADTApplication] [Info] :: Found installed application [Adobe Creative Cloud] version [6.6.0.611].
[2025-05-16 11:50:13.250] [Uninstall] [Uninstall-ADTApplication] [Info] :: Removing EXE application [Adobe Creative Cloud 6.6.0.611].
[2025-05-16 11:50:13.293] [Uninstall] [Start-ADTProcess] [Info] :: [C:\Program Files (x86)\Adobe\Adobe Creative Cloud\Utils\Creative Cloud Uninstaller.exe] is a valid fully qualified path, continue.
[2025-05-16 11:50:13.315] [Uninstall] [Test-ADTMutexAvailability] [Info] :: Checking to see if mutex [Global\_MSIExecute] is available. Wait up to [10 minute(s)] for the mutex to become available.
[2025-05-16 11:50:13.335] [Uninstall] [Test-ADTMutexAvailability] [Info] :: Mutex [Global\_MSIExecute] is available for an exclusive lock.
[2025-05-16 11:50:14.388] [Uninstall] [Start-ADTProcess] [Info] :: Working Directory is [C:\Program Files (x86)\Adobe\Adobe Creative Cloud\Utils].
[2025-05-16 11:50:14.394] [Uninstall] [Start-ADTProcess] [Info] :: Executing [C:\Program Files (x86)\Adobe\Adobe Creative Cloud\Utils\Creative Cloud Uninstaller.exe -u]...
Start Uninstallation
[2025-05-16 11:50:15.524] [Uninstall] [Start-ADTProcess] [Success] :: Execution completed successfully with exit code [0].
[2025-05-16 11:50:15.576] [Post-Uninstall] [Show-ADTInstallationPrompt] [Info] :: Displaying custom installation prompt asynchronously with the parameters: [-Message:'Adobe Creative Cloud has been uninstalled. If you have other Adobe applications installed they need to be removed separately.' -ButtonRightText:'OK' -Icon:'Information' -NoWait -Title:'Adobe Creative Cloud 6.6.0' -Subtitle:'PSAppDeployToolkit - App Uninstallation' -Timeout:3300].
[2025-05-16 11:50:15.652] [Finalization] [Close-ADTInstallationProgressFluent] [Info] :: Closing the installation progress dialog.
Progress: 0%[2025-05-16 11:50:15.804] [Finalization] [Close-ADTSession] [Success] :: [Adobe_CreativeCloud_6.6.0_x64_EN_01] uninstall completed with exit code [0].
[2025-05-16 11:50:15.808] [Finalization] [Close-ADTSession] [Info] :: *******************************************************************************
Exit Code: 0 ive Cloud>
Exit Code: 0
Exit Code: 0
Exit Code: 0
End Uninstallation
It is causing confusion for my users because Intune/Company Portal doesn’t realize the uninstallation was successful for multiple hours afterwards and will not allow a new installation to occur in the meantime. The only thing I can think of is manually adding a delay to either the Post Uninstall phase, or the Intune detection script.
Anyone have advice on how to work around this since the uninstaller behavior is unchangeable?