Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING TS fails software installs randomly

seymourwhyte

New Member
Messages
2
Reaction score
0
Points
1
Guys,
I am at my wits end here, can anyone please tell me what is going on here?
Our TS is failing on the same apps each time, currently failing to install office. Have re-added office fresh, verified install CMD is good, new task sequence, the lot.

From last part of smsts.log

<![LOG[Shutdown complete.]LOG]!><time="16:45:25.984-600" date="03-13-2023" component="TSProgressUI.exe" context="" type="1" thread="1920" file="winmain.cpp:515">
<![LOG[Execution engine result code: Reboot (2)]LOG]!><time="16:45:25.984-600" date="03-13-2023" component="TSManager" context="" type="2" thread="1860" file="tsmanager.cpp:1301">
<![LOG[Process completed with exit code 2147945410]LOG]!><time="16:45:26.000-600" date="03-13-2023" component="TSMBootstrap" context="" type="0" thread="1828" file="CommandLine.cpp:1161">
<![LOG[Task Sequence Manager returned code 0x80070BC2]LOG]!><time="16:45:26.000-600" date="03-13-2023" component="TSMBootstrap" context="" type="1" thread="1828" file="tsmediawizardcontrol.cpp:2303">
<![LOG[Setting reboot required flag.]LOG]!><time="16:45:26.000-600" date="03-13-2023" component="TSMBootstrap" context="" type="0" thread="1828" file="tsmediawizardcontrol.cpp:2308">
<![LOG[ThreadToResolveAndExecuteTaskSequence returned code 0x00000000]LOG]!><time="16:45:26.000-600" date="03-13-2023" component="TSMBootstrap" context="" type="1" thread="1604" file="tsmediaresolveprogresspage.cpp:221">
<![LOG[ResolveProgressPage::OnWizardNext()]LOG]!><time="16:45:26.000-600" date="03-13-2023" component="TSMBootstrap" context="" type="0" thread="1604" file="tsmediaresolveprogresspage.cpp:113">
<![LOG[Activating Finish Page.]LOG]!><time="16:45:26.000-600" date="03-13-2023" component="TSMBootstrap" context="" type="0" thread="1604" file="tsmediafinishpage.cpp:107">
<![LOG[Execution complete.]LOG]!><time="16:45:26.390-600" date="03-13-2023" component="TSBootShell" context="" type="1" thread="1044" file="bootshell.cpp:845">
<![LOG[hMap != 0, HRESULT=80070002 (K:\dbs\sh\cmgm\1125_114522\cmd\t\src\Framework\TSCore\environmentscope.cpp,495)]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="0" thread="1044" file="environmentscope.cpp:495">
<![LOG[m_pGlobalScope->open(), HRESULT=80070002 (K:\dbs\sh\cmgm\1125_114522\cmd\t\src\Framework\TSCore\environmentlib.cpp,335)]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="0" thread="1044" file="environmentlib.cpp:335">
<![LOG[this->open(), HRESULT=80070002 (K:\dbs\sh\cmgm\1125_114522\cmd\t\src\Framework\TSCore\environmentlib.cpp,561)]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="0" thread="1044" file="environmentlib.cpp:561">
<![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (K:\dbs\sh\cmgm\1125_114522\cmd\t\src\Framework\TSCore\utils.cpp,691)]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="0" thread="1044" file="utils.cpp:691">
<![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="2" thread="1044" file="utils.cpp:691">
<![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="2" thread="1044" file="utils.cpp:722">
<![LOG[End program: ]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="1" thread="1044" file="bootshell.cpp:877">
<![LOG[Finalizing logging from process 364]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="1" thread="1044" file="tslogging.cpp:2107">
<![LOG[Finalizing logs to root of first available drive]LOG]!><time="16:45:26.406-600" date="03-13-2023" component="TSBootShell" context="" type="1" thread="1044" file="tslogging.cpp:1949">
<![LOG[Successfully finalized logs to C:\SMSTSLog]LOG]!><time="16:45:26.419-600" date="03-13-2023" component="TSBootShell" context="" type="1" thread="1044" file="tslogging.cpp:2006">
<![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="16:45:26.419-600" date="03-13-2023" component="TSBootShell" context="" type="0" thread="1044" file="tslogging.cpp:904">
<![LOG[TS::Environment::SharedEnvironment.isInitialized() == true, HRESULT=80004005 (K:\dbs\sh\cmgm\1125_114522\cmd\t\src\Framework\TSCore\tslogging.cpp,694)]LOG]!><time="16:45:26.419-600" date="03-13-2023" component="TSBootShell" context="" type="0" thread="1044" file="tslogging.cpp:694">
<![LOG[TS environment is not initialized]LOG]!><time="16:45:26.419-600" date="03-13-2023" component="TSBootShell" context="" type="3" thread="1044" file="tslogging.cpp:694">Screenshot 2023-03-13 181040.jpg
 
Last edited:
Could you please check that the highlighted settings given below are enabled in the package?
1678709742161.png

Change it to,

1678710063456.png
 
Do you see any error in installation log file?

If there is no problem with the installation log file but an error occurs only on the Task sequence log file, then try installing the application remotely using the psexec command line (Example: psexec.exe \\PC "<MSI\exe> Silent parameter") and see if you can be able to install the application. (if yes, it is compatible with task sequence installation; otherwise, we must modify the code to make it fully quiet WITHOUT USERPROFILE.)

Note: While remotely installing the application, the computer should be on the CTRL+ALT+DEL login screen.
1678785971307.png
 
We are facing an issue with osd template Latitude 5540 we can't deploy our 22h2 task sequence,
The boot pxe works, the wim loads, but when we get to the FDT page which lists the available task sequences we get nothing but a blank page, then after a few minutes the PC reboots.
We have no problem deploying other pcs such as latitudes 5420 or optiplex 7010.

Unable to download PXE variable file. Exit code=14. Will retry after 15 sec ... TSPxe 15-01-2024 11:02:14 AM 1928 (0x0788)
Unable to download PXE variable file. Exit code=14. Will retry after 15 sec ... TSPxe 15-01-2024 11:01:59 AM 1928 (0x0788)

Task Sequence environment is not initialized TSMBootstrap 04-04-2024 11:21:35 AM 7932 (0x1EFC)
Failed to set TS logging read from TS environment TSMBootstrap 04-04-2024 11:21:35 AM 7932 (0x1EFC)
 

Forum statistics

Threads
7,201
Messages
28,098
Members
18,372
Latest member
Jelsantos

Trending content

Back
Top