How to use this box with Vagrant:

Vagrant.configure("2") do |config| = "jborean93/WindowsServer2019"
  config.vm.box_version = "0.6.0"
vagrant init jborean93/WindowsServer2019 \
  --box-version 0.6.0
vagrant up

This version was created 10 months ago.

Packer Windoze - jborean93/WindowsServer2019


This is an image based on the evaluation ISO supplied by Microsoft. It has all the updates available for the host at the time applied and comes ready to be run by Vagrant. When Vagrant starts the box, sysprep will automatically run and create a brand new Windows instance with WinRM up and running.

Details on how to connect are;

  • username: vagrant
  • password: vagrant
  • connector: winrm

Included programs (versions dependent on the Windows version);

Other configurations from the standard image;

  • WinRM HTTP and HTTPS listener with Basic and CredSSP enabled
  • Win32-OpenSSH v7.7.2.0p1-Beta
  • Default Administrator account disabled, password is also vagrant
  • Hidden files and folders and file extensions are shown by default


v0.6.0 - 2019

  • Fix logic when setting the LocalAccountTokenFilterPolicy value when setting up the WinRM listener
  • Added ability to override the base Chocolatey packages that are installed with the image, use the opt_package_setup_packages variable with -e when generating the template to configure
  • Moved away from custom role to install the Win32-OpenSSH components, now using the jborean93.win_openssh role
  • Updated OpenSSH version
  • Installed the virtio-network driver on VirtualBox images

v0.5.0 - 2018-08-08

v0.4.0 - 2018-05-16

  • Create a PS Module called PackerWindoze that stores the Reset-WinRMConfig cmdlet that recreates the WinRM configuration and keep that post sysprep for downstream users to call at any time
  • Added support for the Server 1803 image
  • Install the full sysinternals suite instead of just PsTools, ProcMon, and ProcExp
  • Fixed issue where the WinRM HTTPS firewall rule was not created after sysprep
  • Fixed issue where WinRM still allowed unencrypted data after sysprep

v0.3.0 - 2018-05-10

  • Updated OpenSSH version to v7.6.1.0p1-Beta
  • Set the builtin vagrant account password to never expire
  • Stop using the Ansible ConfigureRemotingForAnsible.ps1 script, swap over to custom script to support SHA256 and simplify steps
  • Added Hyper-V builder support by specifying -e opt_packer_setup_builder=hyperv - This will only run on a Windows with WSL host and doesn't work for Server 2008

v0.2.0 - 2017-12-01

  • Create a custom Vagrantfile template for the final image that includes the username and other required settings
  • Moved sysprep process before the image is created
  • Added slmgr.vbs /rearm to run just after Vagrant starts the image to get the full evaluation period possible
  • Removed SSL certificates that were created during the packer build process
  • Installed Win32-OpenSSH v0.0.23.0 on all images eacept Server 2008
  • Added .travis-ci file to run ansible-lint on the Ansible files for some testing sanity
  • Decided to install the VirtualBox guest additions tools as part fo the build process
  • Added vim to the list of chocolatey packages to help with Core OS installs or connecting via SSH

v0.0.1 - 2017-10-29

  • First images built by this process
2 providers for this version.
  • hyperv Hosted by Vagrant Cloud (4.03 GB)

  • virtualbox Hosted by Vagrant Cloud (4.39 GB)