Hello
Thank you for posting in Q&A forum.
as it can cause compatibility issues, performance degradation, and potential data loss.
A: In my opinion, if there is not any role or feature installed on your Windows server, now it just depends on the installed software/drivers/anti-virus etc (if you have) if they will work. You can perform in-place upgrade from lower OS to higher OS, I think the risk is low in this case (please back up the OS and important data before you make changes).
If you have installed one or more roles and features on the Windows server, we recommend you had better migrate to a higher Windows server OS.
Overview of Windows Server upgrades
https://learn.microsoft.com/en-us/windows-server/get-started/upgrade-overview
Here is a similar thread for your reference.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.