FAILURE ( 9601 ): ERROR - ZTITatoo on Dell Latitude 7320 Detachable

aaron yellamaty 1 Reputation point
2021-10-20T10:24:18.493+00:00

We have an MDT image that we use at our company that works successfully on our Dell Latitude 7320s, Dell XPS 13 and Surface Pro's but fails whenever we try to use on Latitude 7320 Detachable. The Task Sequences up to Postinstall seem to work (the image installs the operating system then restarts the computer), but upon restart, the computer returns an error "Dirty Environment Found" saying "An existing in-progress deployment was found but is not in an expected state, would you like to ignore this in-progress deployment and start a new one?" Upon hitting no, we receive a BSOD Stop Code: INACCESSIBLE_BOOT_DEVICE with the following errors and warnings:

FAILURE ( 9601 ): ERROR - ZTITatoo state restore task should be running in the full OS, aborting.
Litetouch deployment failed, Return Code = -2147467259 0x80004005
Failed to run the action: Tattoo.
DNS zone does not exist. (Error: 00002581; Source: Windows)
The execution engine ignored the failure of the action (Tattoo) and continues execution
Failed to run the action: Disable SMBv1.
Incorrect function. (Error: 00000001; Source: Windows)
The execution of the group (State Restore) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)
Failed to run the last action: Disable SMBv1. Execution of task sequence failed.
Incorrect function.(Error: 00000001; Source: Windows)
Task Sequence Engine failed! Code: enExecutionFail
Task sequence execution failed with error code 80004005
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

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

1 answer

Sort by: Most helpful
  1. Simon Ren-MSFT 40,346 Reputation points Microsoft External Staff
    2021-10-22T09:41:17.737+00:00

    Hi,

    Thanks for posting in Microsoft Q&A forum.

    1, If the MDT deployment was forced to restart by an application install, or other means outside of the task sequence. You need to find which application is causing the restart and suppress it. If you are able to find and suppress the application, and it is necessary to do a reboot, you can right-click the application in the Deployment Workbench console, go to properties, and under the details tab you will see a reboot the computer after install checkbox.
    Refer to: Dirty Environment error.

    You may try to add a No Restart parameter to your application. This parameter can be found with the Ultimate EXE Silent Switch Finder
    Note: This is non-Microsoft link, just for your reference.

    2, You can also try to use Diskpart command to clean up your hard drive. Refer to:
    MDT 2013 - Dirty Environment Found Pop Up

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and 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.


Your answer

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