We have a Baseline that contains much of the Office Scrubbers (to uninstall all versions of Office). To use the Office 2007 scrubber as an example, we are seeing situations where the 2007 component in the baseline never returns complete (status of running).
When we look at the log of the scrubber, it clearly has finished within several minutes; the end of its log shows:
Removal result: 0 - SUCCESS
Removal end.
It even shows a return code of 0 in the SWD_DeploymentResults.log:
Mon 07/17/2017 10:03:23.93
Action ID: 76165
Command: cscript "OffScrub07.vbs" ALL /Quiet /Log C:\Windows\temp
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Return code: 0
This is that components last entry in the BF log:
At 10:03:23 -0400 - actionsite (http://FQDN.com:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded parameter "baseFolder" = "__Download/" (group:76155,action:76165)
Command succeeded move "__Download/DF2CDE0131594840A663AF619D0A3257D3213658" "__Download/OffScrub07.vbs" (group:76155,action:76165)
Command succeeded parameter "mainSWDLogFolder" = "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData/__Global/SWDDeployData" (group:76155,action:76165)
Command succeeded folder create "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData/__Global/SWDDeployData" (group:76155,action:76165)
Command succeeded parameter "logFile" = "SWD_DeploymentResults.log" (group:76155,action:76165)
Command succeeded delete No 'C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\CustomSite_SWD_Production\__createfile' exists to delete, no failure reported (group:76155,action:76165)
Command succeeded parameter "logFolder" = "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData/__Global/SWDDeployData" (group:76155,action:76165)
Command succeeded delete No 'C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\CustomSite_SWD_Production\run.bat' exists to delete, no failure reported (group:76155,action:76165)
Command succeeded createfile until (group:76155,action:76165)
Command succeeded move __createfile run.bat (group:76155,action:76165)
Command succeeded override wait (group:76155,action:76165)
Command succeeded override hidden=true (group:76155,action:76165)
Command succeeded override completion=job (group:76155,action:76165)
Command started - wait run.bat (group:76155,action:76165)
It’s happening more frequently than we would like to see and we aren’t able to nail down any commonalities to when it works and doesn’t work. This is obviously a problem because the rest of the baseline doesn’t run, which means the system doesn’t reboot after the uninstallers, and then doesn’t install O365.
Perhaps experimenting with changing completion=process?
Is there anyway to force a complete on the individual component if it doesn’t return one within a defined amount of time?