locked
MDT 2013 Lose connection to Deployment Share after Teaming and IP set on Windows 2016 Server RRS feed

  • Question

  • Hi Just hoping somebody can help me. I have searched around but cannot find any answer.

    I have a MDT Task sequence to build a Windows 2016 Server which goes through installing the OS and all the Apps. >net, Java NTP etc but as soon as the PowerShell script runs to set the Windows network teaming and IP the connection to the Deployment Share is lost and I end up with a blank Wizard screen and the rest of the tasks fail. I have tried putting the teaming task at the beginning of the task sequence and end and get the same problem each time.

    Here is the smsts log which shows the successful IP address and teaming then lots of errors

    The IP and teaming is correct and I can map a drive to the deployment share after but it just loses it during the build which doesn't help.

    [LOG[Successfully completed the action (Setup Teaming and IP Address) with the exit win32 code 0]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="instruction.cxx:855">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="utils.cpp:6496">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Clear local default environment]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:801">
    <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="utils.cpp:1943">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=59]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=59]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:390">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=47]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=47]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:418">
    <![LOG[Save the current environment block]LOG]!><time="09:44:40.777-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:827">
    <![LOG[Set a global environment variable _SMSTSLastActionRetryCount=0]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Start executing an instruction. Instruction name: Restore Groups. Instruction pointer: 59]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="engine.cxx:143">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Restore Groups]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=59]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Set a local default variable RunAsUser]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:694">
    <![LOG[Set a local default variable SMSTSRunCommandLineUserName]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:694">
    <![LOG[Set a local default variable SMSTSRunCommandLineUserPassword]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:694">
    <![LOG[Set a local default variable LoadProfile]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:694">
    <![LOG[Set a global environment variable _SMSTSLogPath=C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Evaluating an AND expression]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsexpreval.cpp:567">
    <![LOG[Evaluating an AND expression]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsexpreval.cpp:567">
    <![LOG[Evaluating a variable condition expression]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsexpreval.cpp:750">
    <![LOG[Expand a string: notEquals]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Expand a string: DoCapture]LOG]!><time="09:44:40.808-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Expand a string: YES]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Evaluating a variable condition expression]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsexpreval.cpp:750">
    <![LOG[Expand a string: notEquals]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Expand a string: DoCapture]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Expand a string: PREPARE]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Evaluating a variable condition expression]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsexpreval.cpp:750">
    <![LOG[Expand a string: notEquals]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Expand a string: DoCapture]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[Expand a string: SYSPREP]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="utility.cpp:790">
    <![LOG[The condition for the action (Restore Groups) is evaluated to be true]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="instruction.cxx:715">
    <![LOG[Expand a string: cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /restore]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:776">
    <![LOG[Expand a string: ]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:776">
    <![LOG[Start executing the command line: cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /restore]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="instruction.cxx:731">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="instruction.cxx:760">
    <![LOG[Expand a string: ]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:776">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /restore]LOG]!><time="09:44:40.824-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="commandline.cpp:828">
    <![LOG[Process completed with exit code 1]LOG]!><time="09:44:40.871-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="commandline.cpp:1124">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:44:40.871-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="instruction.cxx:814">
    <![LOG[Failed to run the action: Restore Groups.
    Incorrect function. (Error: 00000001; Source: Windows)]LOG]!><time="09:44:40.871-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="instruction.cxx:921">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:44:40.871-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="utils.cpp:6496">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=1]LOG]!><time="09:44:40.871-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="09:44:40.871-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:662">
    <![LOG[Clear local default environment]LOG]!><time="09:44:40.871-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="executionenv.cxx:801">
    <![LOG[Let the parent group (State Restore) decides whether to continue execution]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="0" thread="2956" file="instruction.cxx:1033">
    <![LOG[The execution of the group (State Restore) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="instruction.cxx:221">
    <![LOG[Failed to run the last action: Restore Groups. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="engine.cxx:249">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="utils.cpp:6496">
    <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="tsmanager.cpp:1285">
    <![LOG[****************************************************************************]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsmanager.cpp:1313">
    <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="tsmanager.cpp:1314">
    <![LOG[Cleaning Up.]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsmanager.cpp:794">
    <![LOG[Removing Authenticator]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsmanager.cpp:922">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="utils.cpp:2689">
    <![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="ccmfile.cpp:1093">
    <![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="2" thread="2956" file="ccmfile.cpp:1257">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="utils.cpp:7413">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="utils.cpp:7425">
    <![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="09:44:40.886-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="utils.cpp:7554">
    <![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="09:44:40.902-60" date="05-23-2018" component="TSManager" context="" type="2" thread="2956" file="utils.cpp:7638">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="09:44:40.902-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="resolvesource.cpp:517">
    <![LOG[Deleting volume ID file D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="09:44:40.902-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="resolvesource.cpp:517">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="09:44:40.918-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="environmentlib.cpp:960">
    <![LOG[Executing command line: "C:\MININT\Tools\X64\TsProgressUI.exe" /Unregister]LOG]!><time="09:44:40.918-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="commandline.cpp:828">
    <![LOG[==========[ TsProgressUI started in process 5388 ]==========]LOG]!><time="09:44:40.933-60" date="05-23-2018" component="TsProgressUI" context="" type="1" thread="5244" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="09:44:40.933-60" date="05-23-2018" component="TsProgressUI" context="" type="1" thread="5244" file="winmain.cpp:204">
    <![LOG[Shutdown complete.]LOG]!><time="09:44:40.933-60" date="05-23-2018" component="TsProgressUI" context="" type="1" thread="5244" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="commandline.cpp:1124">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="utils.cpp:3263">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="2" thread="2956" file="utils.cpp:842">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="2" thread="2956" file="utils.cpp:873">
    <![LOG[End program: ]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsmanager.cpp:1060">
    <![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="3" thread="2956" file="tsmanager.cpp:1064">
    <![LOG[Sending error status message]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsmanager.cpp:1065">
    <![LOG[In non SMS staqndalone mode.Ignoring SendStatusMessage request]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tsmanager.cpp:1892">
    <![LOG[LOGGING: Setting log directory to "C:\Users\ADMINI~1\AppData\Local\Temp\".]LOG]!><time="09:44:40.949-60" date="05-23-2018" component="TSManager" context="" type="1" thread="2956" file="tslogging.cpp:2180">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="09:44:40.980-60" date="05-23-2018" component="TSMBootstrap" context="" type="1" thread="5004" file="commandline.cpp:1124">
    <![LOG[Exiting with return code 0x80004005]LOG]!><time="09:44:40.980-60" date="05-23-2018" component="TSMBootstrap" context="" type="1" thread="5004" file="tsmbootstrap.cpp:1273">
    <![LOG[Used smsts.ini to set logging settings.]LOG]!><time="09:44:41.058-60" date="05-23-2018" component="TsProgressUI" context="" type="1" thread="4464" file="tslogging.cpp:1457">
    <![LOG[==========[ TsProgressUI started in process 1544 ]==========]LOG]!><time="09:44:41.058-60" date="05-23-2018" component="TsProgressUI" context="" type="1" thread="4464" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="09:44:41.058-60" date="05-23-2018" component="TsProgressUI" context="" type="1" thread="4464" file="winmain.cpp:204">
    <![LOG[Shutdown complete.]LOG]!><time="09:44:41.058-60" date="05-23-2018" component="TsProgressUI" context="" type="1" thread="4464" file="winmain.cpp:512">

    Thank you in advance

    Wednesday, May 23, 2018 9:24 AM