These should mostly apply in the same way for Windows 10, Windows Server 2016, 20.
And as I keep forgetting these steps myself too, I'm jotting them down here for future reference. Installing most operating systems in a virtual machine is pretty straight-forward these days, but for Windows specifically there are a few recommended settings and steps to get the best out of your virtual machine.