diff --git a/Packer/windows_x64/answer_files/2008_r2/Autounattend.xml b/Packer/windows_x64/answer_files/2008_r2/Autounattend.xml
new file mode 100644
index 0000000..15494b4
--- /dev/null
+++ b/Packer/windows_x64/answer_files/2008_r2/Autounattend.xml
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+ 1
+ Primary
+ true
+
+
+
+
+ false
+ NTFS
+ C
+ 1
+ 1
+
+
+
+ 0
+ true
+
+ OnError
+
+
+ true
+ Vagrant Administrator
+ Vagrant Inc.
+
+
+
+
+
+ Never
+
+
+
+
+
+ 0
+ 1
+
+ OnError
+ false
+
+
+ /IMAGE/NAME
+ Windows Server 2008 R2 SERVERSTANDARD
+
+
+
+
+
+
+
+ en-US
+
+ en-US
+ en-US
+ en-US
+ en-US
+ en-US
+
+
+
+
+ false
+
+
+
+
+
+
+ vagrant
+ true
+
+
+
+
+ vagrant
+ true
+
+ Vagrant User
+ vagrant
+ administrators
+ vagrant
+
+
+
+
+ true
+ true
+ Home
+
+
+
+ vagrant
+ true
+
+ vagrant
+ true
+
+
+
+ cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"
+ Set Execution Policy 64 Bit
+ 1
+ true
+
+
+ C:\Windows\SysWOW64\cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"
+ Set Execution Policy 32 Bit
+ 2
+ true
+
+
+ cmd.exe /c winrm quickconfig -q
+ winrm quickconfig -q
+ 3
+ true
+
+
+ cmd.exe /c winrm quickconfig -transport:http
+ winrm quickconfig -transport:http
+ 4
+ true
+
+
+ cmd.exe /c winrm set winrm/config @{MaxTimeoutms="1800000"}
+ Win RM MaxTimoutms
+ 5
+ true
+
+
+ cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="800"}
+ Win RM MaxMemoryPerShellMB
+ 6
+ true
+
+
+ cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}
+ Win RM AllowUnencrypted
+ 7
+ true
+
+
+ cmd.exe /c winrm set winrm/config/service/auth @{Basic="true"}
+ Win RM auth Basic
+ 8
+ true
+
+
+ cmd.exe /c winrm set winrm/config/client/auth @{Basic="true"}
+ Win RM client auth Basic
+ 9
+ true
+
+
+ cmd.exe /c winrm set winrm/config/listener?Address=*+Transport=HTTP @{Port="5985"}
+ Win RM listener Address/Port
+ 10
+ true
+
+
+ cmd.exe /c netsh advfirewall firewall set rule group="remote administration" new enable=yes
+ Win RM adv firewall enable
+ 11
+ true
+
+
+ cmd.exe /c netsh firewall add portopening TCP 5985 "Port 5985"
+ Win RM port open
+ 12
+ true
+
+
+ cmd.exe /c net stop winrm
+ Stop Win RM Service
+ 13
+ true
+
+
+ cmd.exe /c sc config winrm start= auto
+ Win RM Autostart
+ 14
+ true
+
+
+ cmd.exe /c net start winrm
+ Start Win RM Service
+ 15
+ true
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v HideFileExt /t REG_DWORD /d 0 /f
+ 16
+ Show file extensions in Explorer
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\Console /v QuickEdit /t REG_DWORD /d 1 /f
+ 17
+ Enable QuickEdit mode
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v Start_ShowRun /t REG_DWORD /d 1 /f
+ 18
+ Show Run command in Start Menu
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v StartMenuAdminTools /t REG_DWORD /d 1 /f
+ 19
+ Show Administrative Tools in Start Menu
+
+
+ %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateFileSizePercent /t REG_DWORD /d 0 /f
+ 20
+ Zero Hibernation File
+
+
+ %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateEnabled /t REG_DWORD /d 0 /f
+ 21
+ Disable Hibernation Mode
+
+
+ cmd.exe /c wmic useraccount where "name='vagrant'" set PasswordExpires=FALSE
+ 22
+ Disable password expiration for vagrant user
+
+
+
+
+
+
+ cmd.exe /c a:\microsoft-updates.bat
+ 98
+ Enable Microsoft Updates
+
+
+ cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\win-updates.ps1 -MaxUpdatesPerCycle 30
+ Install Windows Updates
+ 100
+ true
+
+
+
+ false
+
+
+
+
+
+ false
+
+
+ vagrant-2008R2
+ Pacific Standard Time
+
+
+
+ true
+
+
+
+ false
+ false
+
+
+ true
+
+
+ true
+
+
+
+
diff --git a/Packer/windows_x64/answer_files/7/Autounattend.xml b/Packer/windows_x64/answer_files/7/Autounattend.xml
new file mode 100644
index 0000000..aabf33b
--- /dev/null
+++ b/Packer/windows_x64/answer_files/7/Autounattend.xml
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+ 1
+ Primary
+ true
+
+
+
+
+ false
+ NTFS
+ C
+ 1
+ 1
+
+
+
+ 0
+ true
+
+ OnError
+
+
+ true
+ Vagrant Administrator
+ Vagrant Inc.
+
+
+
+
+
+ Never
+
+
+
+
+
+ 0
+ 1
+
+ OnError
+ false
+
+
+ /IMAGE/NAME
+ Windows 7 ENTERPRISE
+
+
+
+
+
+
+
+ en-US
+
+ en-US
+ en-US
+ en-US
+ en-US
+ en-US
+
+
+
+
+ false
+
+
+
+
+
+
+ vagrant
+ true
+
+
+
+
+ vagrant
+ true
+
+ Vagrant User
+ vagrant
+ administrators
+ vagrant
+
+
+
+
+ true
+ true
+ Home
+ 1
+
+
+
+ vagrant
+ true
+
+ vagrant
+ true
+
+
+
+ cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"
+ Set Execution Policy 64 Bit
+ 1
+ true
+
+
+ C:\Windows\SysWOW64\cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"
+ Set Execution Policy 32 Bit
+ 2
+ true
+
+
+ cmd.exe /c winrm quickconfig -q
+ winrm quickconfig -q
+ 3
+ true
+
+
+ cmd.exe /c winrm quickconfig -transport:http
+ winrm quickconfig -transport:http
+ 4
+ true
+
+
+ cmd.exe /c winrm set winrm/config @{MaxTimeoutms="1800000"}
+ Win RM MaxTimoutms
+ 5
+ true
+
+
+ cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="800"}
+ Win RM MaxMemoryPerShellMB
+ 6
+ true
+
+
+ cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}
+ Win RM AllowUnencrypted
+ 7
+ true
+
+
+ cmd.exe /c winrm set winrm/config/service/auth @{Basic="true"}
+ Win RM auth Basic
+ 8
+ true
+
+
+ cmd.exe /c winrm set winrm/config/client/auth @{Basic="true"}
+ Win RM client auth Basic
+ 9
+ true
+
+
+ cmd.exe /c winrm set winrm/config/listener?Address=*+Transport=HTTP @{Port="5985"}
+ Win RM listener Address/Port
+ 10
+ true
+
+
+ cmd.exe /c netsh advfirewall firewall set rule group="remote administration" new enable=yes
+ Win RM adv firewall enable
+ 11
+ true
+
+
+ cmd.exe /c netsh firewall add portopening TCP 5985 "Port 5985"
+ Win RM port open
+ 12
+ true
+
+
+ cmd.exe /c net stop winrm
+ Stop Win RM Service
+ 13
+ true
+
+
+ cmd.exe /c sc config winrm start= auto
+ Win RM Autostart
+ 14
+ true
+
+
+ cmd.exe /c net start winrm
+ Start Win RM Service
+ 15
+ true
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v HideFileExt /t REG_DWORD /d 0 /f
+ 16
+ Show file extensions in Explorer
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\Console /v QuickEdit /t REG_DWORD /d 1 /f
+ 17
+ Enable QuickEdit mode
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v Start_ShowRun /t REG_DWORD /d 1 /f
+ 18
+ Show Run command in Start Menu
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v StartMenuAdminTools /t REG_DWORD /d 1 /f
+ 19
+ Show Administrative Tools in Start Menu
+
+
+ %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateFileSizePercent /t REG_DWORD /d 0 /f
+ 20
+ Zero Hibernation File
+
+
+ %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateEnabled /t REG_DWORD /d 0 /f
+ 21
+ Disable Hibernation Mode
+
+
+ cmd.exe /c wmic useraccount where "name='vagrant'" set PasswordExpires=FALSE
+ 22
+ Disable password expiration for vagrant user
+
+
+
+
+
+
+
+ cmd.exe /c a:\hotfix-KB3102810.bat
+ 97
+ Install Windows Update Hotfix (KB3102810)
+
+
+ cmd.exe /c a:\microsoft-updates.bat
+ 98
+ Enable Microsoft Updates
+
+
+ cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\win-updates.ps1 -MaxUpdatesPerCycle 100 -RestartRequired 1
+ Install Windows Updates
+ 100
+ true
+
+
+
+ false
+
+
+
+
+
+ false
+
+
+ vagrant-7
+ Pacific Standard Time
+
+
+
+ true
+
+
+
+
diff --git a/Packer/windows_x64/answer_files/81/Autounattend.xml b/Packer/windows_x64/answer_files/81/Autounattend.xml
new file mode 100644
index 0000000..27a560e
--- /dev/null
+++ b/Packer/windows_x64/answer_files/81/Autounattend.xml
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+
+
+
+ 1
+ Primary
+ true
+
+
+
+
+ false
+ NTFS
+ C
+ 1
+ 1
+
+
+
+ 0
+ true
+
+ OnError
+
+
+ true
+ Vagrant Administrator
+ Vagrant Inc.
+
+
+
+
+ MHF9N-XY6XB-WVXMC-BTDCT-MKKG7
+ Never
+
+
+
+
+
+ 0
+ 1
+
+ OnError
+ false
+
+
+ /IMAGE/NAME
+ Windows 8.1 Enterprise Evaluation
+
+
+
+
+
+
+
+ en-US
+
+ en-US
+ en-US
+ en-US
+ en-US
+ en-US
+
+
+
+
+ false
+
+
+
+
+
+
+ vagrant
+ true
+
+
+
+
+ vagrant
+ true
+
+ Vagrant User
+ vagrant
+ administrators
+ vagrant
+
+
+
+
+ true
+ true
+ Home
+ 1
+
+
+
+ vagrant
+ true
+
+ vagrant
+ true
+
+
+
+ cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"
+ Set Execution Policy 64 Bit
+ 1
+ true
+
+
+ C:\Windows\SysWOW64\cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"
+ Set Execution Policy 32 Bit
+ 2
+ true
+
+
+ cmd.exe /c winrm quickconfig -q
+ winrm quickconfig -q
+ 3
+ true
+
+
+ cmd.exe /c winrm quickconfig -transport:http
+ winrm quickconfig -transport:http
+ 4
+ true
+
+
+ cmd.exe /c winrm set winrm/config @{MaxTimeoutms="1800000"}
+ Win RM MaxTimoutms
+ 5
+ true
+
+
+ cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="800"}
+ Win RM MaxMemoryPerShellMB
+ 6
+ true
+
+
+ cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}
+ Win RM AllowUnencrypted
+ 7
+ true
+
+
+ cmd.exe /c winrm set winrm/config/service/auth @{Basic="true"}
+ Win RM auth Basic
+ 8
+ true
+
+
+ cmd.exe /c winrm set winrm/config/client/auth @{Basic="true"}
+ Win RM client auth Basic
+ 9
+ true
+
+
+ cmd.exe /c winrm set winrm/config/listener?Address=*+Transport=HTTP @{Port="5985"}
+ Win RM listener Address/Port
+ 10
+ true
+
+
+ cmd.exe /c netsh advfirewall firewall set rule group="remote administration" new enable=yes
+ Win RM adv firewall enable
+ 11
+ true
+
+
+ cmd.exe /c netsh firewall add portopening TCP 5985 "Port 5985"
+ Win RM port open
+ 12
+ true
+
+
+ cmd.exe /c net stop winrm
+ Stop Win RM Service
+ 13
+ true
+
+
+ cmd.exe /c sc config winrm start= auto
+ Win RM Autostart
+ 14
+ true
+
+
+ cmd.exe /c net start winrm
+ Start Win RM Service
+ 15
+ true
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v HideFileExt /t REG_DWORD /d 0 /f
+ 16
+ Show file extensions in Explorer
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\Console /v QuickEdit /t REG_DWORD /d 1 /f
+ 17
+ Enable QuickEdit mode
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v Start_ShowRun /t REG_DWORD /d 1 /f
+ 18
+ Show Run command in Start Menu
+
+
+ %SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v StartMenuAdminTools /t REG_DWORD /d 1 /f
+ 19
+ Show Administrative Tools in Start Menu
+
+
+ %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateFileSizePercent /t REG_DWORD /d 0 /f
+ 20
+ Zero Hibernation File
+
+
+ %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateEnabled /t REG_DWORD /d 0 /f
+ 21
+ Disable Hibernation Mode
+
+
+ cmd.exe /c wmic useraccount where "name='vagrant'" set PasswordExpires=FALSE
+ 22
+ Disable password expiration for vagrant user
+
+
+
+
+
+
+ cmd.exe /c a:\microsoft-updates.bat
+ 98
+ Enable Microsoft Updates
+
+
+ cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\win-updates.ps1
+ Install Windows Updates
+ 100
+ true
+
+
+
+ false
+
+
+
+
+
+ false
+
+
+ vagrant-81
+ Pacific Standard Time
+
+
+
+ true
+
+
+
+
diff --git a/Packer/windows_x64/floppy/README.md b/Packer/windows_x64/floppy/README.md
index 181b2bc..de5380f 100644
--- a/Packer/windows_x64/floppy/README.md
+++ b/Packer/windows_x64/floppy/README.md
@@ -1,10 +1,19 @@
# Floppy Scripts Dependencies by OS:
+## Windows 7:
+
+
+## Windows 8.1:
+
+
## Windows 10:
* PinTo10.exe
* WindowsPowershell.lnk
-## Windows Server 2012:
+## Windows Server 2008 R2:
+
+
+## Windows Server 2012 R2:
## Windows Server 2016:
diff --git a/Packer/windows_x64/scripts/README.md b/Packer/windows_x64/scripts/README.md
index 0d5c468..db3f28a 100644
--- a/Packer/windows_x64/scripts/README.md
+++ b/Packer/windows_x64/scripts/README.md
@@ -1,5 +1,33 @@
# Script Dependencies by OS:
+## Windows 7:
+* compact.bat
+* disable-screensaver.ps1
+* disable-winrm.ps1
+* enable-rdp.bat
+* enable-winrm.ps1
+* hotfix-KB3102810.bat
+* microsoft-updates.bat
+* oracle-cert.cer
+* set-winrm-automatic.bat
+* uac-enable.bat
+* vm-guest-tools.bat
+* win-updates.ps1
+
+## Windows 8.1:
+* compact.bat
+* compile-dotnet-assemblies.bat
+* disable-screensaver.ps1
+* disable-winrm.ps1
+* enable-rdp.bat
+* enable-winrm.ps1
+* microsoft-updates.bat
+* oracle-cert.cer
+* set-winrm-automatic.bat
+* uac-enable.bat
+* vm-guest-tools.bat
+* win-updates.ps1
+
## Windows 10:
* compact.bat
* compile-dotnet-assemblies.bat
@@ -20,7 +48,20 @@
* vm-guest-tools.bat
* win-updates.ps1
-## Windows Server 2012:
+## Windows Server 2008 R2:
+* compact.bat
+* disable-screensaver.ps1
+* disable-winrm.ps1
+* enable-rdp.bat
+* enable-winrm.ps1
+* microsoft-updates.bat
+* oracle-cert.cer
+* set-winrm-automatic.bat
+* uac-enable.bat
+* vm-guest-tools.bat
+* win-updates.ps1
+
+## Windows Server 2012 R2:
* compact.bat
* compile-dotnet-assemblies.bat
* disable-screensaver.ps1
diff --git a/Packer/windows_x64/scripts/hotfix-KB3102810.bat b/Packer/windows_x64/scripts/hotfix-KB3102810.bat
new file mode 100644
index 0000000..18ae6a5
--- /dev/null
+++ b/Packer/windows_x64/scripts/hotfix-KB3102810.bat
@@ -0,0 +1,21 @@
+:: Windows 7 SP1 require KB3102810 hotfix
+:: Installing and searching for updates is slow and high CPU usage occurs in Windows 7.
+:: https://support.microsoft.com/en-us/kb/3102810
+
+@echo off
+
+@powershell -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://download.microsoft.com/download/F/A/A/FAABD5C2-4600-45F8-96F1-B25B137E3C87/Windows6.1-KB3102810-x64.msu', 'C:\Windows\Temp\Windows6.1-KB3102810-x64.msu'))"
+
+set hotfix="C:\Windows\Temp\Windows6.1-KB3102810-x64.msu"
+if not exist %hotfix% goto :eof
+
+:: get windows version
+for /f "tokens=2 delims=[]" %%G in ('ver') do (set _version=%%G)
+for /f "tokens=2,3,4 delims=. " %%G in ('echo %_version%') do (set _major=%%G& set _minor=%%H& set _build=%%I)
+
+:: 6.1
+if %_major% neq 6 goto :eof
+if %_minor% lss 1 goto :eof
+
+@echo on
+start /wait wusa "%hotfix%" /quiet
diff --git a/Packer/windows_x64/windows_7.json b/Packer/windows_x64/windows_7.json
new file mode 100644
index 0000000..37d6d3c
--- /dev/null
+++ b/Packer/windows_x64/windows_7.json
@@ -0,0 +1,71 @@
+{
+ "builders": [{
+ "type": "virtualbox-iso",
+ "vm_name": "windows_7",
+ "communicator": "winrm",
+ "iso_url": "{{user `iso_url`}}",
+ "iso_checksum_type": "{{user `iso_checksum_type`}}",
+ "iso_checksum": "{{user `iso_checksum`}}",
+ "headless": false,
+ "boot_wait": "4m",
+ "boot_command": "",
+ "winrm_username": "vagrant",
+ "winrm_password": "vagrant",
+ "winrm_timeout": "8h",
+ "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
+ "guest_os_type": "Windows7_64",
+ "guest_additions_mode": "disable",
+ "disk_size": "{{user `disk_size`}}",
+ "floppy_files": [
+ "{{user `autounattend`}}",
+ "./scripts/disable-screensaver.ps1",
+ "./scripts/disable-winrm.ps1",
+ "./scripts/enable-winrm.ps1",
+ "./scripts/hotfix-KB3102810.bat",
+ "./scripts/microsoft-updates.bat",
+ "./scripts/win-updates.ps1",
+ "./scripts/oracle-cert.cer"
+ ],
+ "vboxmanage": [
+ ["modifyvm", "{{.Name}}", "--memory", "2048"],
+ ["modifyvm", "{{.Name}}", "--cpus", "2"]
+ ]
+ }],
+ "provisioners": [
+ {
+ "type": "windows-shell",
+ "execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
+ "scripts": [
+ "./scripts/vm-guest-tools.bat",
+ "./scripts/enable-rdp.bat"
+ ]
+ },
+ {
+ "type": "windows-restart"
+ },
+ {
+ "type": "windows-shell",
+ "execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
+ "scripts": [
+ "./scripts/set-winrm-automatic.bat",
+ "./scripts/uac-enable.bat",
+ "./scripts/compact.bat"
+ ]
+ }
+ ],
+ "post-processors": [
+ {
+ "type": "vagrant",
+ "keep_input_artifact": false,
+ "output": "../../Boxes/windows_x64/windows_7_{{.Provider}}.box",
+ "vagrantfile_template": "windows_7_vagrantfile.template"
+ }
+ ],
+ "variables": {
+ "iso_url": "http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso",
+ "iso_checksum_type": "md5",
+ "iso_checksum": "1d0d239a252cb53e466d39e752b17c28",
+ "autounattend": "./answer_files/7/Autounattend.xml",
+ "disk_size": "61440"
+ }
+}
diff --git a/Packer/windows_x64/windows_7_vagrantfile.template b/Packer/windows_x64/windows_7_vagrantfile.template
new file mode 100644
index 0000000..31be92d
--- /dev/null
+++ b/Packer/windows_x64/windows_7_vagrantfile.template
@@ -0,0 +1,27 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.require_version ">= 1.6.2"
+
+Vagrant.configure("2") do |config|
+ config.vm.define "vagrant-windows-7"
+ config.vm.box = "windows_7"
+ config.vm.communicator = "winrm"
+
+ # Admin user name and password
+ config.winrm.username = "vagrant"
+ config.winrm.password = "vagrant"
+
+ config.vm.guest = :windows
+ config.windows.halt_timeout = 15
+
+ config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
+ config.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh", auto_correct: true
+
+ config.vm.provider :virtualbox do |v, override|
+ #v.gui = true
+ v.customize ["modifyvm", :id, "--memory", 2048]
+ v.customize ["modifyvm", :id, "--cpus", 2]
+ v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
+ end
+end
diff --git a/Packer/windows_x64/windows_81.json b/Packer/windows_x64/windows_81.json
new file mode 100644
index 0000000..a3267aa
--- /dev/null
+++ b/Packer/windows_x64/windows_81.json
@@ -0,0 +1,71 @@
+{
+ "builders": [{
+ "type": "virtualbox-iso",
+ "vm_name": "windows_81",
+ "communicator": "winrm",
+ "iso_url": "{{user `iso_url`}}",
+ "iso_checksum_type": "{{user `iso_checksum_type`}}",
+ "iso_checksum": "{{user `iso_checksum`}}",
+ "headless": false,
+ "boot_wait": "4m",
+ "boot_command": "",
+ "winrm_username": "vagrant",
+ "winrm_password": "vagrant",
+ "winrm_timeout": "6h",
+ "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
+ "guest_os_type": "Windows81_64",
+ "guest_additions_mode": "disable",
+ "disk_size": "{{user `disk_size`}}",
+ "floppy_files": [
+ "{{user `autounattend`}}",
+ "./scripts/disable-screensaver.ps1",
+ "./scripts/disable-winrm.ps1",
+ "./scripts/enable-winrm.ps1",
+ "./scripts/microsoft-updates.bat",
+ "./scripts/win-updates.ps1",
+ "./scripts/oracle-cert.cer"
+ ],
+ "vboxmanage": [
+ ["modifyvm", "{{.Name}}", "--memory", "2048"],
+ ["modifyvm", "{{.Name}}", "--cpus", "2"]
+ ]
+ }],
+ "provisioners": [
+ {
+ "type": "windows-shell",
+ "execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
+ "scripts": [
+ "./scripts/vm-guest-tools.bat",
+ "./scripts/enable-rdp.bat"
+ ]
+ },
+ {
+ "type": "windows-restart"
+ },
+ {
+ "type": "windows-shell",
+ "execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
+ "scripts": [
+ "./scripts/set-winrm-automatic.bat",
+ "./scripts/compile-dotnet-assemblies.bat",
+ "./scripts/uac-enable.bat",
+ "./scripts/compact.bat"
+ ]
+ }
+ ],
+ "post-processors": [
+ {
+ "type": "vagrant",
+ "keep_input_artifact": false,
+ "output": "../../Boxes/windows_x64/windows_81_{{.Provider}}.box",
+ "vagrantfile_template": "windows_81_vagrantfile.template"
+ }
+ ],
+ "variables": {
+ "iso_url": "http://download.microsoft.com/download/B/9/9/B999286E-0A47-406D-8B3D-5B5AD7373A4A/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_ENTERPRISE_EVAL_EN-US-IRM_CENA_X64FREE_EN-US_DV5.ISO",
+ "iso_checksum_type": "md5",
+ "iso_checksum": "5e4ecb86fd8619641f1d58f96e8561ec",
+ "autounattend": "./answer_files/81/Autounattend.xml",
+ "disk_size": "61440"
+ }
+}
diff --git a/Packer/windows_x64/windows_81_vagrantfile.template b/Packer/windows_x64/windows_81_vagrantfile.template
new file mode 100644
index 0000000..427b419
--- /dev/null
+++ b/Packer/windows_x64/windows_81_vagrantfile.template
@@ -0,0 +1,27 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.require_version ">= 1.6.2"
+
+Vagrant.configure("2") do |config|
+ config.vm.define "vagrant-windows-81"
+ config.vm.box = "windows_81"
+ config.vm.communicator = "winrm"
+
+ # Admin user name and password
+ config.winrm.username = "vagrant"
+ config.winrm.password = "vagrant"
+
+ config.vm.guest = :windows
+ config.windows.halt_timeout = 15
+
+ config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
+ config.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh", auto_correct: true
+
+ config.vm.provider :virtualbox do |v, override|
+ #v.gui = true
+ v.customize ["modifyvm", :id, "--memory", 2048]
+ v.customize ["modifyvm", :id, "--cpus", 2]
+ v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
+ end
+end
diff --git a/Packer/windows_x64/windows_server_2008_r2.json b/Packer/windows_x64/windows_server_2008_r2.json
new file mode 100644
index 0000000..5f83cdd
--- /dev/null
+++ b/Packer/windows_x64/windows_server_2008_r2.json
@@ -0,0 +1,68 @@
+{
+ "builders": [{
+ "type": "virtualbox-iso",
+ "vm_name": "windows_server_2008_r2",
+ "communicator": "winrm",
+ "iso_url": "{{user `iso_url`}}",
+ "iso_checksum_type": "{{user `iso_checksum_type`}}",
+ "iso_checksum": "{{user `iso_checksum`}}",
+ "headless": false,
+ "boot_wait": "4m",
+ "boot_command": "",
+ "winrm_username": "vagrant",
+ "winrm_password": "vagrant",
+ "winrm_timeout": "8h",
+ "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
+ "guest_os_type": "Windows2008_64",
+ "guest_additions_mode": "disable",
+ "disk_size": "{{user `disk_size`}}",
+ "floppy_files": [
+ "{{user `autounattend`}}",
+ "./scripts/disable-screensaver.ps1",
+ "./scripts/disable-winrm.ps1",
+ "./scripts/enable-winrm.ps1",
+ "./scripts/microsoft-updates.bat",
+ "./scripts/win-updates.ps1",
+ "./scripts/oracle-cert.cer"
+ ],
+ "vboxmanage": [
+ ["modifyvm", "{{.Name}}", "--memory", "2048"],
+ ["modifyvm", "{{.Name}}", "--cpus", "2"]
+ ]
+ }],
+ "provisioners": [
+ {
+ "type": "windows-shell",
+ "execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
+ "scripts": [
+ "./scripts/vm-guest-tools.bat",
+ "./scripts/enable-rdp.bat"
+ ]
+ },
+ {
+ "type": "windows-restart"
+ },
+ {
+ "type": "windows-shell",
+ "execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
+ "scripts": [
+ "./scripts/set-winrm-automatic.bat",
+ "./scripts/uac-enable.bat",
+ "./scripts/compact.bat"
+ ]
+ }
+ ],
+ "post-processors": [{
+ "type": "vagrant",
+ "keep_input_artifact": false,
+ "output": "../../Boxes/windows_x64/windows_server_2008_r2_{{.Provider}}.box",
+ "vagrantfile_template": "windows_server_2008_r2_vagrantfile.template"
+ }],
+ "variables": {
+ "iso_url": "http://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso",
+ "iso_checksum_type": "md5",
+ "iso_checksum": "4263be2cf3c59177c45085c0a7bc6ca5",
+ "autounattend": "./answer_files/2008_r2/Autounattend.xml",
+ "disk_size": "61440"
+ }
+}
diff --git a/Packer/windows_x64/windows_server_2008_r2_vagrantfile.template b/Packer/windows_x64/windows_server_2008_r2_vagrantfile.template
new file mode 100644
index 0000000..e5b7576
--- /dev/null
+++ b/Packer/windows_x64/windows_server_2008_r2_vagrantfile.template
@@ -0,0 +1,27 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.require_version ">= 1.6.2"
+
+Vagrant.configure("2") do |config|
+ config.vm.define "vagrant-windows-2008-r2"
+ config.vm.box = "windows_server_2008_r2"
+ config.vm.communicator = "winrm"
+
+ # Admin user name and password
+ config.winrm.username = "vagrant"
+ config.winrm.password = "vagrant"
+
+ config.vm.guest = :windows
+ config.windows.halt_timeout = 15
+
+ config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
+ config.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh", auto_correct: true
+
+ config.vm.provider :virtualbox do |v, override|
+ #v.gui = true
+ v.customize ["modifyvm", :id, "--memory", 2048]
+ v.customize ["modifyvm", :id, "--cpus", 2]
+ v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
+ end
+end
diff --git a/Packer/windows_x64/windows_server_2012_r2_vagrantfile.template b/Packer/windows_x64/windows_server_2012_r2_vagrantfile.template
index 0955ec9..e5479fb 100644
--- a/Packer/windows_x64/windows_server_2012_r2_vagrantfile.template
+++ b/Packer/windows_x64/windows_server_2012_r2_vagrantfile.template
@@ -5,7 +5,7 @@ Vagrant.require_version ">= 1.6.2"
Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows-2012-r2"
- config.vm.box = "windows_2012_r2"
+ config.vm.box = "windows_server_2012_r2"
config.vm.communicator = "winrm"
# Admin user name and password
@@ -24,24 +24,4 @@ Vagrant.configure("2") do |config|
v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end
-
- config.vm.provider :vmware_fusion do |v, override|
- #v.gui = true
- v.vmx["memsize"] = "2048"
- v.vmx["numvcpus"] = "2"
- v.vmx["ethernet0.virtualDev"] = "vmxnet3"
- v.vmx["RemoteDisplay.vnc.enabled"] = "false"
- v.vmx["RemoteDisplay.vnc.port"] = "5900"
- v.vmx["scsi0.virtualDev"] = "lsisas1068"
- end
-
- config.vm.provider :vmware_workstation do |v, override|
- #v.gui = true
- v.vmx["memsize"] = "2048"
- v.vmx["numvcpus"] = "2"
- v.vmx["ethernet0.virtualDev"] = "vmxnet3"
- v.vmx["RemoteDisplay.vnc.enabled"] = "false"
- v.vmx["RemoteDisplay.vnc.port"] = "5900"
- v.vmx["scsi0.virtualDev"] = "lsisas1068"
- end
end
diff --git a/README.md b/README.md
index e7823ee..1f5eb6f 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ A repository of tools and systems with the goal to simplify penetration testing
1. Install the Vagrant-Reload plugin: `vagrant plugin install vagrant-reload`
1. Install Git: [https://git-scm.com/downloads](https://git-scm.com/downloads)
-### Using this tool to building your lab:
+### Using this tool to build your lab:
* fill_in_here
## Project Authors