I have a TS that I have exported to StandAlone Media. As it goes through the task sequence, it installs the OS successfully, Installs that selected drivers successfully and processes the Setup Windows and ConfigMgr task successfully.
This is where it starts to get weird.
IF I do not have the system attached to our enterprise network, when it tries to install its first application, it gets all the way through the installation and parses the information correctly in the DCMAgent and AppEnforce logs, but then it is almost as if it seems it doesnt know what to do and tries to reach out to the MP for policy and then fails with a 80004005
These logs are both from the exact same task sequence, just the first is based on Boot media and the second is StandAlone media. You see how it references the Unknown.
here is the DCMAgent Log info for the Boot Media(Successful)/StandAlone(failed-80004005) respectively:
DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Evaluating) DCMAgent 4/24/2013 12:55:06 PM 2084 (0x0824) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore NotifyProgress DCMAgent 4/24/2013 12:55:29 PM 2084 (0x0824) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Evaluating) DCMAgent 4/24/2013 12:55:29 PM 2132 (0x0854) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore NotifyProgress DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore NotifyProgress DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): NotifyComplete DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Evaluating) DCMAgent 4/24/2013 12:55:29 PM 2132 (0x0854) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): TransitionState(From=Evaluating, To=Success) for Event=Transition DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore Transition DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): Registering for Interactive reboot DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Success) DCMAgent 4/24/2013 12:55:29 PM 1112 (0x0458) DCMAgentJob({FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC}): CDCMAgentJob::HandleEvent(Event=Transition, CurrentState=Success) DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858) CDCMAgentJobMgr::DeleteJob - Request to delete DCM Agent job {FF5971D8-DB01-4BF8-8AF7-90C03D52FFCC} DCMAgent 4/24/2013 12:55:29 PM 2136 (0x0858)
DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Evaluating) DCMAgent 4/24/2013 2:06:40 PM 2136 (0x0858) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore NotifyProgress DCMAgent 4/24/2013 2:09:21 PM 2456 (0x0998) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Evaluating) DCMAgent 4/24/2013 2:09:21 PM 3528 (0x0DC8) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore NotifyProgress DCMAgent 4/24/2013 2:09:22 PM 2456 (0x0998) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore NotifyProgress DCMAgent 4/24/2013 2:09:22 PM 3100 (0x0C1C) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): NotifyComplete DCMAgent 4/24/2013 2:09:22 PM 3100 (0x0C1C) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Evaluating) DCMAgent 4/24/2013 2:09:22 PM 2456 (0x0998) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::HandleEvent(Event=NotifyProgress, CurrentState=Evaluating) DCMAgent 4/24/2013 2:09:22 PM 2456 (0x0998) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): TransitionState(From=Evaluating, To=Success) for Event=Transition DCMAgent 4/24/2013 2:09:22 PM 3100 (0x0C1C) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::QueueEvent - Queuing Event and incrementing semaphore Transition DCMAgent 4/24/2013 2:09:22 PM 3100 (0x0C1C) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): Registering for Interactive reboot DCMAgent 4/24/2013 2:09:22 PM 3100 (0x0C1C) DCMAgentJob({C1406929-F17A-4190-944F-0D1ECDE35289}): CDCMAgentJob::HandleEvent(Event=Transition, CurrentState=Success) DCMAgent 4/24/2013 2:09:22 PM 1964 (0x07AC) CDCMAgentJobMgr::DeleteJob - Request to delete DCM Agent job {C1406929-F17A-4190-944F-0D1ECDE35289} DCMAgent 4/24/2013 2:09:22 PM 1964 (0x07AC)
Here are the AppEnforce logs Boot Media(Successful)/StandAlone(failed-80004005) respectively:
*NOTE* Dont let the x86/x64 confuse you, those are the runs I just happened to grab logs from, the error is 100% reproducible regardless of platform.
+++ Starting Install enforcement for App DT "Symantec Endpoint Protection 12.1.1101.401 - Full Installation (x86)" ApplicationDeliveryType - ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_d8378607-246d-4ea9-8ce1-506ecaed4b8f, Revision - 8, ContentPath - C:\WINDOWS\ccmcache\2, Execution Context - System AppEnforce 4/24/2013 12:57:07 PM 2636 (0x0A4C) A user is not logged on to the system. AppEnforce 4/24/2013 12:57:08 PM 2636 (0x0A4C) Performing detection of app deployment type Symantec Endpoint Protection 12.1.1101.401 - Full Installation (x86)(ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_d8378607-246d-4ea9-8ce1-506ecaed4b8f, revision 8) for system. AppEnforce 4/24/2013 12:57:08 PM 2636 (0x0A4C)+++ Application not discovered. [AppDT Id: ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_d8378607-246d-4ea9-8ce1-506ecaed4b8f, Revision: 8] AppEnforce 4/24/2013 12:57:08 PM 2636 (0x0A4C) App enforcement environment: Context: Machine Command line: Symantec_Endpoint_Protection_12.1.1101.401.R2.exe /S Allow user interaction: No UI mode: 0 User token: null Session Id: 4294967295 Content path: C:\WINDOWS\ccmcache\2 Working directory: AppEnforce 4/24/2013 12:57:08 PM 2636 (0x0A4C) Prepared working directory: C:\WINDOWS\ccmcache\2 AppEnforce 4/24/2013 12:57:08 PM 2636 (0x0A4C) Prepared command line: "C:\WINDOWS\ccmcache\2\Symantec_Endpoint_Protection_12.1.1101.401.R2.exe" /S AppEnforce 4/24/2013 12:57:10 PM 2636 (0x0A4C) Executing Command line: "C:\WINDOWS\ccmcache\2\Symantec_Endpoint_Protection_12.1.1101.401.R2.exe" /S with system context AppEnforce 4/24/2013 12:57:10 PM 2636 (0x0A4C) Working directory C:\WINDOWS\ccmcache\2 AppEnforce 4/24/2013 12:57:10 PM 2636 (0x0A4C) Post install behavior is BasedOnExitCode AppEnforce 4/24/2013 12:57:10 PM 2636 (0x0A4C) Waiting for process 3336 to finish. Timeout = 120 minutes. AppEnforce 4/24/2013 12:57:10 PM 2636 (0x0A4C) Process 3336 terminated with exitcode: 0 AppEnforce 4/24/2013 12:58:39 PM 2636 (0x0A4C) Looking for exit code 0 in exit codes table... AppEnforce 4/24/2013 12:58:39 PM 2636 (0x0A4C) Matched exit code 0 to a PendingSoftReboot entry in exit codes table. AppEnforce 4/24/2013 12:58:39 PM 2636 (0x0A4C)++++++ App enforcement completed (91 seconds) for App DT "Symantec Endpoint Protection 12.1.1101.401 - Full Installation (x86)" [ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_d8378607-246d-4ea9-8ce1-506ecaed4b8f], Revision: 8, User SID: ] ++++++ AppEnforce 4/24/2013 12:58:39 PM 2636 (0x0A4C)
+++ Starting Install enforcement for App DT "Symantec Endpoint Protection 12.1.1101.401 - Full Installation (x64)" ApplicationDeliveryType - ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_f7e6204d-85dc-465e-8304-1f8bb9c56383, Revision - 10, ContentPath - C:\WINDOWS\ccmcache\a, Execution Context - System AppEnforce 4/24/2013 2:06:41 PM 2840 (0x0B18) A user is not logged on to the system. AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Performing detection of app deployment type Symantec Endpoint Protection 12.1.1101.401 - Full Installation (x64)(ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_f7e6204d-85dc-465e-8304-1f8bb9c56383, revision 10) for system. AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18)+++ Application not discovered. [AppDT Id: ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_f7e6204d-85dc-465e-8304-1f8bb9c56383, Revision: 10] AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) App enforcement environment: Context: Machine Command line: Symantec_Endpoint_Protection_12.1.1101.401.R2.exe /S Allow user interaction: No UI mode: 0 User token: null Session Id: 4294967295 Content path: C:\WINDOWS\ccmcache\a Working directory: AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Prepared working directory: C:\WINDOWS\ccmcache\a AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Prepared command line: "C:\WINDOWS\ccmcache\a\Symantec_Endpoint_Protection_12.1.1101.401.R2.exe" /S AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Executing Command line: "C:\WINDOWS\ccmcache\a\Symantec_Endpoint_Protection_12.1.1101.401.R2.exe" /S with system context AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Working directory C:\WINDOWS\ccmcache\a AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Post install behavior is BasedOnExitCode AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Waiting for process 1400 to finish. Timeout = 120 minutes. AppEnforce 4/24/2013 2:06:42 PM 2840 (0x0B18) Process 1400 terminated with exitcode: 0 AppEnforce 4/24/2013 2:09:20 PM 2840 (0x0B18) Looking for exit code 0 in exit codes table... AppEnforce 4/24/2013 2:09:20 PM 2840 (0x0B18) Matched exit code 0 to a PendingSoftReboot entry in exit codes table. AppEnforce 4/24/2013 2:09:20 PM 2840 (0x0B18)++++++ App enforcement completed (159 seconds) for App DT "Symantec Endpoint Protection 12.1.1101.401 - Full Installation (x64)" [ScopeId_B458387A-88C0-481F-9F16-F367A6849181/DeploymentType_f7e6204d-85dc-465e-8304-1f8bb9c56383], Revision: 10, User SID: ] ++++++ AppEnforce 4/24/2013 2:09:20 PM 2840 (0x0B18)
I have tried adding an extra restart before application installations. You will see above that I have my return code 0 set to a soft reboot. I have modified the package to return a 3010 still with the same result. I have also tried to configure the Setup Windows and ConfigMgr TS with SMSMP defined and undefined. No good. :(
Now if I hook up the system in question to the Enterprise network during the related cycles above, it is able to get the policy from the MP and proceeds but then it later on fails with a 8007000E, an out of space error. This is 14G standalone Media that runs from 32G USB media and the OS Drive is a 180G SSD so no issues there. I think it may be my variables.dat file and I am trying to reduce the size of it. But I would like to ask WHY is there a 10M limit on the variables.dat file.
Any way, I am calling on my peers to help me out of this one.
Thanks!!!
PS. Please let me know if you need any other logs, I can provide any snapshots needed.