How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "cdaf/WindowsServerDC"
  config.vm.box_version = "2023.03.15"
end
vagrant init cdaf/WindowsServerDC \
  --box-version 2023.03.15
vagrant up

This version was created over 1 year ago.

A pre-built Domain Controller

  • Recommended Updates only

For issues please raise in GitHub https://github.com/cdaf/windows

Configuration:

  • Active Directory
  • DNS server
  • Keystore enabled for Managed Service Accounts

Note: Windows Update Service is disabled

  • Install: Windows Server 2022 Standard Evaluation
  • HDD: 127GB
  • Timezone: New Zealand
  • hostname: DC

VirtualBox

  • VBoxGuestAdditions: 5.2.22
  • virtualbox.linked_clone = true

Hyper-V

  • Generation: 1
  • hyperv.ip_address_timeout = 600
  • hyperv.auto_start_action = 'Start'
  • hyperv.linked_clone = true

Vagrant Box Config for both

  • config.vm.guest = :windows
  • config.vm.communicator = "winrm"
  • config.vm.boot_timeout = 1200 # 20 minutes
  • config.winrm.timeout = 1800 # 30 minutes
  • config.winrm.max_tries = 20
  • config.winrm.retry_limit = 200
  • config.winrm.retry_delay = 10
  • config.vm.graceful_halt_timeout = 600
2 providers for this version.
  • hyperv
    unknown Hosted by Vagrant Cloud (6.78 GB)
  • virtualbox
    unknown Hosted by Vagrant Cloud (6.75 GB)