Hello,
Upgrade your operating system to Windows Server 2022 before installing Exchange Server 2019. This is consistent with Microsoft's Exchange Server 2016 Product Lifecycle Guidelines and is a supported approach.
However, before proceeding with the upgrade, it is important to ensure that your environment meets the minimum requirements for Windows Server 2022 and Exchange Server 2019. You should also perform a thorough backup of your current environment to ensure you can recover if any issues arise during the upgrade. For more information you can refer to: https://learn.microsoft.com/en-us/windows-server/get-started/upgrade-overview https://learn.microsoft.com/en-us/exchange/plan-and-deploy/supportability-matrix?view=exchserver-2019
If the answer is helpful, 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.