I am testing a new deployment for an application that I have set on the Deployment type to:
"Configuration manager client will force a mandatory device restart"
I deployed to five Windows 7 machines. 4 of them installed and prompted that a reboot was required (with the 90 minute timer). One however shows in the logs that it was supposed to force the reboot, but alas it did not.
I have pasted the AppEnforce.log below and highlighted where it clearly states it intends to force a reboot but instead it goes directly (2 seconds later) into detecting if the app is installed and then (as you might have guessed) detects it as installed. As stated above, it never prompted for a reboot and shows "Installed" in Software Center.
I tested on a new build and realized that this behavior happened when there are Software Updates pending. On all 4 machines that worked and prompted for a reboot, they had already installed the updates that are not enforced until December 18th. The one machine above that failed to reboot along with my test machine have several updates pending.
Has anyone else seen this behavior? Seems like a bug to me. Can't imagine why having pending software updates would suppress a forced reboot for an application.
Performing detection of app deployment type Citrix_ReceiverEnt_3.4.0.29577_R01(ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8, revision 3) for system. AppEnforce 12/4/2013
1:17:04 PM 7548 (0x1D7C)
+++ Application not discovered. [AppDT Id: ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8, Revision: 3] AppEnforce 12/4/2013 1:17:04 PM 7548 (0x1D7C)
App enforcement environment:
Context: Machine
Command line: "FBNSetup.EXE"
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\WINDOWS\ccmcache\8d
Working directory: AppEnforce 12/4/2013 1:17:04 PM 7548 (0x1D7C)
Prepared working directory: C:\WINDOWS\ccmcache\8d AppEnforce 12/4/2013 1:17:04 PM 7548 (0x1D7C)
Prepared command line: "C:\WINDOWS\ccmcache\8d\FBNSetup.EXE" AppEnforce 12/4/2013 1:17:04 PM 7548 (0x1D7C)
Post install behavior is ForceReboot AppEnforce 12/4/2013 1:17:04 PM 7548 (0x1D7C)
Waiting for process 3032 to finish. Timeout = 120 minutes. AppEnforce 12/4/2013 1:17:04 PM 7548 (0x1D7C)
Process 3032 terminated with exitcode: 0 AppEnforce 12/4/2013 1:19:07 PM 7548 (0x1D7C)
Looking for exit code 0 in exit codes table... AppEnforce 12/4/2013 1:19:07 PM 7548 (0x1D7C)
ConfigMgr will request a hard reboot after successful enforcement AppEnforce 12/4/2013 1:19:07 PM 7548 (0x1D7C)
++++++ App enforcement completed (122 seconds) for App DT "Citrix_ReceiverEnt_3.4.0.29577_R01" [ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8], Revision: 3, User SID: ]++++++ AppEnforce 12/4/2013 1:19:07 PM 7548 (0x1D7C)
+++ Starting Install enforcement for App DT "Citrix_ReceiverEnt_3.4.0.29577_R01" ApplicationDeliveryType - ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8, Revision - 3, ContentPath
- C:\WINDOWS\ccmcache\8d, Execution Context - System AppEnforce 12/4/2013 1:19:09 PM 7548 (0x1D7C)
A user is logged on to the system. AppEnforce 12/4/2013 1:19:09 PM 7548 (0x1D7C)
Performing detection of app deployment type Citrix_ReceiverEnt_3.4.0.29577_R01(ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8, revision 3) for system. AppEnforce 12/4/2013 1:19:09
PM 7548 (0x1D7C)
+++ Discovered application [AppDT Id: ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8, Revision: 3] AppEnforce 12/4/2013 1:19:09 PM 7548 (0x1D7C)
App DT "Citrix_ReceiverEnt_3.4.0.29577_R01" is already installed. It will not be reinstalled. AppDT ID: [ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8], Revision: 3. AppEnforce 12/4/2013
1:19:09 PM 7548 (0x1D7C)
Performing detection of app deployment type Citrix_ReceiverEnt_3.4.0.29577_R01(ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8, revision 3) for system. AppEnforce 12/4/2013 1:19:09
PM 7548 (0x1D7C)
+++ Discovered application [AppDT Id: ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8, Revision: 3] AppEnforce 12/4/2013 1:19:09 PM 7548 (0x1D7C)
++++++ App enforcement completed (0 seconds) for App DT "Citrix_ReceiverEnt_3.4.0.29577_R01" [ScopeId_DCE7E1D1-A25E-4CC7-A86C-FB8A4C20B7D4/DeploymentType_ea775901-d5fc-4cd8-a1bf-c8f40f7e4ca8], Revision: 3, User SID: ] ++++++ AppEnforce 12/4/2013
1:19:09 PM 7548 (0x1D7C)