none
Task Sequence Error 0x80004005 RRS feed

  • Pregunta

  • Buenas, 

    Estoy intentando desplegar una imagen de W7 Ent 64x. desde una Task Sequence y en el punto de aplicar la Wim de la partición de sistema, me salta el error 0x80004005. 

    Adjunto las últimas lineas del smsts.log por si alguien me puede ayudar a  encontrar una solución. 

    !--------------------------------------------------------------------------------------------!	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Successfully completed the action (Crear particiones) with the exit win32 code 0	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Do not send status message in full media case	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSLastActionRetCode=0	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSLastActionSucceeded=true	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Expand a string: %_SMSTSMDataPath%\Logs	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Clear local default environment	TSManager	02/03/2016 15:51:53	320 (0x0140)
    User did not specify local data drive	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Volume C:\ has 199913586688 bytes of free space	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Volume D:\ is not a fixed hard drive	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Volume E:\ has 299922665472 bytes of free space	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Volume X:\ is not a fixed hard drive	TSManager	02/03/2016 15:51:53	320 (0x0140)
    TSM root drive = E:\	TSManager	02/03/2016 15:51:53	320 (0x0140)
    E:\_SMSTaskSequence does not exist	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Creating directory E:\_SMSTaskSequence	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Updated security on object E:\_SMSTaskSequence.	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSNextInstructionPointer=3	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=3	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSInstructionStackString=0	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a TS execution environment variable _SMSTSInstructionStackString=0	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Save the current environment block	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Successfully save execution state and environment to local hard disk	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSLastActionRetryCount=0	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Start executing an instruction. Instruction name: Aplicar imagen de sistema operativo. Instruction pointer: 3	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSCurrentActionName=Aplicar imagen de sistema operativo	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSNextInstructionPointer=3	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a local default variable OSDImageIndex	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Expand a string: OSDApplyOS.exe /image:AGB00199,%OSDImageIndex% /runfromnet:False	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Expand a string: 	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Command line for extension .exe is "%1" %*	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Set command line: OSDApplyOS.exe /image:AGB00199,%OSDImageIndex% /runfromnet:False	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Start executing the command line: OSDApplyOS.exe /image:AGB00199,%OSDImageIndex% /runfromnet:False	TSManager	02/03/2016 15:51:53	320 (0x0140)
    !--------------------------------------------------------------------------------------------!	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Expand a string: WinPE	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Executing command line: OSDApplyOS.exe /image:AGB00199,%OSDImageIndex% /runfromnet:False	TSManager	02/03/2016 15:51:53	320 (0x0140)
    Command line for extension .exe is "%1" %*	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Set command line: "OSDApplyOS.exe" /image:AGB00199,1 /runfromnet:False	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Found run from net option: 0	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Not a data image	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    ApplyOSRetry: 	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    TSLaunchMode: UFD	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    OSDUseAlreadyDeployedImage: FALSE	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Searching for next available volume:	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
      Volume D:\ is not a local hard drive.	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
      Volume C:\ is a valid target.	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Found volume C:\	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Windows target partition is 0-1, driver letter is C:\	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    The machine does not have a local client cache.	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    ResolveSource flags: 0x00000001	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    SMSTSPersistContent: . The content for package AGB00199 will be persisted	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Package location: _SMSTSAGB00199, file:VOL001:\SMS\PKG\AGB00199	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Searching C:\ for Fullmedia content	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Searching D:\ for Fullmedia content	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Found Fullmedia content in drive D:\.	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    wim file not found, looking for spanned images..	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Opening image file D:\SMS\PKG\AGB00199\48CD92EC6CD5862EFFF428540AE7907C6F4FFD17EA78AC263CF1610E0945F877000.swm	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Adding "D:\SMS\PKG\AGB00199\48CD92EC6CD5862EFFF428540AE7907C6F4FFD17EA78AC263CF1610E0945F877001.swm" to WIM reference set	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Image file AGB00199 version "" will be applied	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Starting to apply image 1 from 48CD92EC6CD5862EFFF428540AE7907C6F4FFD17EA78AC263CF1610E0945F877000.swm to C:\	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Wiping C:\	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Set "E:\_SMSTaskSequence" to not be wiped	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Set "%OSDStateStorePath%" to not be wiped	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Set "%_SMSTSClientCache%" to not be wiped	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Set "%_SMSTSNewClientCachePathToCleanup%" to not be wiped	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Calculating expected free space.	ApplyOperatingSystem	02/03/2016 15:51:53	1308 (0x051C)
    Reporting deletion progress.	ApplyOperatingSystem	02/03/2016 15:51:53	1308 (0x051C)
    Successfully wiped C:\	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Applying image to C:\	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Applying image 1 to volume C:	ApplyOperatingSystem	02/03/2016 15:51:53	1288 (0x0508)
    Successfully applied image to C:\	ApplyOperatingSystem	02/03/2016 16:00:23	1288 (0x0508)
    OfflineRegistry::Init("C:\WINDOWS")	ApplyOperatingSystem	02/03/2016 16:00:23	1288 (0x0508)
    Loading offline registry hive "C:\WINDOWS\system32\config\software" into HKLM\OfflineRegistry1	ApplyOperatingSystem	02/03/2016 16:00:23	1288 (0x0508)
    Loading offline registry hive "C:\WINDOWS\system32\config\system" into HKLM\OfflineRegistry2	ApplyOperatingSystem	02/03/2016 16:00:25	1288 (0x0508)
    CurrentControlSet is mapped to ControlSet001	ApplyOperatingSystem	02/03/2016 16:00:25	1288 (0x0508)
    System root for target OS is C:\WINDOWS, System drive is C:	ApplyOperatingSystem	02/03/2016 16:00:25	1288 (0x0508)
    OS Version is 6.1	ApplyOperatingSystem	02/03/2016 16:00:25	1288 (0x0508)
    Successfully loaded a source BCD boot system	ApplyOperatingSystem	02/03/2016 16:00:25	1288 (0x0508)
    SetupNewOS: Loaded source boot system from target volume "C:\"	ApplyOperatingSystem	02/03/2016 16:00:25	1288 (0x0508)
    !sBootDevicePath.empty(), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\tscore\bootvolume.cpp,34)	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    System partition not set	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Unable to find the partition that contains the OS boot loaders. Please ensure the hard disks have been properly partitioned
    Unspecified error (Error: 80004005; Source: Windows)	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Command line for extension .exe is "%1" %*	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Set command line: "bcdboot.exe" C:\WINDOWS /l es-ES	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Executing command line: "bcdboot.exe" C:\WINDOWS /l es-ES	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Process completed with exit code 15299	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    uExitCode == 0, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\tscore\bcdbooter.cpp,88)	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Bcdboot failed! bcdboot.exe C:\WINDOWS /l es-ES failed (15299)
    stdout:
    Failure when attempting to copy boot files.
     
    stderr:
     	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    TS::Boot::BcdBooter::InstallBootFilesAndConfigBCD (sTargetSystemRoot, this->defaultLanguage, sBootVolume), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1089)	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Unloading offline SOFTWARE registry hive	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Unloading offline SYSTEM registry hive	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    SetupNewOs(&pBootSystem), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1850)	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    Configure(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,2028)	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    Installation of image 1 in package AGB00199 failed to complete.. 
    Unspecified error (Error: 80004005; Source: Windows)	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    installer.install(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,2094)	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    Closing image file D:\SMS\PKG\AGB00199\48CD92EC6CD5862EFFF428540AE7907C6F4FFD17EA78AC263CF1610E0945F877000.swm	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    ReleaseSource() for D:\SMS\PKG\AGB00199.	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    The user tries to release a source directory D:\SMS\PKG\AGB00199 that is either already released or we have not connected to it.	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName, bOEMMedia, g_RunFromNet ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\applyos.cpp,509)	ApplyOperatingSystem	02/03/2016 16:00:27	1288 (0x0508)
    Process completed with exit code 2147500037	TSManager	02/03/2016 16:00:27	320 (0x0140)
    !--------------------------------------------------------------------------------------------!	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Failed to run the action: Aplicar imagen de sistema operativo. 
    Unspecified error (Error: 80004005; Source: Windows)	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Do not send status message in full media case	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Set a global environment variable _SMSTSLastActionRetCode=-2147467259	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Set a global environment variable _SMSTSLastActionSucceeded=false	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Clear local default environment	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Let the parent group (Instalar Sistema Operativo) decides whether to continue execution	TSManager	02/03/2016 16:00:27	320 (0x0140)
    The execution of the group (Instalar Sistema Operativo) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Failed to run the last action: Aplicar imagen de sistema operativo. Execution of task sequence failed.
    Unspecified error (Error: 80004005; Source: Windows)	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Do not send status message in full media case	TSManager	02/03/2016 16:00:27	320 (0x0140)
    Executing command line: X:\windows\system32\cmd.exe /k	TSBootShell	02/03/2016 16:00:42	784 (0x0310)
    The command completed successfully.	TSBootShell	02/03/2016 16:00:42	784 (0x0310)
    Successfully launched command shell.	TSBootShell	02/03/2016 16:00:42	784 (0x0310)
    Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,1087)	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Task Sequence Engine failed! Code: enExecutionFail	TSManager	02/03/2016 16:15:29	320 (0x0140)
    ****************************************************************************	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Task sequence execution failed with error code 80004005	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Cleaning Up.	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Removing Authenticator	TSManager	02/03/2016 16:15:29	320 (0x0140)
    shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1662)	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Cleaning up task sequence folder	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Unable to delete file E:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.	TSManager	02/03/2016 16:15:29	320 (0x0140)
    hr, HRESULT=80070091 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,1250)	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Failed to delete directory 'E:\_SMSTaskSequence'	TSManager	02/03/2016 16:15:29	320 (0x0140)
    (dwRet = ::SetNamedSecurityInfoW ((WCHAR*) pszObjectName, objectType, OWNER_SECURITY_INFORMATION, pOwnerSID, NULL, NULL, NULL)) == ERROR_SUCCESS, HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,6871)	TSManager	02/03/2016 16:15:29	320 (0x0140)
    SetNamedSecurityInfo() failed.	TSManager	02/03/2016 16:15:29	320 (0x0140)
    SetObjectOwner() failed. 0x80070005.	TSManager	02/03/2016 16:15:29	320 (0x0140)
    SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,6968)	TSManager	02/03/2016 16:15:29	320 (0x0140)
    RemoveFile() failed for E:\_SMSTaskSequence\TSEnv.dat. 0x80070005.	TSManager	02/03/2016 16:15:29	320 (0x0140)
    RemoveDirectoryW failed (0x80070091) for E:\_SMSTaskSequence	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...	TSManager	02/03/2016 16:15:29	320 (0x0140)
    DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,519)	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Deleting volume ID file E:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...	TSManager	02/03/2016 16:15:29	320 (0x0140)
    DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,519)	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Successfully unregistered Task Sequencing Environment COM Interface.	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Command line for extension .exe is "%1" %*	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister	TSManager	02/03/2016 16:15:29	320 (0x0140)
    Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister	TSManager	02/03/2016 16:15:29	320 (0x0140)
    ==========[ TsProgressUI started in process 1376 ]==========	TsProgressUI	02/03/2016 16:15:29	1360 (0x0550)
    Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister	TsProgressUI	02/03/2016 16:15:29	1360 (0x0550)
    Unregistering COM classes	TsProgressUI	02/03/2016 16:15:29	1360 (0x0550)
    Unregistering class objects	TsProgress

    Gracias anticipadas! 

    miércoles, 2 de marzo de 2016 15:36

Todas las respuestas

  • Buenas noches.

    Al comienzo de los errores, por lo que veo, el problema base es:

    System partition not set	ApplyOperatingSystem	02/03/2016 16:00:26	1288 (0x0508)
    Unable to find the partition that contains the OS boot loaders. Please ensure the hard disks have been properly partitioned

    Creo que arreglando esto en la secuencia de tareas cuando particionas el disco, solucionaría el problema.

    Espero ayude, saludos.


    Ayuda a la comunidad. Si consideras que la respuesta te fue util, marcala por favor como respuesta final. Marcela Berri Instructor/Consultor Senior IT MCT–MVP Enterprise Client Management MCTS Server Admin/AD2008/Network Inf/Srv Virt2012R2/W7yOff2010 MCTS SCCM2012/2007/SCOM2007 MCITP Exchange 2010/2007-MCTS Exch2010/2007-MCTS Lync2010 ITTechnologySite.blogspot.com

    martes, 8 de marzo de 2016 2:49
  • Gracias por la respuesta,

    Ciertamente ese error parece ser el origen, el problema es que se como solucionarlo.... He probado de crear las 2 particiones de todas las formas, GPT / MBR, aun que la máquina destino tiene Uefi, así que entiendo que debería ir con GPT, es correcto? 

    Adjunto las condiciones que aplican por si hubiese algo mal.

     

    Gracias de nuevo.

    martes, 8 de marzo de 2016 14:07
  • Buenas tardes Hury750.

    Me parece que el problema es mas simple: al particionar te estaría faltando controlar la variable OSDPreserveDriveLetter.  Puede ser?  

    How to Ensure that Windows Installs on C: During a System Center 2012 Configuration Manager OSD Task Sequence

    Espero que ayude.  Saludos.


    Ayuda a la comunidad. Si consideras que la respuesta te fue util, marcala por favor como respuesta final. Marcela Berri Instructor/Consultor Senior IT MCT–MVP Enterprise Client Management MCTS Server Admin/AD2008/Network Inf/Srv Virt2012R2/W7yOff2010 MCTS SCCM2012/2007/SCOM2007 MCITP Exchange 2010/2007-MCTS Exch2010/2007-MCTS Lync2010 ITTechnologySite.blogspot.com

    viernes, 11 de marzo de 2016 1:18