Image capture
What permissions
are really needed
in the field
to make the image capture
computer
Workgroup member?
I have
an account that
participates in the
group
Domain Users and Administrator
SCCM
site server,
it even has
all rights in SCCM.
But
I can not
make the image capture
with this account,
erro0x00004005
appears after
running
sysprep.
The machine is Windows
7
and is in workgroup.
July 25th, 2011 10:22am
you need to look more closely at the log files on the build/capture PC, it sounds like there is some resource missing or mis-configured could you please inclused all the error meaasges from you Smsts.log
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2011 10:35am
It could be anumber of things,
Are you running SCCM 2007 SP2? Correct drivers added in WinPE for the NIC? Network Access account correctly configurerd?
Post the SMSTS.log if so we can help you more.
Regards,
Jörgen-- My System Center blog ccmexec.com --
July 25th, 2011 10:45am
file="commandline.cpp:1102">
<![LOG[Entering ReleaseSource() for D:\SMS\PKG\EC100001]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="resolvesource.cpp:3431">
<![LOG[The user tries to release a source directory D:\SMS\PKG\EC100001 that is either already released or we have not connected to it]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="2" thread="872" file="resolvesource.cpp:3481">
<![LOG[Pre-staging of WINPE image successful]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="prepareos.cpp:935">
<![LOG[Opening Certificate store my ok. ]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="prepareos.cpp:1049">
<![LOG[No Machine Certificates to delete]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="prepareos.cpp:1071">
<![LOG[Deleting Machine Certificates succeeded]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="prepareos.cpp:1074">
<![LOG[Executing 'C:\Windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /quit' ...]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="prepareos.cpp:465">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="commandline.cpp:229">
<![LOG[Set command line: "C:\Windows\system32\sysprep\sysprep.exe" /quiet /generalize /oobe /quit]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="commandline.cpp:707">
<![LOG[Executing command line: "C:\Windows\system32\sysprep\sysprep.exe" /quiet /generalize /oobe /quit]LOG]!><time="18:03:35.828+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="commandline.cpp:805">
<![LOG[Process completed with exit code 0]LOG]!><time="18:03:40.171+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="commandline.cpp:1102">
<![LOG[Sysprep state set to IMAGE_STATE_UNDEPLOYABLE]LOG]!><time="18:03:40.234+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="offlineos.cpp:386">
<![LOG[The OS has not been generalized using sysprep.exe, or sysprep did not complete.]LOG]!><time="18:03:40.234+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="offlineos.cpp:402">
<![LOG[bSysPreped, HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\prepareos\prepareos.cpp,522)]LOG]!><time="18:03:40.234+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="prepareos.cpp:522">
<![LOG[Sysprep did not complete successfully]LOG]!><time="18:03:40.234+180" date="07-22-2011" component="PrepareOS" context="" type="3" thread="872" file="prepareos.cpp:522">
<![LOG[RunSysprep(sCmdLine, bActivate, m_bDebug), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\prepareos\prepareos.cpp,1386)]LOG]!><time="18:03:40.250+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="prepareos.cpp:1386">
<![LOG[Unable to sysprep the machine, hr=80004005]LOG]!><time="18:03:40.250+180" date="07-22-2011" component="PrepareOS" context="" type="3" thread="872" file="prepareos.cpp:1400">
<![LOG[pCmd->Sysprep(bActivate, bMsd), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\prepareos\main.cpp,270)]LOG]!><time="18:03:40.250+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="main.cpp:270">
<![LOG[Sysprep'ing the machine failed, hr=80004005]LOG]!><time="18:03:40.250+180" date="07-22-2011" component="PrepareOS" context="" type="3" thread="872" file="main.cpp:270">
<![LOG[De-Initialization successful]LOG]!><time="18:03:40.250+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="prepareos.cpp:1163">
<![LOG[Exiting with error code 16389]LOG]!><time="18:03:40.250+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="main.cpp:293">
<![LOG[Process completed with exit code 16389]LOG]!><time="18:03:40.343+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="commandline.cpp:1102">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="18:03:40.343+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="instruction.cxx:3010">
<![LOG[Failed to run the action: Prepare Operating System.
Unknown error (Error: 00004005; Source: Unknown)]LOG]!><time="18:03:40.375+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="instruction.cxx:3101">
<![LOG[Sending status message . . .]LOG]!><time="18:03:40.375+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utility.cxx:292">
<![LOG[Do not send status message in full media case]LOG]!><time="18:03:40.390+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utility.cxx:310">
<![LOG[Set a global environment variable _SMSTSLastActionRetCode=16389]LOG]!><time="18:03:40.390+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="executionenv.cxx:668">
<![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="18:03:40.390+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="executionenv.cxx:668">
<![LOG[Clear local default environment]LOG]!><time="18:03:40.390+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="executionenv.cxx:807">
<![LOG[Let the parent group (Capture the Reference Machine) decides whether to continue execution]LOG]!><time="18:03:40.546+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="instruction.cxx:3210">
<![LOG[The execution of the group (Capture the Reference Machine) has failed and the execution has been aborted. An action failed.
Unknown error (Error: 80004004; Source: Unknown)]LOG]!><time="18:03:40.562+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="instruction.cxx:2424">
<![LOG[Failed to run the last action: Prepare Operating System. Execution of task sequence failed.
Unknown error (Error: 00004005; Source: Unknown)]LOG]!><time="18:03:40.562+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="engine.cxx:214">
<![LOG[Sending status message . . .]LOG]!><time="18:03:40.562+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utility.cxx:292">
<![LOG[Do not send status message in full media case]LOG]!><time="18:03:40.562+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utility.cxx:310">
<![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,767)]LOG]!><time="18:03:55.031+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948"
file="tsmanager.cpp:767">
<![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="18:03:55.031+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="tsmanager.cpp:767">
<![LOG[****************************************************************************]LOG]!><time="18:03:55.031+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="tsmanager.cpp:789">
<![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="18:03:55.031+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="tsmanager.cpp:790">
<![LOG[Cleaning Up. Removing Authenticator]LOG]!><time="18:03:55.031+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="tsmanager.cpp:578">
<![LOG[Clean up boot image stage path C:\_SMSTaskSequence\WinPE]LOG]!><time="18:03:55.031+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:1389">
<![LOG[Cleaning up task sequence folder]LOG]!><time="18:03:55.171+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:1404">
<![LOG[Could not delete the file C:\_SMSTaskSequence\sms\bin\I386\CCMCORE.DLL. Error code 5]LOG]!><time="18:03:55.234+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:709">
<![LOG[Marking the file C:\_SMSTaskSequence\sms\bin\I386\CCMCORE.DLL for deletion on Reboot]LOG]!><time="18:03:55.234+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:733">
<![LOG[Could not delete the file C:\_SMSTaskSequence\sms\bin\I386\CCMUTILLIB.DLL. Error code 5]LOG]!><time="18:03:55.234+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:709">
<![LOG[Marking the file C:\_SMSTaskSequence\sms\bin\I386\CCMUTILLIB.DLL for deletion on Reboot]LOG]!><time="18:03:55.250+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:733">
<![LOG[Could not delete the file C:\_SMSTaskSequence\sms\bin\I386\MSVCP60.DLL. Error code 5]LOG]!><time="18:03:55.250+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:709">
<![LOG[Marking the file C:\_SMSTaskSequence\sms\bin\I386\MSVCP60.DLL for deletion on Reboot]LOG]!><time="18:03:55.250+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:733">
<![LOG[Could not delete the file C:\_SMSTaskSequence\sms\bin\I386\TSCORE.DLL. Error code 5]LOG]!><time="18:03:55.281+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:709">
<![LOG[Marking the file C:\_SMSTaskSequence\sms\bin\I386\TSCORE.DLL for deletion on Reboot]LOG]!><time="18:03:55.281+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:733">
<![LOG[Could not delete the file C:\_SMSTaskSequence\sms\bin\I386\TSMANAGER.EXE. Error code 5]LOG]!><time="18:03:55.296+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:709">
<![LOG[Marking the file C:\_SMSTaskSequence\sms\bin\I386\TSMANAGER.EXE for deletion on Reboot]LOG]!><time="18:03:55.296+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:733">
<![LOG[Could not delete the file C:\_SMSTaskSequence\sms\bin\I386\TSMESSAGING.DLL. Error code 5]LOG]!><time="18:03:55.296+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:709">
<![LOG[Marking the file C:\_SMSTaskSequence\sms\bin\I386\TSMESSAGING.DLL for deletion on Reboot]LOG]!><time="18:03:55.312+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:733">
<![LOG[Could not delete the file C:\_SMSTaskSequence\sms\bin\I386\XPRSLIB.DLL. Error code 5]LOG]!><time="18:03:55.312+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:709">
<![LOG[Marking the file C:\_SMSTaskSequence\sms\bin\I386\XPRSLIB.DLL for deletion on Reboot]LOG]!><time="18:03:55.312+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="utils.cpp:733">
<![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="resolvesource.cpp:508">
<![LOG[pfnDllUnregisterServer(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,866)]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="environmentlib.cpp:866">
<![LOG[Failed to unregister Task Sequencing COM Interface. Code (0x80070002)]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="environmentlib.cpp:866">
<![LOG[CCM::Utility::Filesystem::File::Exists( sTSProgressUIExe ), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\utils.cpp,1856)]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="utils.cpp:1856">
<![LOG[Missing TS Progress UI executable C:\_SMSTaskSequence\sms\bin\i386\TsProgressUI.exe.]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="utils.cpp:1856">
<![LOG[GetTSProgressUIExe(sourceDir, sTSProgressUIExe), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\utils.cpp,1949)]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="utils.cpp:1949">
<![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,419)]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="0" thread="3948" file="tsmanager.cpp:419">
<![LOG[Error executing Task Sequence Manager service. Code 0x80004005]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="3" thread="3948" file="tsmanager.cpp:452">
<![LOG[Sending error status message]LOG]!><time="18:03:55.343+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="tsmanager.cpp:456">
<![LOG[Do not send status message in full media case]LOG]!><time="18:03:55.359+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="tsmanager.cpp:1549">
<![LOG[Finalizing logging from process 3928]LOG]!><time="18:03:55.359+180" date="07-22-2011" component="TSManager" context="" type="1" thread="3948" file="tslogging.cpp:1736">
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2011 10:47am
One thing to check is that you have the NIC drivers in your boot images and also that you have them in the apply drivers step in your task sequence. Enable F8 support in your boot images and check you have an IP address.
July 25th, 2011 10:55am
It looks like the installation of Windows itself is not OK, The error:
<![LOG[Sysprep state set to IMAGE_STATE_UNDEPLOYABLE]LOG]!><time="18:03:40.234+180" date="07-22-2011" component="PrepareOS" context="" type="0" thread="872" file="offlineos.cpp:386">
< ![LOG[The OS has not been generalized using sysprep.exe, or sysprep did not complete.]LOG]!><time="18:03:40.234+180" date="07-22-2011" component="PrepareOS" context="" type="1" thread="872" file="offlineos.cpp:402">
Verify that the Sysprep log files are clean and that there are no fatal errors. You must also verify that there are no warnings or other errors included in the Setuperr.log file, which is located in the %SystemDrive%\Windows\System32\Sysprep\Panther directory.
http://technet.microsoft.com/en-us/library/ee676646(WS.10).aspx
Regards,
Jörgen-- My System Center blog ccmexec.com --
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2011 11:36am
Look at this article. Maybe you have something wrong in your Build and Capture.
http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/b4c23959-0b81-4abd-bf40-8e9f19b6d3a3
There is a link to a windows-noob guide that worked very well for me.
Also if I am correct in the build and capture there isnt a sysprep like there was for XP. Make sure on your "Capture the Reference Machine" the Account is correct. If you have the wrong account, miss-typed username/pass it will fail there.
July 25th, 2011 12:46pm
It is
a
station with Windows 7.
I already removed
the drivers and
the boot images, and
other
boot images created
and imported
the drivers again.
Not the
right is the same
error.
0x80004005
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2011 4:37pm


