From 34ad03e5fb060f961b8561d7cbb6e29ae80c0f67 Mon Sep 17 00:00:00 2001 From: Ariel Oak Date: Thu, 31 Oct 2019 19:48:10 -0400 Subject: [PATCH 1/2] Use TLS 1.2 for ultradefrag download The request to sourceforge.net fails without it, and it needs to be explicitly set in order for Windows Server 2012 R2 to use it. --- scripts/compact.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/compact.bat b/scripts/compact.bat index a658b71e..a956e44f 100644 --- a/scripts/compact.bat +++ b/scripts/compact.bat @@ -8,7 +8,7 @@ if not exist "C:\Windows\Temp\7z1900-x64.msi" ( msiexec /qb /i C:\Windows\Temp\7z1900-x64.msi if not exist "C:\Windows\Temp\ultradefrag.zip" ( - powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://downloads.sourceforge.net/project/ultradefrag/stable-release/6.1.0/ultradefrag-portable-6.1.0.bin.amd64.zip', 'C:\Windows\Temp\ultradefrag.zip')" Date: Thu, 31 Oct 2019 19:49:03 -0400 Subject: [PATCH 2/2] Use TLS 1.2 for VBoxGuestAdditions download The request to virtualbox.org fails without it, and it needs to be explicitly set in order for Windows Server 2012 R2 to use it. --- scripts/vm-guest-tools.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vm-guest-tools.bat b/scripts/vm-guest-tools.bat index ead51d60..d9ba14cf 100644 --- a/scripts/vm-guest-tools.bat +++ b/scripts/vm-guest-tools.bat @@ -39,7 +39,7 @@ if exist "C:\Users\vagrant\VBoxGuestAdditions.iso" ( ) if not exist "C:\Windows\Temp\VBoxGuestAdditions.iso" ( - powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://download.virtualbox.org/virtualbox/6.0.10/VBoxGuestAdditions_6.0.10.iso', 'C:\Windows\Temp\VBoxGuestAdditions.iso')"