If you wanted a windows hypervisor without the GUI you could install hyper-v server
https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2016
https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2019
but it's unlikely to make much difference. With 4 gB Ram you can run minimally one guest virtual machine.
--please don't forget to Accept as answer if the reply is helpful--