After capturing a new base image and updating our task sequence, I have discovered machines are getting stuck in provisioning mode when I try to install the App-V5.0 SP1 client during the task sequence. I'm assuming the application is causing a hang up in the TS process, and therefore the machine is getting stuck in provisioning mode, but that is just a guess. Looking at the appenforce.log, there appears to be an issue with our App-V client application and or it's dependencies, but I'm a noob at reading log files, and need some help. We have the application setup with the following dependencies, which has worked fine so far when doing normal collection based deployments.
.Net Framework 4.5 or 4.0
WMF 3.0 (KB2506143)
Microsoft Visual C++ 2010
----------------------------------------------------------------------------------------------------------------
Here's a look at the appenforce.log:
Command line: "Install Visual C++ 2010 SP1 x64.bat"Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\WINDOWS\ccmcache\8
Working directory: ]LOG]!><time="14:39:31.285+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcontext.cpp:84">
<![LOG[ Prepared working directory: C:\WINDOWS\ccmcache\8]LOG]!><time="14:39:31.285+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcontext.cpp:188">
<![LOG[ Prepared command line: "C:\WINDOWS\ccmcache\8\Install Visual C++ 2010 SP1 x64.bat"]LOG]!><time="14:39:31.301+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcontext.cpp:337">
<![LOG[ Executing Command line: "C:\WINDOWS\ccmcache\8\Install Visual C++ 2010 SP1 x64.bat" with system context]LOG]!><time="14:39:31.301+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:201">
<![LOG[ Working directory C:\WINDOWS\ccmcache\8]LOG]!><time="14:39:31.301+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:215">
<![LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="14:39:31.332+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcommon.cpp:1093">
<![LOG[ Waiting for process 3032 to finish. Timeout = 15 minutes.]LOG]!><time="14:39:31.348+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:1951">
<![LOG[ Process 3032 terminated with exitcode: 0]LOG]!><time="14:39:41.207+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:1960">
<![LOG[ Looking for exit code 0 in exit codes table...]LOG]!><time="14:39:41.207+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:505">
<![LOG[ Matched exit code 0 to a Success entry in exit codes table.]LOG]!><time="14:39:41.207+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:584">
<![LOG[ Performing detection of app deployment type Microsoft Visual C++ 2010 SP1 x64(ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_9044e866-05f2-430a-84fa-58ca31acfbc0, revision 6) for system.]LOG]!><time="14:39:41.223+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:2079">
<![LOG[+++ Discovered application [AppDT Id: ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_9044e866-05f2-430a-84fa-58ca31acfbc0, Revision: 6]]LOG]!><time="14:39:41.238+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="localapphandler.cpp:287">
<![LOG[++++++ App enforcement completed (11 seconds) for App DT "Microsoft Visual C++ 2010 SP1 x64" [ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_9044e866-05f2-430a-84fa-58ca31acfbc0], Revision: 6, User SID: ] ++++++]LOG]!><time="14:39:41.238+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:2366">
<![LOG[+++ Starting Install enforcement for App DT "Microsoft .Net 4.5 x86 x64" ApplicationDeliveryType - ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_f3b181c1-493a-434c-ae57-fd94201ef40a, Revision - 1, ContentPath - C:\WINDOWS\ccmcache\9, Execution Context - System]LOG]!><time="14:39:41.519+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:1643">
<![LOG[ A user is not logged on to the system.]LOG]!><time="14:39:43.064+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:2014">
<![LOG[ Performing detection of app deployment type Microsoft .Net 4.5 x86 x64(ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_f3b181c1-493a-434c-ae57-fd94201ef40a, revision 1) for system.]LOG]!><time="14:39:43.064+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:2079">
<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_f3b181c1-493a-434c-ae57-fd94201ef40a, Revision: 1]]LOG]!><time="14:39:43.079+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="localapphandler.cpp:291">
<![LOG[ App enforcement environment:
Context: Machine
Command line: "dotNet 45 Install x86 x64.bat"
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\WINDOWS\ccmcache\9
Working directory: ]LOG]!><time="14:39:43.079+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcontext.cpp:84">
<![LOG[ Prepared working directory: C:\WINDOWS\ccmcache\9]LOG]!><time="14:39:43.079+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcontext.cpp:188">
<![LOG[ Prepared command line: "C:\WINDOWS\ccmcache\9\dotNet 45 Install x86 x64.bat"]LOG]!><time="14:39:43.079+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcontext.cpp:337">
<![LOG[ Executing Command line: "C:\WINDOWS\ccmcache\9\dotNet 45 Install x86 x64.bat" with system context]LOG]!><time="14:39:43.079+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:201">
<![LOG[ Working directory C:\WINDOWS\ccmcache\9]LOG]!><time="14:39:43.079+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:215">
<![LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="14:39:43.095+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appcommon.cpp:1093">
<![LOG[ Waiting for process 2352 to finish. Timeout = 60 minutes.]LOG]!><time="14:39:43.095+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:1951">
<![LOG[ Process 2352 terminated with exitcode: 3010]LOG]!><time="14:41:40.456+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:1960">
<![LOG[ Looking for exit code 3010 in exit codes table...]LOG]!><time="14:41:40.456+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:505">
<![LOG[ Matched exit code 3010 to a PendingSoftReboot entry in exit codes table.]LOG]!><time="14:41:40.456+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appexcnlib.cpp:584">
<![LOG[++++++ App enforcement completed (118 seconds) for App DT "Microsoft .Net 4.5 x86 x64" [ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_f3b181c1-493a-434c-ae57-fd94201ef40a], Revision: 1, User SID: ] ++++++]LOG]!><time="14:41:40.472+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:2366">
<![LOG[+++ Starting Install enforcement for App DT "App-V 5.0 SP1 Client x86 x64" ApplicationDeliveryType - ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6, Revision - 6, ContentPath - C:\WINDOWS\ccmcache\a, Execution Context - System]LOG]!><time="14:41:41.049+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:1643">
<![LOG[ A user is not logged on to the system.]LOG]!><time="14:41:42.593+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="1856" file="appprovider.cpp:2014">
<![LOG[Failed to retrieve synclet object: "CCM_AppDeliveryTypeSynclet.AppDeliveryTypeId="ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6",Revision=6"]LOG]!><time="14:41:42.593+300" date="05-22-2013" component="AppEnforce" context="" type="3" thread="1856" file="appprovider.cpp:1085">
<![LOG[AppProvider::GetSynclet failed. Error 0x80041033]LOG]!><time="14:41:42.608+300" date="05-22-2013" component="AppEnforce" context="" type="3" thread="1856" file="appprovider.cpp:1091">
<![LOG[Deployment type detection failed with error 0x80041009.]LOG]!><time="14:41:42.608+300" date="05-22-2013" component="AppEnforce" context="" type="3" thread="1856" file="appprovider.cpp:2134">
<![LOG[CommenceEnforcement failed with error 0x80041009.]LOG]!><time="14:41:42.608+300" date="05-22-2013" component="AppEnforce" context="" type="3" thread="1856" file="appprovider.cpp:1756">
<![LOG[Method CommenceEnforcement failed with error code 80041009]LOG]!><time="14:41:42.608+300" date="05-22-2013" component="AppEnforce" context="" type="3" thread="1856" file="appprovider.cpp:2314">
<![LOG[CAppEnforceStatus::Save - failed with error code 0x80041033]LOG]!><time="14:41:42.608+300" date="05-22-2013" component="AppEnforce" context="" type="3" thread="1856" file="appenforcestatus.cpp:382">
<![LOG[++++++ Failed to enforce app. Error 0x80041009. ++++++]LOG]!><time="14:41:42.608+300" date="05-22-2013" component="AppEnforce" context="" type="3" thread="1856" file="appprovider.cpp:2385">
<![LOG[+++ Starting Install enforcement for App DT "App-V 5.0 SP1 Client x86 x64" ApplicationDeliveryType - ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6, Revision - 6, ContentPath - C:\WINDOWS\ccmcache\a, Execution Context - System]LOG]!><time="14:43:13.788+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appprovider.cpp:1643">
<![LOG[ A user is not logged on to the system.]LOG]!><time="14:43:15.327+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appprovider.cpp:2014">
<![LOG[ Performing detection of app deployment type App-V 5.0 SP1 Client x86 x64(ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6, revision 6) for system.]LOG]!><time="14:43:15.374+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appprovider.cpp:2079">
<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6, Revision: 6]]LOG]!><time="14:43:15.498+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="localapphandler.cpp:291">
<![LOG[ App enforcement environment:
Context: Machine
Command line: "App-V 5 SP1 Client Install.bat"
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\WINDOWS\ccmcache\a
Working directory: ]LOG]!><time="14:43:15.514+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appcontext.cpp:84">
<![LOG[ Prepared working directory: C:\WINDOWS\ccmcache\a]LOG]!><time="14:43:15.514+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appcontext.cpp:188">
<![LOG[ Prepared command line: "C:\WINDOWS\ccmcache\a\App-V 5 SP1 Client Install.bat"]LOG]!><time="14:43:15.545+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appcontext.cpp:337">
<![LOG[ Executing Command line: "C:\WINDOWS\ccmcache\a\App-V 5 SP1 Client Install.bat" with system context]LOG]!><time="14:43:15.545+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appexcnlib.cpp:201">
<![LOG[ Working directory C:\WINDOWS\ccmcache\a]LOG]!><time="14:43:15.545+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appexcnlib.cpp:215">
<![LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="14:43:15.561+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appcommon.cpp:1093">
<![LOG[ Waiting for process 2540 to finish. Timeout = 15 minutes.]LOG]!><time="14:43:15.561+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appexcnlib.cpp:1951">
<![LOG[ Process 2540 terminated with exitcode: 0]LOG]!><time="14:44:06.556+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appexcnlib.cpp:1960">
<![LOG[ Looking for exit code 0 in exit codes table...]LOG]!><time="14:44:06.572+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appexcnlib.cpp:505">
<![LOG[ Matched exit code 0 to a Success entry in exit codes table.]LOG]!><time="14:44:06.572+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appexcnlib.cpp:584">
<![LOG[ Performing detection of app deployment type App-V 5.0 SP1 Client x86 x64(ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6, revision 6) for system.]LOG]!><time="14:44:06.587+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appprovider.cpp:2079">
<![LOG[+++ Discovered application [AppDT Id: ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6, Revision: 6]]LOG]!><time="14:44:06.603+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="localapphandler.cpp:287">
<![LOG[++++++ App enforcement completed (52 seconds) for App DT "App-V 5.0 SP1 Client x86 x64" [ScopeId_97EA15EF-3720-407B-A62F-01ADEA230865/DeploymentType_919338c6-bc61-45bc-a236-4df66a3253e6], Revision: 6, User SID: ]++++++]LOG]!><time="14:44:06.603+300" date="05-22-2013" component="AppEnforce" context="" type="1" thread="2436" file="appprovider.cpp:2366">
I should mention, the App-V client is installing and functional when the task sequence completes, but the problem is client certificate = none, and Provisioning mode=True in registry.