For the system requirements see this page: https://docs.mendix.com/refguide/system-requirements/
I would not recommend you use W2K8-R2. This version is EOL:
As you know, this could imply a security issue as no patches are released. W2K12 will be EOL (Extended Support) on October 10th 2023. Extended Security updates are available until 2026.
https://docs.mendix.com/refguide/system-requirements/#7-server (Like Erwin refers to) mentions Windows 2008 R2 and above. If the system is there to stay, install W2K16.
Please accept Erwin's answer as mine is just the same, but more detailed. He is an MVP and he appreciates if you accept his.
As additional information, the Windows version must be at least Windows 10. don't forget it.