locked
MDT powershell RRS feed

  • Question

  • I can seem to figure out why my MDT TaskSequence is crashing.

    The message is:

    Warning : powershell was not detected.
    ZTI error - unhandeled error returned by ZTIPowershell : type mismatch (13)
    Litetouch deployment failed, return code = -2147467259 0x80004005
    failed to run the action : Run powershell script
    The data is invalid (error : 80004004, source : Windows)

    I have checked my 2016 server, Powershell is installed (v 5.1.14393)

    in my tasksequence I use the "Run Powershell Script" task, and for testing i use a powershell script that only should echo a text to the screen. No fancy stuff.
    The Powershell Script filled in is only the filename.ps1 so no errors in the file location.

    In my Windows PE (x86 AND x64) I have the features :
    - DISM Cmdlets
    - Microsoft Data Access Components support
    - .Net Framework
    - Secure Boot Cmdlets
    - Storage Management Cmdlets

    What am I missing?

    • Moved by Dave PatrickMVP Monday, November 9, 2020 1:24 PM looking for forum
    Monday, November 9, 2020 11:53 AM

Answers