This guide builds a Windows Server virtual machine with the settings that suit a domain controller or member server: Generation 2, fixed memory, no checkpoints.
A server VM that is safe to run as a domain controller or member server.
Default VM settings such as checkpoints and dynamic memory cause trouble for domain controllers.
Create a Generation 2 VM, fix its memory, turn off checkpoints and time sync, then install Windows Server.
Every name, address and value in this guide is an example. Replace them with your own.
What you will have at the end
| Setting | Value |
|---|---|
| Name | CON-DC-01, in its own folder with a disk of the same name |
| Generation | 2, with Secure Boot on |
| Processors and memory | 2 processors, 4 GB fixed |
| Disk | 60 GB |
| Network | Switch CON-LAN |
Naming
Use one name for the VM, its folder and its disk file, in the pattern CON-<role>-<number>. Give Windows the same computer name. Anyone looking at the host's disk can then tell which files belong to which server.
The route
Create the switch first. See Create virtual switches.


