Task Sequence fails: Windows Server 2008 with SP1
Hello everybody We have SCCM 2007 R3 and right now, we are creating a gold image for Windows Server 2008 R2 SP1 (We know the support limitations around SCCM and Win2k8 R2 SP1). We start by building a gold image in MDT, where we inject drivers and the latest patches after SP1. As an operating system source, we use Windows Server 2008 R2 SP1 (SP1 already injected by Microsoft). After the successfull installation with the MDT Task Sequence, we execute Sysprep with the /generalize option and the shutdown option. After shutdown, we boot the server with WinPE and use ImageX with the -capture -compress maximum option to create our WIM file. We use the captured WIM File in our SCCM OSD Task Sequence to roll it out to the servers. Since we use the image of Windows Server 2008 R2 SP1, the Task Sequence stops after booting Windows with the following message: "Type your Windows Product key" When we press "Skip", the task sequence resumes and finishes without any problems. Setting on OSD Task Sequece "Apply Windows Settings -> Product key -> No product key entered (Because we have a KMS Server) Before the release of SP1, we were testing the same procedure with the source files from Windows Server 2008 R2 without slipstreamed SP1 and we had no problems. I hope somebody of you has an idea how we can fix the product key problem. Thanks in advance and all the best F-boo
February 23rd, 2011 9:29am

does your smsts.log file reveal anything about the product key ? My step by step SCCM Guides I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
February 23rd, 2011 3:05pm

Hi Niall There is nothing written in th smsts.log. Unfortunately, when the "Type your Windows product key" window pops up, the task sequence is not running yet (F8 does not work). But when you press "Skip", then the task sequence resumes immediately and then you can press F8. I will post the contents of the smsts.log in another post. Cheers and thanks F-boo
February 24th, 2011 5:53am

Hi Niall There is nothing written in th smsts.log. Unfortunately, when the "Type your Windows product key" window pops up, the task sequence is not running yet (F8 does not work). But when you press "Skip", then the task sequence resumes immediately and then you can press F8. I will post the contents of the smsts.log in another post. Cheers and thanks F-boo
Free Windows Admin Tool Kit Click here and download it now
February 24th, 2011 5:53am

Here is the last part of smsts.log, right after the "Type your Windows product key" window: <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="instruction.cxx:3010"> <![LOG[Successfully complete the action (Setup windows and ConfigMgr) with the exit win32 code 0]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="instruction.cxx:3036"> <![LOG[Sending status message . . .]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:292"> <![LOG[Send a task execution status message SMS_TSExecution_ActionCompleteInfo]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:314"> <![LOG[MP server xxxx and port 80. SSL=false. CRL=false.]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:458"> <![LOG[Site code: PS1]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:489"> <![LOG[Client machine name: MININT-O7VKN5T]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:494"> <![LOG[Client Identity: GUID:90dab78d-e50b-4e9c-b1be-52b1e5d9253d]LOG]!><time="12:27:57.839+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:496"> <![LOG[Advertisement ID: PS120052]LOG]!><time="12:27:57.854+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:505"> <![LOG[Package ID: PS1000B7]LOG]!><time="12:27:57.854+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utility.cxx:507"> <![LOG[Sending StatusMessage]LOG]!><time="12:27:57.854+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="libsmsmessaging.cpp:3806"> <![LOG[Formatted header:]LOG]!><time="12:27:57.854+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="libsmsmessaging.cpp:1500"> <![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>5391e4a3-6b4b-4a0c-a528-7990568fa02a</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-02-24T11:27:57Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4240"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> ]LOG]!><time="12:27:57.854+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="libsmsmessaging.cpp:1501"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: xxxx:80 CCM_POST /ccm_system/request]LOG]!><time="12:27:57.854+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="libsmsmessaging.cpp:7446"> <![LOG[The request has succeeded. 200 OK]LOG]!><time="12:27:57.886+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="libsmsmessaging.cpp:7734"> <![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="12:27:57.886+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:668"> <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="12:27:57.886+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:668"> <![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="12:27:57.886+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:782"> <![LOG[Clear local default environment]LOG]!><time="12:27:57.901+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:807"> <![LOG[The action (Setup windows and ConfigMgr) requested a retry]LOG]!><time="12:27:57.901+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="engine.cxx:263"> <![LOG[Reboot to local harddisk]LOG]!><time="12:27:57.901+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="engine.cxx:458"> <![LOG[_OSDGinaIsConfigured variable set to TRUE]LOG]!><time="12:27:57.901+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="engine.cxx:537"> <![LOG[_SMSTSServiceStartType variable set to ]LOG]!><time="12:27:57.901+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="engine.cxx:549"> <![LOG[Calling RebootSystem()]LOG]!><time="12:27:57.932+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="engine.cxx:567"> <![LOG[OSD type of task sequence. ignore the service window setting]LOG]!><time="12:27:57.948+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="engine.cxx:669"> <![LOG[Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.]LOG]!><time="12:27:57.995+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utils.cpp:829"> <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="12:27:58.011+-60" date="02-24-2011" component="TSManager" context="" type="1" thread="1088" file="utils.cpp:829"> <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=11]LOG]!><time="12:27:58.011+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:668"> <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=11]LOG]!><time="12:27:58.011+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:386"> <![LOG[Set a global environment variable _SMSTSInstructionStackString=4]LOG]!><time="12:27:58.011+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:668"> <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=4]LOG]!><time="12:27:58.011+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:414"> <![LOG[Save the current environment block]LOG]!><time="12:27:58.011+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:833"> <![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="12:27:58.026+-60" date="02-24-2011" component="TSManager" context="" type="0" thread="1088" file="executionenv.cxx:782"> <![LOG[==============================[ OSDSetupHook.exe ]==============================]LOG]!><time="12:48:09.125+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="osdsetuphook.cpp:185"> <![LOG[Logging successfully initialized to C:\_SMSTaskSequence\Logs]LOG]!><time="12:48:09.140+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="osdsetuphook.cpp:186"> <![LOG[Executing task sequence]LOG]!><time="12:48:09.140+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="osdsetuphook.cpp:286"> <![LOG[Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat".]LOG]!><time="12:48:09.234+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="basesetuphook.cpp:237"> <![LOG[Environment scope "Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}" successfully created]LOG]!><time="12:48:09.234+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="environmentscope.cpp:250"> <![LOG[Environment scope "Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}" successfully created]LOG]!><time="12:48:09.234+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="environmentscope.cpp:250"> <![LOG[Saving existing desktop wallpaper settings.]LOG]!><time="12:48:09.453+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="wallpaperselector.cpp:36"> <![LOG[Setting desktop wallpaper.]LOG]!><time="12:48:09.453+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="wallpaperselector.cpp:57"> <![LOG[Debug shell is enabled]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="basesetuphook.cpp:1302"> <![LOG[Spawning system message loop thread.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="debugwindow.cpp:143"> <![LOG[Waiting for system message loop to initialize.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="debugwindow.cpp:152"> <![LOG[Signaling initialized event.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1520" file="debugwindow.cpp:182"> <![LOG[Successfully enabled debug command shell support.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="debugwindow.cpp:156"> <![LOG[Configuring local administrator account]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="basesetuphook.cpp:1324"> <![LOG[Enabling local administrator account]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="basesetuphook.cpp:1086"> <![LOG[Account was already enabled]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="basesetuphook.cpp:1095"> <![LOG[Installing SMS client]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="basesetuphook.cpp:1332"> <![LOG[Setting variable to indicate client installation attempted]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="installclient.cpp:861"> <![LOG[Clearing existing client configuration.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="installclient.cpp:513"> <![LOG[Cleaning existing client certificates from SMS certificate store]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="installclient.cpp:360"> <![LOG[Restoring SMS client identity.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="installclient.cpp:543"> <![LOG[The client certificates were not found in the environment. New certificates will be generated.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="installclient.cpp:571"> <![LOG[Successfully restored the client identity.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="installclient.cpp:575"> <![LOG[TS started from an unknown machine... Using submitted GUID GUID:90dab78d-e50b-4e9c-b1be-52b1e5d9253d]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="installclient.cpp:592"> <![LOG[Site in native mode: ]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="installclient.cpp:880"> <![LOG[Using CRL: ]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="installclient.cpp:881"> <![LOG[Entering system message loop.]LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1520" file="debugwindow.cpp:187"> <![LOG[Succeeded loading resource DLL 'C:\WINDOWS\system32\_SMSOSDSetup\1033\TSRES.DLL']LOG]!><time="12:48:09.625+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="util.cpp:869"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="12:48:09.656+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="commandline.cpp:229"> <![LOG[Set command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="12:48:09.656+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="commandline.cpp:707"> <![LOG[Executing command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="12:48:09.656+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="commandline.cpp:805"> <![LOG[==========[ TsProgressUI started in process 1484 ]==========]LOG]!><time="12:48:09.703+-60" date="02-24-2011" component="TsProgressUI" context="" type="1" thread="1192" file="winmain.cpp:327"> <![LOG[Command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE]LOG]!><time="12:48:09.703+-60" date="02-24-2011" component="TsProgressUI" context="" type="0" thread="1192" file="winmain.cpp:330"> <![LOG[Registering COM classes]LOG]!><time="12:48:09.703+-60" date="02-24-2011" component="TsProgressUI" context="" type="1" thread="1192" file="winmain.cpp:185"> <![LOG[sbModulePath = C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe]LOG]!><time="12:48:09.703+-60" date="02-24-2011" component="TsProgressUI" context="" type="1" thread="1192" file="tsprogressuiclass.cpp:623"> <![LOG[Unregistering class objects]LOG]!><time="12:48:09.718+-60" date="02-24-2011" component="TsProgressUI" context="" type="1" thread="1192" file="winmain.cpp:503"> <![LOG[Shutdown complete.]LOG]!><time="12:48:09.718+-60" date="02-24-2011" component="TsProgressUI" context="" type="1" thread="1192" file="winmain.cpp:520"> <![LOG[Process completed with exit code 0]LOG]!><time="12:48:09.734+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="commandline.cpp:1102"> <![LOG[Successfully registered TS Progress UI.]LOG]!><time="12:48:09.734+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="utils.cpp:1922"> <![LOG[Executing C:\_SMSTaskSequence\OSD\PS10002C\ccmsetup.exe /useronly /config:MobileClient.TCF /status:512]LOG]!><time="12:48:09.843+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="installclient.cpp:1011"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="12:48:09.843+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="commandline.cpp:229"> <![LOG[Set command line: "C:\_SMSTaskSequence\OSD\PS10002C\ccmsetup.exe" /useronly /config:MobileClient.TCF /status:512]LOG]!><time="12:48:09.843+-60" date="02-24-2011" component="OSDSetupHook" context="" type="0" thread="1272" file="commandline.cpp:707"> <![LOG[Executing command line: "C:\_SMSTaskSequence\OSD\PS10002C\ccmsetup.exe" /useronly /config:MobileClient.TCF /status:512]LOG]!><time="12:48:09.843+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1272" file="commandline.cpp:805"> <![LOG[Launching command shell.]LOG]!><time="12:48:11.046+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1520" file="debugwindow.cpp:202"> <![LOG[Windows station: WinSta0]LOG]!><time="12:48:11.046+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1520" file="utils.cpp:43"> <![LOG[Desktop: Default]LOG]!><time="12:48:11.046+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1520" file="utils.cpp:62"> <![LOG[executing command: C:\WINDOWS\system32\cmd.exe /k]LOG]!><time="12:48:11.046+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1520" file="debugwindow.cpp:63"> <![LOG[executed command: C:\WINDOWS\system32\cmd.exe /k]LOG]!><time="12:48:11.046+-60" date="02-24-2011" component="OSDSetupHook" context="" type="1" thread="1520" file="debugwindow.cpp:80">
February 24th, 2011 7:08am

It seems that I've solved my problem. Resolution: http://social.technet.microsoft.com/Forums/en/mdt/thread/090efbc0-bcd1-4c08-83f0-340e28e7f52b I've inserted the KMS Key of the product.ini in my task sequence and everything runs fine.
Free Windows Admin Tool Kit Click here and download it now
February 24th, 2011 10:21am

thanks for sharing My step by step SCCM Guides I'm on Twitter > ncbrady
February 24th, 2011 1:11pm

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

Other recent topics Other recent topics