question

SCCMSQL-4291 avatar image
0 Votes"
SCCMSQL-4291 asked saldana-msft edited

SCCM OSD Task Sequence deployment stuck after the first reboot

SCCM OSD Task Sequence deployment getting stuck after the 1st reboot after SCCM client installation step. It resumes the installation after a day automatically without any intervention. This behavior is observed on all hardware models. After it resumes the imaging, no issues observed after that, it just images fine.

Boot type: PXE Boot

SCCM Version: 2103
Windows 10 21H1

Using the Install.wim (without any customization) from the ISO. Experienced the same behavior even on Windows 10 20H2. MP/DP are in CET Time Zone and BIOS time of Laptop on which the OS is getting applied is also set to CET.

Deployment monitoring:(got stuck at 1:42PM and automatically resumed next day)
116312-monitoring.png


SMSTS.log
116218-smsts.png


CCMSetup.log
116325-ccmsetup.png


Event Viewer:
116295-event-vwr.png


Windows\Panther\SetupAct
116240-setupact.png


C:\Windows\Panther\UnattendGC\SetupAct
116296-setupact-unattendedgc.png


SetupErr.log
116313-setuperror.png



mem-cm-generalmem-cm-osd
monitoring.png (37.6 KiB)
smsts.png (32.7 KiB)
ccmsetup.png (56.2 KiB)
event-vwr.png (42.7 KiB)
setupact.png (41.7 KiB)
setuperror.png (3.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RahulJindal-2267 avatar image
0 Votes"
RahulJindal-2267 answered Treeman-6177 published

Try the following -

  1. Use a custom client package instead of using the default one.

  2. Add a reboot right after the installation of the ConfigMgr agent.

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you @RahulJindal-2267. I will try and share the feedback here.

Could you please help me with links for custom SCCM client package for Task sequence, if you have?

0 Votes 0 ·

I don’t have a link, but just take the source bits from the default package and create a standard legacy package with no program. Use the ccmsetup.exe OSD specific switches and you should be good. First try with adding the reboot after the installation of the agent. Using a custom client package is only good as long as you can keep it updated and normally it should not be required.

0 Votes 0 ·

Update:

I added a reboot right after the default SCCM package step, the laptop still got stuck after the reboot.

I will try with custom SCCM client package with restart step after it.

Interestingly, this happens only on new dell models, however the old models are imaging just fine with default
sccm client package (without reboot step after setup config manager step).

0 Votes 0 ·
Show more comments
GaryBlok avatar image
0 Votes"
GaryBlok answered SCCMSQL-4291 commented

It is very interesting that your machine hangs on that SetupComplete.cmd

But I'd agree with @RahulJindal-2267, start with adding a restart as your first change, hopefully that's enough.
116366-image.png



image.png (282.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Tried adding restart after sccm client install step, did not help. Also, added the latest WinPE drivers in our bootimage and tried a fresh image. After Configuration manager performs a reboot, laptop will be showing up nothing but a blank (black screen), when some key is pressed, it shows "configuring configuration manager". Without any key being pressed, laptop stays in that black screen for nearly a day and continues imaging on its own.




0 Votes 0 ·
ColinFord-6663 avatar image
0 Votes"
ColinFord-6663 answered SCCMSQL-4291 commented

Also interesting that the AD LDAP query takes a while during the CM client installation. As a test, try to add a specific management point into the CM client command line arguments using parameter SMSMP.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the suggestion @ColinFord-6663.
We already have that parameter added in our Setup config manager step.

Also, this issue happens only on certain new dell models not all the models.

0 Votes 0 ·
HanyunZhu-MSFT avatar image
0 Votes"
HanyunZhu-MSFT answered SCCMSQL-4291 edited

Hi @SCCMSQL-4291, Hope things are going well.

It seems that you have tried the methods that provided by Colin. Are there any results? Is the problem solved?
Your updates may help others who have the similar issue.
If you need any further assistance, feel free to let us know.

And as you mentioned that the issue happens only on some Dell models. There's another recommendation that we contact Dell support to see if they have some comments about this.

Thanks for your time!


If the response is helpful, please click "Accept Answer"and upvote it.
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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the advice @HanyunZhu-MSFT

Like I mentioned in my comments to Colin, we already have SMSMP parameter setup in our sccm client installation step. However, that does not help.

Also, I kinda feel, that the issue here does not have anything do with sccm, coz the every single time I image an old dell model, the image works just fine. However, it is getting stuck after sccm client reboot every time I image a new model (Dell Latitude 5320, 5310, 5510, 5500, 5520. However the old models like 7380 and 5580 are imaging just fine without getting stuck)

Note: Image stuck, meaning, the laptop will just show a blank screen (black) and if any key is pressed, the image will resume immediately, else it will resume on its own after 25hrs.

I tried importing newer WinPE drivers as well, does not help.

from the SMSTS.log of newer model (where the image is getting stuck), I see few entries which I dont see in working models.

After the sccm client installation exits with 0 ( on the laptops where the image is stuck), I see these time related entries.

118557-not-working-1.jpeg


Whereas on the older laptops, where the image is working fine, I dont see them
118535-working-1.jpeg


0 Votes 0 ·
not-working-1.jpeg (395.7 KiB)
working-1.jpeg (411.1 KiB)
RahulJindal-2267 avatar image
0 Votes"
RahulJindal-2267 answered

Are the models in question being imaged using an external ethernet adapter or are they docked?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.