Hi,
Thank you for posting in Microsoft Q&A forum.
Yes, it's recommended to stop certain services, specifically the SMS and SQL services, before proceeding with the OS upgrade on the Primary Site Server or CAS. This is to ensure that there are no conflicts or issues with the services during the upgrade process.
For more detailed steps, you can refer to this:
SCCM Server In-place OS Upgrade to Server 2022 Guide
Thanks for your time. Have a nice day!
Best regards,
Simon
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.