none
PPKG installation stuck while deploying through a Task Sequence RRS feed

  • Question

  • Hi All,

    I have a provisioning package created that installs some features silently on the Windows 10 Enterprise devices. For the installation of the PPKG, I am using a Task Sequence which Includes just two steps: the first step has to make a registry entry on the devices which is successful. On the second step, when the PPKG is to be installed, the TS is stuck and is making no progress after sometime.

    How do I find a resolution to that?

    Thanks in Advance.

    Sunday, May 24, 2020 7:44 AM

All replies

  • does the ppkg works when you run manually on the device (same as what you do in task sequence)? what does smsts.log says?

    Eswar Koneti | Configmgr Blog: http://www.eskonr.com | Linkedin: eskonr | Twitter: @eskonr

    Sunday, May 24, 2020 1:46 PM
  • While running the ppkg Manually, I use a command line instruction: cmd /c "E:\Documents\PPKG\NCWVDppkgV1.ppkg". This works fine.

    But for the Task Sequence steps, it is failing. 

    <![LOG[Installation failed with error (0x80070103)]LOG]!><time="15:41:02.185-330" date="05-24-2020" component="InstallSoftware" context="" type="3" thread="11220" file="installsoftware.cpp:970">
    <![LOG[Setting TSEnv variable 'SMSTSInstallSoftwareJobID_NC1000E1_NC1200DA_NCWVDppkgV1'='']LOG]!><time="15:41:02.185-330" date="05-24-2020" component="InstallSoftware" context="" type="1" thread="11220" file="installsoftware.cpp:52">
    <![LOG[GetExecRequestMgrInterface successful]LOG]!><time="15:41:02.187-330" date="05-24-2020" component="InstallSoftware" context="" type="0" thread="11220" file="installsoftware.cpp:187">
    <![LOG[Releasing job request, jobID='{AD9C5CC0-3DBF-40FB-8AD4-31798EB2FF09}']LOG]!><time="15:41:02.187-330" date="05-24-2020" component="InstallSoftware" context="" type="0" thread="11220" file="installsoftware.cpp:339">
    <![LOG[Releasing of Job Request successful]LOG]!><time="15:41:02.195-330" date="05-24-2020" component="InstallSoftware" context="" type="1" thread="11220" file="installsoftware.cpp:348">
    <![LOG[CompleteJob successful]LOG]!><time="15:41:02.195-330" date="05-24-2020" component="InstallSoftware" context="" type="1" thread="11220" file="installsoftware.cpp:1000">
    <![LOG[ReleaseSource() for E:\_SMSTaskSequence\Packages\NC1000E1.]LOG]!><time="15:41:02.195-330" date="05-24-2020" component="InstallSoftware" context="" type="1" thread="11220" file="resolvesource.cpp:4488">
    <![LOG[reference count 1 for the source E:\_SMSTaskSequence\Packages\NC1000E1 before releasing]LOG]!><time="15:41:02.195-330" date="05-24-2020" component="InstallSoftware" context="" type="1" thread="11220" file="resolvesource.cpp:4498">
    <![LOG[Released the resolved source E:\_SMSTaskSequence\Packages\NC1000E1]LOG]!><time="15:41:02.195-330" date="05-24-2020" component="InstallSoftware" context="" type="1" thread="11220" file="resolvesource.cpp:4536">
    <![LOG[pInstall->Install(sPackageID, sProgramName), HRESULT=80070103 (main.cpp,383)]LOG]!><time="15:41:02.195-330" date="05-24-2020" component="InstallSoftware" context="" type="0" thread="11220" file="main.cpp:383">
    <![LOG[Install Software failed, hr=0x80070103]LOG]!><time="15:41:02.195-330" date="05-24-2020" component="InstallSoftware" context="" type="3" thread="11220" file="main.cpp:383">
    <![LOG[Process completed with exit code 2147942659]LOG]!><time="15:41:02.211-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="CommandLine.cpp:1136">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="15:41:02.273-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="instruction.cxx:809">
    <![LOG[Failed to run the action: Provisioning Package Package. Error -2147024637]LOG]!><time="15:41:02.274-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="instruction.cxx:915">
    <![LOG[Not in SSL.]LOG]!><time="15:41:02.425-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="libsmsmessaging.cpp:10266">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=-2147024637]LOG]!><time="15:41:03.299-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="executionenv.cxx:597">
    <![LOG[Set a global environment variable _SMSTSLastActionName=Provisioning Package Package]LOG]!><time="15:41:03.301-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="executionenv.cxx:597">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="15:41:03.302-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="executionenv.cxx:597">
    <![LOG[Clear local default environment]LOG]!><time="15:41:03.303-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="executionenv.cxx:755">
    <![LOG[Let the parent group (Apply Provisioning Package) decides whether to continue execution]LOG]!><time="15:41:03.315-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="instruction.cxx:1023">
    <![LOG[The execution of the group (Apply Provisioning Package) has failed and the execution has been aborted. An action failed. Error 0x80004004]LOG]!><time="15:41:03.316-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="instruction.cxx:224">
    <![LOG[Failed to run the last action: Provisioning Package Package. Result -2147024637. Execution of task sequence failed.]LOG]!><time="15:41:03.317-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="engine.cxx:743">
    <![LOG[Not in SSL.]LOG]!><time="15:41:03.428-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="libsmsmessaging.cpp:10266">
    <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="15:52:38.959-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="tsmanager.cpp:1292">
    <![LOG[****************************************************************************]LOG]!><time="15:52:38.960-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="tsmanager.cpp:1320">
    <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="15:52:38.960-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="tsmanager.cpp:1321">
    <![LOG[Cleaning Up.]LOG]!><time="15:52:38.964-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="tsmanager.cpp:805">
    <![LOG[Removing Authenticator]LOG]!><time="15:52:38.964-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="tsmanager.cpp:933">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="15:52:39.112-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="utils.cpp:3057">
    <![LOG[Unable to delete directory E:\_SMSTaskSequence\Packages\NC1000E1 (0x80070020).  Continuing.]LOG]!><time="15:52:39.262-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="CcmFile.cpp:1329">
    <![LOG[Unable to delete directory E:\_SMSTaskSequence\Packages (0x80070091).  Continuing.]LOG]!><time="15:52:39.295-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="CcmFile.cpp:1329">
    <![LOG[Unable to delete file \\?\E:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="15:52:39.296-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="CcmFile.cpp:1367">
    <![LOG[Failed to delete directory 'E:\_SMSTaskSequence']LOG]!><time="15:52:39.303-330" date="05-24-2020" component="TSManager" context="" type="2" thread="17656" file="CcmFile.cpp:1532">
    <![LOG[RemoveDirectoryW failed (0x80070020) for E:\_SMSTaskSequence\Packages\NC1000E1]LOG]!><time="15:52:39.305-330" date="05-24-2020" component="TSManager" context="" type="2" thread="17656" file="utils.cpp:8401">
    <![LOG[RemoveDirectoryW failed (0x80070091) for E:\_SMSTaskSequence\Packages]LOG]!><time="15:52:39.306-330" date="05-24-2020" component="TSManager" context="" type="2" thread="17656" file="utils.cpp:8401">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="15:52:39.306-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="utils.cpp:8176">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="15:52:39.307-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="utils.cpp:8188">
    <![LOG[RemoveFile() failed for E:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="15:52:39.307-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="utils.cpp:8317">
    <![LOG[RemoveDirectoryW failed (0x80070091) for E:\_SMSTaskSequence]LOG]!><time="15:52:39.308-330" date="05-24-2020" component="TSManager" context="" type="2" thread="17656" file="utils.cpp:8401">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="15:52:39.309-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="resolvesource.cpp:518">
    <![LOG[Deleting volume ID file E:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="15:52:39.309-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="resolvesource.cpp:518">
    <![LOG[Deleting volume ID file F:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="15:52:39.310-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="resolvesource.cpp:518">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="15:52:39.358-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="environmentlib.cpp:960">
    <![LOG[Executing command line: "C:\Windows\CCM\TsProgressUI.exe" /Unregister with options (0, 0)]LOG]!><time="15:52:39.373-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="CommandLine.cpp:822">
    <![LOG[==========[ TsProgressUI started in process 22524 ]==========]LOG]!><time="15:52:39.494-330" date="05-24-2020" component="TsProgressUI" context="" type="1" thread="17764" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="15:52:39.496-330" date="05-24-2020" component="TsProgressUI" context="" type="1" thread="17764" file="winmain.cpp:204">
    <![LOG[Shutdown complete.]LOG]!><time="15:52:39.541-330" date="05-24-2020" component="TsProgressUI" context="" type="1" thread="17764" file="winmain.cpp:515">
    <![LOG[Process completed with exit code 0]LOG]!><time="15:52:39.547-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="CommandLine.cpp:1136">
    <![LOG[Successfully unregistered Task Sequence Progress UI.]LOG]!><time="15:52:39.547-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="utils.cpp:3631">
    <![LOG[Start to cleanup Task Sequence policy]LOG]!><time="15:52:40.123-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="utils.cpp:4519">
    <![LOG[End Task Sequence policy cleanup]LOG]!><time="15:52:40.176-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="utils.cpp:4566">
    <![LOG[Policy namespace evaluation for user 'S-1-5-21-3954717612-248765075-3196029881-11742' is randomized to 42 minutes later, or when new policies arrived.]LOG]!><time="15:52:40.222-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="PolicyNamespaceCache.cpp:1530">
    <![LOG[Policy namespace evaluation for user 'S-1-5-21-3954717612-248765075-3196029881-11195' is randomized to 71 minutes later, or when new policies arrived.]LOG]!><time="15:52:40.233-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="PolicyNamespaceCache.cpp:1530">
    <![LOG[Policy namespace evaluation for user 'S-1-5-21-3954717612-248765075-3196029881-1198' is randomized to 79 minutes later, or when new policies arrived.]LOG]!><time="15:52:40.247-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="PolicyNamespaceCache.cpp:1530">
    <![LOG[Policy namespace evaluation for user 'S-1-5-21-3954717612-248765075-3196029881-21614' is randomized to 40 minutes later, or when new policies arrived.]LOG]!><time="15:52:40.272-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="PolicyNamespaceCache.cpp:1530">
    <![LOG[IsTerminalServer: 0, IsSingleUserTS: 1]LOG]!><time="15:52:40.323-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="util.cpp:2509">
    <![LOG[User policy is enabled]LOG]!><time="15:52:40.323-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="globals.cpp:382">
    <![LOG[Start to evaluate TS policy with lock]LOG]!><time="15:52:40.323-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="PolicySetup.cpp:549">
    <![LOG[Updating settings for machine. Update flags 0xb]LOG]!><time="15:52:40.324-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="policyutil.cpp:6556">
    <![LOG[Locked machine reqeusted config successfully]LOG]!><time="15:52:40.444-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:5969">
    <![LOG[Unlocked machine requested config successfully]LOG]!><time="15:52:40.646-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:6034">
    <![LOG[Updating policy instances for user 'S-1-5-18'. Total RequestedConfig policy instance(s) : 1547]LOG]!><time="15:52:40.647-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="policyutil.cpp:6301">
    <![LOG[New/Changed ActualConfig policy instance(s) : 6]LOG]!><time="15:52:41.870-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="policyutil.cpp:6399">
    <![LOG[[1] Added/updated setting 'ccm_softwaredistribution.adv_advertisementid="nc1200da",pkg_packageid="nc1000e1",prg_programid="ncwvdppkgv1"'.]LOG]!><time="15:52:41.873-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:6435">
    <![LOG[[2] Added/updated setting 'inventorydataitem.dataitemid="{4a70f352-43bb-4fae-8c84-8a0963ed6305}",itemclass="win32reg_smsguestvirtualmachine64",namespace="\\.\root\cimv2"'.]LOG]!><time="15:52:41.874-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:6435">
    <![LOG[[3] Added/updated setting 'inventorydataitem.dataitemid="{557fb48a-60f2-492d-94a3-1a02fee7d85f}",itemclass="win32reg_smsguestvirtualmachine",namespace="\\.\root\cimv2"'.]LOG]!><time="15:52:41.876-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:6435">
    <![LOG[[4] Added/updated setting 'inventorydataitem.dataitemid="{80ab2d96-9be0-471f-83d4-2d1e1d04e4f2}",itemclass="filesystemfile",namespace="\\.\root\ccm\invagt"'.]LOG]!><time="15:52:41.878-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:6435">
    <![LOG[[5] Added/updated setting 'inventorydataitem.dataitemid="{86474d5f-d409-49ff-b91f-2e2a3b0116fc}",itemclass="win32reg_addremoveprograms",namespace="\\localhost\root\cimv2"'.]LOG]!><time="15:52:41.880-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:6435">
    <![LOG[[6] Added/updated setting 'inventorydataitem.dataitemid="{b709e595-db19-470f-beca-ee930e4c1d43}",itemclass="win32reg_addremoveprograms64",namespace="\\localhost\root\cimv2"'.]LOG]!><time="15:52:41.881-330" date="05-24-2020" component="TSManager" context="" type="0" thread="17656" file="policyutil.cpp:6435">
    <![LOG[[PolicyUpdate] Updated namespace '\\.\ROOT\ccm\policy\Machine\RequestedConfig' successfully]LOG]!><time="15:52:41.882-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="policyutil.cpp:6447">
    <![LOG[End TS policy evaluation]LOG]!><time="15:52:41.883-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="PolicySetup.cpp:551">
    <![LOG[Policy evaluation initiated]LOG]!><time="15:52:41.921-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="utils.cpp:5126">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="15:52:41.945-330" date="05-24-2020" component="TSManager" context="" type="2" thread="17656" file="utils.cpp:1104">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="15:52:41.945-330" date="05-24-2020" component="TSManager" context="" type="2" thread="17656" file="utils.cpp:1135">
    <![LOG[End program: ]LOG]!><time="15:52:41.945-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="tsmanager.cpp:536">
    <![LOG[Error executing Task Sequence Manager service. Code 0x80004005]LOG]!><time="15:52:41.946-330" date="05-24-2020" component="TSManager" context="" type="3" thread="17656" file="tsmanager.cpp:540">
    <![LOG[Sending error status message]LOG]!><time="15:52:41.946-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="tsmanager.cpp:543">
    <![LOG[Not in SSL.]LOG]!><time="15:52:42.188-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="libsmsmessaging.cpp:10266">
    <![LOG[Successfully finalized logs to SMS client log directory from C:\Windows\CCM\Logs]LOG]!><time="15:52:43.709-330" date="05-24-2020" component="TSManager" context="" type="1" thread="17656" file="tslogging.cpp:1911">

    Sunday, May 24, 2020 6:01 PM
  • Why not just use DISM to add the features?

    Jason | https://home.configmgrftw.com | @jasonsandys

    Sunday, May 24, 2020 6:09 PM
  • I tried DISM to add the Provisioning Package, but it just extracted the files and left them as it is. It didnot add any features to the devices.

    Is there any other way that could be followed to achieve this?

    Monday, May 25, 2020 3:51 AM
  • Hi,

    As far as I know, the best place to check or troubleshoot PPKG deployment is Event Viewer. You can see the PPKG-related events in the "Provisioning-Diagnostics-provider" section of the Event Viewer.
    Do you use "Run Command Line" task sequence steps to run the package and run it in 64-bit mode? I also hope this blog post is helpful to you:
    Deploy Provisioning Package Silently Via MDT | Intune | SCCM


    Best regards,
    Larry

    Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, May 25, 2020 7:49 AM
  • No, simply use DISM directly to enable the features. Why use a provisioning package for this at all?

    Jason | https://home.configmgrftw.com | @jasonsandys

    Monday, May 25, 2020 4:18 PM
  • did you follow this to install the ppkg package using task sequence? https://docs.microsoft.com/en-us/archive/blogs/beanexpert/apply-a-provisioning-package-from-a-sccm-task-sequence

    Eswar Koneti | Configmgr Blog: http://www.eskonr.com | Linkedin: eskonr | Twitter: @eskonr

    Wednesday, May 27, 2020 1:24 PM
  • Hi,


    How are things going? I just checked in to see if there are any updates. Please feel free to feedback and if the above reply is helpful, please kindly click “Mark as answer”. It would make the reply to the top and easier to be found for other people who has the similar question.

    If there is any other assistance we can provide, please feel free to let us know, we will do our best to help you.

    Thank you!


    Best regards,
    Larry

    Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, May 28, 2020 8:12 AM