Task sequence error - CreateFileW failed for ...

Hello,

I'm experiencing an issue during OSD deployment. I'm using an offline media (USB) Key.

This error occurs from time to time.

Can someone help?

Regards,

Michel

Finding package: C:\SMS\PKG\SIT00430      InstallApplication      28/07/2014 09:45:49      3192 (0x0C78)

Finding package: E:\SMS\PKG\SIT00430      InstallApplication      28/07/2014 09:45:49      3192 (0x0C78)

FindPackageFolder found: E:\SMS\PKG\SIT00430    InstallApplication      28/07/2014 09:45:49    3192 (0x0C78)

Expected hash for app/content: Content_cf58b163-8d0a-487c-bf7a-7c3f9bac41c4, 32780, 6040B563FABF26A0970521430798B13E0249EAD4B7351CA0576269800F465701  InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

V4HashCompatibilityMode: FALSE      InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

hFile != INVALID_HANDLE_VALUE, HRESULT=80070005 (e:\nts_sccm_release\sms\client\softmgmtagent\contentaccess\newhashdir.cpp,160)      InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

CreateFileW failed for e:\sms\pkg\SIT00430\content_cf58b163-8d0a-487c-bf7a-7c3f9bac41c4.1\cabfile.cab   InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

failed; 0x80070005    InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

FileOpen (arrFiles[iFile].c_str(), hFile, bResetFilePermissions ? (0x80000000L)|(0x40000000L)|(0x00040000L)|(0x00080000L) : (0x80000000L), 0x00000080|0x08000000|( 0x0100 )|0x02000000), HRESULT=80070005 (e:\nts_sccm_release\sms\client\softmgmtagent\contentaccess\newhashdir.cpp,698)      InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

t failed; 0x80070005  InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

HashContent (nBaseFolderNameLength, sContentFolder.c_str(), listExcludeFileInfo, dwAlgID, hHash, bV4CompatibleHash, bResetFilePermissions), HRESULT=80070005 (e:\nts_sccm_release\sms\client\softmgmtagent\contentaccess\newhashdir.cpp,802)      InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

failed; 0x80070005  InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

ComputeContentHash (sFolder.c_str(), dwHashAlg, listExcludeFile, sHash, bWriteble), HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,4279)      InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

StoreAppContents failed; 0x80070005 InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

TS::Utility::StoreAppContents (sAppContents.c_str()), HRESULT=80070005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\installapplication.cpp,838)      InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

StoreAppContents failed InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

pInstall->InstallApplications(saAppNames, sContinueOnError), HRESULT=80070005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\main.cpp,277)      InstallApplication      28/07/2014 09:45:49     3192 (0x0C78)

Install Static Applications failed, hr=0x80070005     InstallApplication      28/07/2014 09:45:49    3192 (0x0C78)

Process completed with exit code 2147942405     TSManager   28/07/2014 09:45:49     2652 (0x0A5C)

!--------------------------------------------------------------------------------------------!      TSManager   28/07/2014 09:45:50     2652 (0x0A5C)

Failed to run the action: Install  Default Master Application. Permissions on the requested may be configured incorrectly.

Access is denied. (Error: 80070005; Source: Windows)  TSManager   28/07/2014 09:45:50      2652 (0x0A5C)

Do not send status message in full media case   TSManager   28/07/2014 09:45:50     2652 (0x0A5C)

Set a global environment variable _SMSTSLastActionRetCode=-2147024891   TSManager      28/07/2014 09:45:50     2652 (0x0A5C)

Set a global environment variable _SMSTSLastActionSucceeded=false TSManager   28/07/2014 09:45:50    2652 (0x0A5C)

Clear local default environment     TSManager   28/07/2014 09:45:50     2652 (0x0A5C)

Let the parent group (Software) decides whether to continue execution   TSManager      28/07/2014 09:45:50     2652 (0x0A5C)

The execution of the group (Software) has failed and the execution has been aborted. An action failed.

Operation aborted (Error: 80004004; Source: Windows)  TSManager   28/07/2014 09:45:50      2652 (0x0A5C)

Failed to run the last action: Install  Default Master Application. Execution of task sequence failed.

Access is denied. (Error: 80070005; Source: Windows)  TSManager   28/07/2014 09:45:50      2652 (0x0A5C)

Do not send status message in full media case   TSManager   28/07/2014 09:45:50     2652 (0x0A5C)

Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,923)     TSManager      28/07/2014 10:01:04     2652 (0x0A5C)

Task Sequence Engine failed! Code: enExecutionFail    TSManager   28/07/2014 10:01:04      2652 (0x0A5C)

****************************************************************************  TSManager      28/07/2014 10:01:04     2652 (0x0A5C)

Task sequence execution failed with error code 80004005     TSManager   28/07/2014 10:01:04    2652 (0x0A5C)

Cleaning Up.      TSManager   28/07/2014 10:01:04     2652 (0x0A5C)

  • Edited by LMichel Tuesday, July 29, 2014 12:16 PM
July 29th, 2014 12:03pm

This looks like file access issues.

Do you have AV on your image? Try disabling it.

Can you try another image?

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2014 1:57pm

No, the antivirus is not yet installed when the error occurs.
July 29th, 2014 2:29pm

It seems that the issue was related to corrupted files.
  • Proposed as answer by DanielRatliff Tuesday, August 05, 2014 12:11 PM
  • Marked as answer by LMichel Tuesday, August 05, 2014 12:13 PM
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2014 11:48am

Hi, where the files were broken? On USB stick?
January 19th, 2015 7:25am

Hi, where the files were broken? On USB stick?

Yes, on usb stick
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2015 8:37am

Hello,

I'm having the same issue. Have you been able to resolve it?

March 17th, 2015 12:42pm

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

Other recent topics Other recent topics