MDT Fail to Join Domain - ZTIDomainJoin.wsf Incorrect Function RRS feed

  • Question

  • I've got a large percentage of clients failing to run the Recover from Domain task. All I get in the smsts.log file is:

    Failed to run the action: Recover From Domain.
    Incorrect function. (Error: 00000001; Source: Windows)    TSManager    7/18/2014 10:32:20 AM    3760 (0x0EB0)

    ZTIDomainJoin.log doesn't even exist so I'm assuming the script doesn't run. Users have proper permissions since the same user is able to properly join the domain via MDT on other machines. This problem is sporadic and inconsistent.

    Anybody else have this problem and/or know of a solution?

    Friday, July 18, 2014 7:10 PM

All replies

  • It could be that the script crashed. Did you upgrade the deployment share recently? Can you run the script manually?

    cscript.exe \\MDTServer\DeploymentShare$\Scripts\ZTIDomainJoin.wsf /debug:true /debugcapture


    Keith in the 98118

    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    Friday, July 18, 2014 11:38 PM
  • The deployment has not been updated. We are running MDT 2012 Update 1 with WAIK Supplement for Windows 7 SP1.

    The script works just fine running manually.


    Monday, July 21, 2014 3:50 PM
  • Might require some more analysis, can you post the bdd.log and smsts.log from a failed run to OneDrive?

    Feel free to contact me offline (special help for local non-profits). Kg at keithga dot com

    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    Monday, July 21, 2014 4:59 PM