Skip to content

Sysprep and SCCM 2007 R2

Featured Replies

Hello,


I have been working on imaging Dell Ultrabooks for the company I work for. Originally I had an image that included a couple pieces of software (office 2007, java, flash and Citrix etc). I had an image setup and task sequence that would run succesfully. However it did have a few bugs that I would manually correct each time I imaged a machine. Eventually I figured out why some most of the bugs were occuring. So we decided to start over with a clean image. So I created a bootable USB device to install a fresh copy of Windows 7. I installed this on the Ultrabook. Then immediately sysprepped it and captured the image off it. I didn't think I needed to do anything else because the rest of the applications and drivers would be installed via the task sequence I had created. So I added the image to the task sequence. Made a standalone media to run it and ran it. The task sequence started, and it worked just fine up until it came to the last section to install the software and then it failed.


My first thought was maybe it was an issue with the package, but even trying other packages I was still getting the same error. So this led to me do to some more research. I found that in most cases they say to use an unattend.xml file when doing a sysprep. Now I've gone through numerous threads/forums and technet articles and was able to setup an unattend file, and it works fine. However my problem is I still need to get software installed and all the articles I've read state to install the software before sysprepping, which isn't what I want to do.


I would like to be able to install the applications seperately and keep the base image clean. This way if we update anything we don't have to recreate the base image.

  • Author

65 views and nothing :( I well post an error log of sorts to see if this helps

  • Author

Here is a snippit of the smsts log you can see where it fails and what error codes it gives off:

 

<![LOG[The group (Install Software) has been successfully started]LOG]!><time="08:58:48.290+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="instruction.cxx:2363">
<![LOG[sending status message . . .]LOG]!><time="08:58:48.290+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utility.cxx:292">
<![LOG[Do not send status message in full media case]LOG]!><time="08:58:48.290+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utility.cxx:310">
<![LOG[updated security on object C:\_SMSTaskSequence.]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utils.cpp:829">
<![LOG[set a global environment variable _SMSTSNextInstructionPointer=18]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:668">
<![LOG[set a TS execution environment variable _SMSTSNextInstructionPointer=18]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:386">
<![LOG[set a global environment variable _SMSTSInstructionStackString=17]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:668">
<![LOG[set a TS execution environment variable _SMSTSInstructionStackString=17]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:414">
<![LOG[save the current environment block]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:833">
<![LOG[successfully save execution state and environment to local hard disk]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="engine.cxx:255">
<![LOG[start executing an instruciton. Instruction name: Install Adobe Flash Player. Instruction pointer: 18]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="engine.cxx:117">
<![LOG[set a global environment variable _SMSTSCurrentActionName=Install Adobe Flash Player]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:668">
<![LOG[set a global environment variable _SMSTSNextInstructionPointer=18]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:668">
<![LOG[set a local default variable _SMSSWDProgramName]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:700">
<![LOG[set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:668">
<![LOG[Expand a string: smsswd.exe /pkg:AMC0001F /install /basevar: /continueOnError:]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:782">
<![LOG[Expand a string: ]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:782">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="commandline.cpp:229">
<![LOG[set command line: smsswd.exe /pkg:AMC0001F /install /basevar: /continueOnError:]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="commandline.cpp:707">
<![LOG[start executing the command line: smsswd.exe /pkg:AMC0001F /install /basevar: /continueOnError:]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="instruction.cxx:2928">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="instruction.cxx:2957">
<![LOG[Expand a string: FullOS]LOG]!><time="08:58:48.306+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:782">
<![LOG[!bInWinPE, HRESULT=80070032 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\instruction.cxx,2725)]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="instruction.cxx:2725">
<![LOG[The step (Install Adobe Flash Player) must be running in full OS]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="3" thread="1108" file="instruction.cxx:2725">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="instruction.cxx:2979">
<![LOG[Failed to run the action: Install Adobe Flash Player.
The request is not supported. (Error: 80070032; Source: Windows)]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="3" thread="1108" file="instruction.cxx:2981">
<![LOG[sending status message . . .]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utility.cxx:292">
<![LOG[Do not send status message in full media case]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utility.cxx:310">
<![LOG[set a global environment variable _SMSTSLastActionRetCode=50]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:668">
<![LOG[set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:668">
<![LOG[Clear local default environment]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="executionenv.cxx:807">
<![LOG[Let the parent group (Install Software) decides whether to continue execution]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="instruction.cxx:3210">
<![LOG[The execution of the group (Install Software) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="3" thread="1108" file="instruction.cxx:2424">
<![LOG[Failed to run the last action: Install Adobe Flash Player. Execution of task sequence failed.
The request is not supported. (Error: 00000032; Source: Windows)]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="3" thread="1108" file="engine.cxx:214">
<![LOG[sending status message . . .]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utility.cxx:292">
<![LOG[Do not send status message in full media case]LOG]!><time="08:58:48.321+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utility.cxx:310">
<![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,767)]LOG]!><time="08:59:04.108+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="tsmanager.cpp:767">
<![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="08:59:04.108+000" date="01-25-2013" component="TSManager" context="" type="3" thread="1108" file="tsmanager.cpp:767">
<![LOG[****************************************************************************]LOG]!><time="08:59:04.108+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="tsmanager.cpp:789">
<![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="08:59:04.108+000" date="01-25-2013" component="TSManager" context="" type="3" thread="1108" file="tsmanager.cpp:790">
<![LOG[Cleaning Up. Removing Authenticator]LOG]!><time="08:59:04.108+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="tsmanager.cpp:578">
<![LOG[Clean up boot image stage path C:\_SMSTaskSequence\WinPE]LOG]!><time="08:59:04.108+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utils.cpp:1389">
<![LOG[Cleaning up task sequence folder]LOG]!><time="08:59:04.124+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utils.cpp:1404">
<![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="resolvesource.cpp:508">
<![LOG[successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="environmentlib.cpp:869">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="commandline.cpp:229">
<![LOG[set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="commandline.cpp:707">
<![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="commandline.cpp:805">
<![LOG[==========[ TsProgressUI started in process 1160 ]==========]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TsProgressUI" context="" type="1" thread="1164" file="winmain.cpp:327">
<![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TsProgressUI" context="" type="0" thread="1164" file="winmain.cpp:330">
<![LOG[unregistering COM classes]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TsProgressUI" context="" type="1" thread="1164" file="winmain.cpp:202">
<![LOG[unregistering class objects]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TsProgressUI" context="" type="1" thread="1164" file="winmain.cpp:503">
<![LOG[shutdown complete.]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TsProgressUI" context="" type="1" thread="1164" file="winmain.cpp:520">
<![LOG[Process completed with exit code 0]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="commandline.cpp:1102">
<![LOG[successfully unregistered TS Progress UI.]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="utils.cpp:1963">
<![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,657)]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="0" thread="1108" file="tsmanager.cpp:657">
<![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="3" thread="1108" file="tsmanager.cpp:689">
<![LOG[sending error status message]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="tsmanager.cpp:690">
<![LOG[Do not send status message in full media case]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="tsmanager.cpp:1549">
<![LOG[Finalize logging request ignored from process 1104]LOG]!><time="08:59:04.140+000" date="01-25-2013" component="TSManager" context="" type="1" thread="1108" file="tslogging.cpp:1732">
<![LOG[Process completed with exit code 2147500037]LOG]!><time="08:59:04.155+000" date="01-25-2013" component="TSMBootstrap" context="" type="1" thread="1064" file="commandline.cpp:1102">
<![LOG[Exiting with return code 0x80004005]LOG]!><time="08:59:04.155+000" date="01-25-2013" component="TSMBootstrap" context="" type="1" thread="1064" file="tsmbootstrap.cpp:1118">
<![LOG[Execution complete.]LOG]!><time="08:59:04.155+000" date="01-25-2013" component="TSBootShell" context="" type="1" thread="876" file="bootshell.cpp:624">
<![LOG[Finalizing logging from process 844]LOG]!><time="08:59:04.155+000" date="01-25-2013" component="TSBootShell" context="" type="1" thread="876" file="tslogging.cpp:1736">
<![LOG[Finalizing logs to root of first available drive]LOG]!><time="08:59:04.155+000" date="01-25-2013" component="TSBootShell" context="" type="1" thread="876" file="tslogging.cpp:1578">
<![LOG[successfully finalized logs to C:\SMSTSLog]LOG]!><time="08:59:04.155+000" date="01-25-2013" component="TSBootShell" context="" type="1" thread="876" file="tslogging.cpp:1635">
<![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="08:59:04.155+000" date="01-25-2013" component="TSBootShell" context="" type="0" thread="876" file="tslogging.cpp:578">

This is what i do in my environment, ill take a peak at the log file and see if Ivan come up with anything

Are you sure that you are already in Windows mode and not in PE when you try to install your Apps and packages?

 

The request is not supported. (Error: 00000032

 

I would say you are still in PE, where you can't install Apps and packages.

I would also agree that you may still be in WinPE according to the log. Also, Something you may want to check is that on each of the programs you are referrencing from your Task sequence that you have the option checked off to allow them to be run from the task sequence without being deployed. Also make sure you have your network access account configured.

  • Author

Yeah lol thats what it was, I had a restart command in the wrong spot. I just needed to move it down one section in my task sequence and then everything started. I can't believe thats all it was ugh..lol

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.