Task Sequence Stuck - Enablement Package

Raman Katoch 46 Reputation points
2022-02-16T00:07:04.167+00:00

Hi All,

I am trying to upgrade Windows 10 20H2 machines to 21H2 using the enablement package technique but a mandatory KB article is missing on machines. I am trying to install the patch on the machines using DISM command line from a package source using a task sequence. After the installation of the patch, it requires a reboot. I had the next step in my task sequence to reboot the machine, but the task sequence stuck and never perform the reboot.

Is there any other way we can force the reboot post-patch installation?

I tried various methods available in the task sequence, including PowerShell to force the reboot but no go. Is there any step you guys feel I should try to make it automated?

Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. Amandayou-MSFT 11,141 Reputation points
    2022-02-21T07:21:20.22+00:00

    Hi,

    Thanks for your update.

    If we have to install a CAB package in a silent mode with a later restart, use the following DISM command:
    start /wait DISM.exe /Online /Add-Package /PackagePath: c:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab /Quiet /NoRestart

    Here is the article about dism command, refer to it:
    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-global-options-for-command-line-syntax?view=windows-10

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Raman Katoch 46 Reputation points
    2022-02-16T00:08:20.843+00:00

    174586-enablement-package-issue.jpg

    0 comments No comments

  2. Amandayou-MSFT 11,141 Reputation points
    2022-02-16T08:19:49.123+00:00

    Hi,

    If we use DISM command line, we should choose to restart the computer to promise the update process is finished.

    174845-2164.png

    To be easier, we could use schedule update in Operating system image, it can avoid this issue.

    174720-2162.png

    Here is the related article, refer to it:
    https://learn.microsoft.com/en-us/mem/configmgr/osd/get-started/manage-operating-system-images#servicing-process


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Raman Katoch 46 Reputation points
    2022-02-19T04:56:43.42+00:00

    Hello Amandayou-MSFT,

    Thanks for the reply, but it did not answer my question. All I want is to perform the reboot automatically after CU installation. It should not ask for the input, instead, it performs re-boot automatically. Please let me know if that is possible.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.