Share via

Tasksequence cannot be executed

Mirko 1 Reputation point
2022-01-12T14:17:03.823+00:00

I never had a problem with MDT, but since I'm trying to deploy SW_DVD9_Win_Pro_10_20H2.11_64BIT, i can't execute the Tasksequence anymore:164250-bdd.log

FAILURE ( 5627 ): -2147467259 0x80004005: Run DISM.exe
Litetouch deployment failed, Return Code = -2147467259 0x80004005
Failed to save environment to (80070057)
Failed to run the action: Install Operating System.
Unknown error (Error: 000015FB; Source: Unknown)
The execution of the group (Install) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)
Failed to run the last action: Install Operating System. Execution of task sequence failed.
Unknown error (Error: 000015FB; Source: Unknown)
Task Sequence Engine164372-litetouch.log failed! Code: enExecutionFail
Task sequence execution failed with error code 80004005
SetNamedSecurityInfo() failed.
SetObjectOwner() failed. 0x80070005.
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram
GetTsRegValue() is unsuccessful. 0x80070002.
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005

I beleive he cannot find c:\ to create the folder

"Failed to create C:_SMSTaskSequence (1005) TSMBootstrap 12.01.2022 13:59:40 1236 (0x04D4)"
I only found X: and J: but not C:

F: is the OSDisk

Why does it not work anymore ?

Thank you very much !!

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
0 comments No comments

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
    2022-01-13T06:51:37.987+00:00

    Hi, @Mirko
    Thank you for posting in Microsoft Q&A forum.

    Your OSDisk is now = J:
    When running the command: dism.exe /Image:J:\ /Apply-Unattend:J:\Windows\Panther\Unattend.xml /ScratchDir:J:\MININT\Scratch, it failed.
    We may review dism.log for more details, the DISM log file can be found at X:\windows\Logs\DISM\dism.log.
    Also check smsts.log, it is is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.