MDT 在应用后清理步骤中失败

MDT 在应用后清理步骤中失败

我有一个任务序列,用于安装自定义映像、标准客户端任务序列等。已在虚拟机中测试并运行良好。

但是,在这里的笔记本电脑上运行它时,它会安装、启动到任务序列并开始运行。但它在应用后清理步骤中失败,之后出现一个空白的 Wizard.hta 窗口,什么也不做。一旦我关闭此窗口,计算机就会自动重新启动,然后结束任务序列。

我的 smsts.log 片段:

Start executing the command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post 
!--------------------------------------------------------------------------------------------!
Expand a string:    TSManager   12/15/2021 11:15:57 PM  936 (0x03A8)
Executing command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post
Process completed with exit code 1
!--------------------------------------------------------------------------------------------!
Failed to run the action: Post-Apply Cleanup. 
Incorrect function. (Error: 00000001; Source: Windows)  
Executing in non SMS standalone mode. Ignoring send a task execution status message request
Set a global environment variable _SMSTSLastActionRetCode=1
Set a global environment variable _SMSTSLastActionName=Post-Apply Cleanup   
Set a global environment variable _SMSTSLastActionSucceeded=false
Clear local default environment
Let the parent group (State Restore) decides whether to continue execution  
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: Post-Apply Cleanup. Execution of task sequence failed.
Incorrect function. (Error: 00000001; Source: Windows)  
Executing in non SMS standalone mode. Ignoring send a task execution status message request
Task Sequence Engine failed! Code: enExecutionFail  
****************************************************************************    
Task sequence execution failed with error code 80004005
Cleaning Up.

因此,它尝试运行应用,失败,然后什么也不做。它无法将日志上传到共享,显示“无效的 SLShare 值\\10.10.1.197\mdt\logs\”,尽管我可以验证这是正确的,并且笔记本电脑在重新启动后有网络连接(在 TS 期间看不到),这也无济于事

为什么会失败Post-Apply cleanup


编辑:我的 BDD.log 片段

ZTIGather processing completed successfully.
Event 41001 sent: ZTIGather processing completed successfully.  
Command completed, return code = -2147467259
Litetouch deployment failed, Return Code = -2147467259  0x80004005  
Event 41014 sent: Litetouch deployment failed, Return Code = -2147467259  0x80004005
For more information, consult the task sequencer log ...\SMSTS.LOG.
Property RetVal is now = -2147467259
Validating connection to \\10.10.1.97\mdt\logs\
Mapping server share: \\10.10.1.97\mdt
Already connected to server 10.10.1.97
An invalid SLShare value of \\10.10.1.97\mdt\logs\ was specified.
CleanStartItems Complete
Unregistering TSCore.dll.
About to run command: wscript.exe "C:\MININT\Scripts\LTICleanup.wsf"

相关内容