Jump to content


  • 0
Loganater

Capture windows xp sysprep failure

Question

Good morning,

 

I am having problems with sysprep. My capture windows xp task sequence is successful all the way to the point of running sysprep command failure on prepare os step.

 

The error I am receiving on the Windows PE screen is: Error - 0x00000001

 

Here is my Log:

<![LOG[LOGGING: Finalize process ID set to 1896]LOG]!><time="08:46:24.390+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="tslogging.cpp:1489">

<![LOG[!sVolumeID.empty(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,467)]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="resolvesource.cpp:467">

<![LOG[!sTSMDataPath.empty(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,1395)]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="resolvesource.cpp:1395">

<![LOG[TS::Utility::GetTSMDataPath( sDataDir ), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\osdsetuphook.cpp,174)]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="osdsetuphook.cpp:174">

<![LOG[Failed to set log directory. Some execution history may be lost.

The system cannot find the file specified. (Error: 80070002; Source: Windows)]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="3" thread="1900" file="osdsetuphook.cpp:191">

<![LOG[Executing task sequence]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="osdsetuphook.cpp:286">

<![LOG[!sVolumeID.empty(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,467)]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="resolvesource.cpp:467">

<![LOG[!sTSMDataPath.empty(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,1395)]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="resolvesource.cpp:1395">

<![LOG[Task Sequence environment not found. Task sequence completed in Windows PE.]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="basesetuphook.cpp:1288">

<![LOG[uninstalling Setup Hook]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="basesetuphook.cpp:1424">

<![LOG[Could not delete the file C:\WINDOWS\system32\OSDGINA.DLL. Error code 5]LOG]!><time="08:46:24.421+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="utils.cpp:709">

<![LOG[Marking the file C:\WINDOWS\system32\OSDGINA.DLL for deletion on Reboot]LOG]!><time="08:46:24.484+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="utils.cpp:733">

<![LOG[successfully removed C:\WINDOWS\system32\OSDGINA.DLL]LOG]!><time="08:46:24.500+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="basesetuphook.cpp:1179">

<![LOG[Could not delete the file C:\WINDOWS\system32\OSDSETUPHOOK.EXE. Error code 5]LOG]!><time="08:46:24.500+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="utils.cpp:709">

<![LOG[Marking the file C:\WINDOWS\system32\OSDSETUPHOOK.EXE for deletion on Reboot]LOG]!><time="08:46:24.593+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="utils.cpp:733">

<![LOG[successfully removed C:\WINDOWS\system32\OSDSETUPHOOK.EXE]LOG]!><time="08:46:24.593+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="basesetuphook.cpp:1179">

<![LOG[successfully removed C:\WINDOWS\system32\_SMSOSDSetup]LOG]!><time="08:46:24.750+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="basesetuphook.cpp:1216">

<![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\environmentscope.cpp,136)]LOG]!><time="08:46:24.750+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="environmentscope.cpp:136">

<![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,321)]LOG]!><time="08:46:24.750+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="environmentlib.cpp:321">

<![LOG[open(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,414)]LOG]!><time="08:46:24.750+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="environmentlib.cpp:414">

<![LOG[Finalizing logging from process 1896]LOG]!><time="08:46:24.750+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="tslogging.cpp:1736">

<![LOG[successfully finalized logs to SMS client log directory from C:\WINDOWS\system32\CCM\Logs]LOG]!><time="08:46:24.781+300" date="11-03-2010" component="OSDSetupHook" context="" type="1" thread="1900" file="tslogging.cpp:1536">

<![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="08:46:24.781+300" date="11-03-2010" component="OSDSetupHook" context="" type="0" thread="1900" file="tslogging.cpp:578">

 

 

Here is my sysprep.ini config

 

;SetupMgrTag

[unattended]

OemSkipEula=Yes

InstallFilesPath=C:\sysprep\i386

 

 

[GuiUnattended]

AdminPassword="Dogbert01"

EncryptedAdminPassword=NO

OEMSkipRegional=1

OemSkipWelcome=1

 

[userData]

ProductKey=removed

FullName="NCDST"

OrgName="NCDST"

ComputerName=*

 

[TapiLocation]

AreaCode=919

 

[setupMgr]

DistFolder=C:\sysprep\i386

DistShare=windist

 

[identification]

JoinWorkgroup=WORKGROUP

 

[Networking]

InstallDefaultComponents=Yes

 

 

What is odd when I look in C: for sysprep folder I do not see it after the task sequence fails.

 

Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.