PENDINGCCMExec, smstsmgr, CmRcService services disabled during W10 IPU and not reenabled

C
5
0
1
Hello, new here!

我们有一个任务序列OSUpgrad配置ePack to take W10 clients to 22H2, this works fine in terms of the upgrade. However once the upgrade is complete the following services are disabled and do not automatically restart:

CCMExec
TSManager
CmRcService

See below a snip from the clients SMSTS.log showing the client exiting provisioning mode and disabling the services, at no other point in the log are the services referenced, I would expect to see them 'Renenabled'
1687518494229.png

Any ideas please?
OP
C
5
0
1
  • Thread Starter
  • #5
So I think we have a fix for this, I have tested successfully on a couple of devices today by adding in a task in the post processing step of the Task Sequence to run a PowerShell script to restart the services. The Smsts.log shows the script being called as part of the TS but does not show the services being reenabled, however they were running on the devices after the upgrade. the PS is:

Set-Service -Name CmRcService -StartupType Automatic
Set-Service -Name ccmexec -StartupType Automatic
Set-Service -Name smstsmgr -StartupType Manual

@Danathis may work for you as well?
D

dana.corson

Member
10
0
1
So I think we have a fix for this, I have tested successfully on a couple of devices today by adding in a task in the post processing step of the Task Sequence to run a PowerShell script to restart the services. The Smsts.log shows the script being called as part of the TS but does not show the services being reenabled, however they were running on the devices after the upgrade. the PS is:

Set-Service -Name CmRcService -StartupType Automatic
Set-Service -Name ccmexec -StartupType Automatic
Set-Service -Name smstsmgr -StartupType Manual

@Danathis may work for you as well?
Thanks Chris, I'll give this a try.
D

dana.corson

Member
10
0
1
Thanks Chris, I'll give this a try.
After adding the powershell to restart the services to my task sequence it worked for two test computers successfully, the 3rd PC didn't resume after the reboot. The services were disabled and in the registry the PC was left in provisioning mode. Not sure why it works for some & others it doesn't.

Here's what the log shows:

Screenshot 2023-06-30 105714.png

Screenshot 2023-06-30 105940.png
OP
C
5
0
1
  • Thread Starter
  • #8
After adding the powershell to restart the services to my task sequence it worked for two test computers successfully, the 3rd PC didn't resume after the reboot. The services were disabled and in the registry the PC was left in provisioning mode. Not sure why it works for some & others it doesn't.

Here's what the log shows:

View attachment 5382

View attachment 5383
Hey Dana,

How is your TS set up? at what point is the script called?
I have the PS script in the post processing section of the TS, if this is the case for you then do you see the script being called in the smsts.log for the device that failed to start services?
D

dana.corson

Member
10
0
1
Hey Dana,

How is your TS set up? at what point is the script called?
I have the PS script in the post processing section of the TS, if this is the case for you then do you see the script being called in the smsts.log for the device that failed to start services?
Hi Chris,

I'm going to test a few more to see if I have the same issues. I do have the PS Script in the post processing section of the TS. I just went back and reviewed the logs on 1 of them and I think the user restarted the PC during the upgrade. I appreciate all your help and getting back to me.
D

dana.corson

Member
10
0
1
Hi Chris,

I'm going to test a few more to see if I have the same issues. I do have the PS Script in the post processing section of the TS. I just went back and reviewed the logs on 1 of them and I think the user restarted the PC during the upgrade. I appreciate all your help and getting back to me.
Ran the TS on my test VM successfully, I can see it run the PS to restart services successfully. I ran the TS on a production PC and after the reboot services were disabled and TS didn't continue with the post processing steps. The only thing that changed was after the reboot the IP address did change. I've manually restarted the TSManager service and the upgrade started again with the same results.
OP
C
5
0
1
  • Thread Starter
  • #11
Ran the TS on my test VM successfully, I can see it run the PS to restart services successfully. I ran the TS on a production PC and after the reboot services were disabled and TS didn't continue with the post processing steps. The only thing that changed was after the reboot the IP address did change. I've manually restarted the TSManager service and the upgrade started again with the same results.
Can you post your TS?
lord_arokh

lord_arokh

New Member
1
0
1
Hi There,

We have the exact same issue in our customer environment.
We are performing IPU to W11 2209 from W10 2109. We saw exact same behavior that, after performing "Upgrade Operating system" step, a restart takes place. After that restart task sequence agent no longer continue to work.
We tried a similar way to restart smstsmgr service. However, we observed that although the task sequence completes till the end, there are no status messages sent back to site. As we don't know what other side effects that this state brings, we did NOT want to take any risk to use our task sequence.

We opened a case at Microsoft, 3 or 4 weeks back. The week before last week, it has been confirmed to us that this is a bug with the product. It seems that the exit code of Upgrade Operating system is not interpreted correctly. Here is the feedback that we received:
The exit code for the restart is not an accepted code for a Task Sequence continuation - so we wipe the Task Sequence startup key and boot into the OS normally.

We are still waiting for a solution.

Forum statistics

Threads
5,768
Messages
22,485
Members
12,656
Latest member
roto