Cannot get Task Sequence to run WSUS/windows updates
I'm doing a Build & Capture in OSD, and my process works except installing wsus updates. Partition Disk Apply Operating System (building from files, not existing wim) Use Toolkit package Apply CustomSettings.ini Appy Windows Settings Set WSUSserver set Log location Apply Network Settings Apply Device Drivers Setup Windows and Config Mgr Install updates Call ZTIwindowsupdate.wsf (tried as a backup approach) Prepare ConfigMgr Client Join Workgroup Prepare OS Capture Reference Machine There is probably some duplicates and simplifying opportunities but, it isn't running updates which is desperately needed to the base OS files It seems to skip the updates and starts doing work at ‘adding instruction at 17’ --- And thanks for any help offered... smsts.log Parsing step node: Set Task Sequence Variable- WSUS Description: ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: WinPEandFullOS Timeout: DefaultVarlist found No variables found in default variable list Action command line: tsenv.exe "WSUSServer=%WSUSServer%" Adding instruction at 7 Parsing step node: Set Task Sequence Variable-Log location Description: ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: WinPEandFullOS Timeout: DefaultVarlist found No variables found in default variable list Action command line: tsenv.exe "SLShareDynamicLogging=%SLShareDynamicLogging%" Adding instruction at 8 Parsing step node: Apply Network Settings Description: Actions to configure network settings ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: WinPEandFullOS Timeout: DefaultVarlist found Variable name: OSDDomainName Variable name: OSDDomainOUName Variable name: OSDJoinPassword Variable name: OSDJoinAccount Variable name: OSDNetworkJoinType Action command line: osdnetsettings.exe configure Adding instruction at 9 Parsing step node: Apply Device Drivers Description: ContinueOnError: SuccessCodeList: 0 A condition is associated with the step found Found and operator. There are 1 operands **Processing expression node Found SMS_TaskSequence_VariableConditionExpression expression. **In ProcessBuiltInCondition node: expression There are 3 operands in the built in action Operand Operator=notEquals Operand Value=FullMedia Operand Variable=_SMSTSMediaType Successfully added 3 condition parameters Disable: Start in dir: Run in attribute: WinPE Timeout: DefaultVarlist found Variable name: OSDAutoApplyDriverBestMatch Variable name: OSDAllowUnsignedDriver Action command line: osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver% Adding instruction at 10 Parsing step node: Setup windows and ConfigMgr Description: Actions to setup windows and ConfigMgr client ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: WinPEandFullOS Timeout: DefaultVarlist found Variable name: SMSClientInstallProperties Variable name: _SMSClientPackageID Action command line: OSDSetupWindows.exe Adding instruction at 11 Parsing step node: Install Updates Description: ContinueOnError: true SuccessCodeList: 0 A condition is associated with the step found Found and operator. There are 1 operands **Processing expression node Found SMS_TaskSequence_VariableConditionExpression expression. **In ProcessBuiltInCondition node: expression There are 3 operands in the built in action Operand Operator=notEquals Operand Value=FullMedia Operand Variable=_SMSTSMediaType Successfully added 3 condition parameters Disable: Start in dir: Run in attribute: FullOS Timeout: DefaultVarlist found Variable name: SMSInstallUpdateTarget Action command line: TSInstallSWUpdate.exe /target:%SMSInstallUpdateTarget% Adding instruction at 12 Parsing step node: Install Updates- without condition Description: ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: FullOS Timeout: DefaultVarlist found Variable name: SMSInstallUpdateTarget Action command line: TSInstallSWUpdate.exe /target:%SMSInstallUpdateTarget% Adding instruction at 13 Parsing step node: ZTI WindowsUpdate Description: ContinueOnError: true SuccessCodeList: 0 3010 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: WinPEandFullOS Timeout: DefaultVarlist found Variable name: SMSTSDisableWow64Redirection Variable name: _SMSTSRunCommandLineAsUser Variable name: WorkingDirectory Action command line: smsswd.exe /run: cscript.exe ZTIWindowsUpdate.wsf Adding instruction at 14 Processed all elements Adding end group instruction at 15 The next instruction after group will be at 16 Processing group Parsing group node: Capture the Reference Machine Description: Actions to prepare and capture the reference machine ContinueOnError: Disable: (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Adding begin group instruction at 16 There are 4 first level steps or groups Parsing step node: Prepare ConfigMgr Client Description: ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: FullOS Timeout: DefaultVarlist found No variables found in default variable list Action command line: osdpreparesmsclient.exe Adding instruction at 17 Parsing step node: Join Workgroup Description: ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: FullOS Timeout: DefaultVarlist found Variable name: OSDJoinPassword Variable name: OSDJoinSkipReboot Variable name: OSDJoinType Variable name: OSDJoinWorkgroupName Action command line: osdjoin.exe /type:%OSDJoinType% Adding instruction at 18 Parsing step node: Prepare OS Description: ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: FullOS Timeout: DefaultVarlist found Variable name: OSDBuildStorageDriverList Variable name: OSDKeepActivation Action command line: osdprepareos.exe /activate:%OSDKeepActivation% /bmsd:%OSDBuildStorageDriverList% Adding instruction at 19 Parsing step node: Capture the Reference Machine Description: ContinueOnError: SuccessCodeList: 0 (__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\nts_sms_fre\SMS\common\inc\ccmxml.h,566) No condition is associated with the step. Disable: Start in dir: Run in attribute: WinPE Timeout: DefaultVarlist found Variable name: OSDCaptureDestination Variable name: OSDCaptureAccountPassword Variable name: OSDCaptureAccount Variable name: OSDImageCreator Variable name: OSDImageDescription Variable name: OSDImageVersion Action command line: osdcapturesystemimage.exe Adding instruction at 20 Processed all elements Adding end group instruction at 21 The next instruction after group will be at 22 Processed all elements Reading Global variable list Got root node now getting global var list GlobalVarlist found Variable name: OSDEnableTCPIPFiltering Variable name: OSDAdapterCount Starting Task Sequence Engine . . . **************************************************************************** NextInstructionPointer: 17 Set a global environment variable _SMSTSInstructionTableSize=22 Set a global environment variable SMSTSRebootRequested= Set a global environment variable SMSTSRebootDelay= Set a global environment variable SMSTSRebootMessage= Set a global environment variable SMSTSRebootReason= Set a global environment variable SMSTSRetryRequested= Succeeded loading resource DLL 'C:\Windows\SysWOW64\CCM\1033\TSRES.DLL' The task execution engine started execution Sending status message . . . Send a task execution status message SMS_TSExecution_TaskSequenceStartInfo MP server SCCMDB1.DOMAIN.AD.GROUP and port 80. SSL=false. CRL=false. Site code: CHI Client machine name: IL-CHI-TSTSVR1 Client Identity: GUID:D0C650BB-FAAA-495D-8471-459573288B26 Advertisement ID: CHI2013D Package ID: CHI000EA Sending StatusMessage Formatted header: <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>6A8CE20A-D74B-41A4-961E-63793B5AB132</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-05-25T20:05:33Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2104"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> CLibSMSMessageWinHttpTransport::Send: URL: SCCMDB1.DOMAIN.AD.GROUP:80 CCM_POST /ccm_system/request The request has succeeded. 200 OK Start executing an instruciton. Instruction name: Prepare ConfigMgr Client. Instruction pointer: 17 Set a global environment variable _SMSTSCurrentActionName=Prepare ConfigMgr Client Set a global environment variable _SMSTSNextInstructionPointer=17 Set a global environment variable _SMSTSLogPath=C:\Windows\SysWOW64\CCM\Logs\SMSTSLog Expand a string: osdpreparesmsclient.exe Expand a string: Command line for extension .exe is "%1" %* Set command line: osdpreparesmsclient.exe Start executing the command line: osdpreparesmsclient.exe !--------------------------------------------------------------------------------------------!
May 25th, 2011 7:00pm

this may not be it, but it's worth looking at: http://support.microsoft.com/kb/2509007 Edit: also, the client needs to be in a collection, where that collection is the target for a Deployment management (and that DM has the updates you want it to install). Standardize. Simplify. Automate.
Free Windows Admin Tool Kit Click here and download it now
May 25th, 2011 7:49pm

Hi, As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as "Answered" as the previous steps should be helpful for many similar scenarios. In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks,Yog Li -- Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
June 3rd, 2011 6:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics