VirtualBox is open-source hypervisor, creating a VM (virtual machine) in which the user can run another OS (operating system). This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of VirtualBox 6.0 from the command line using both EXE & MSI installers.
How to Install VirtualBox Silently
VirtualBox 6.0 Silent Install (EXE) (32-bit Operating System)
- Navigate to: https://www.virtualbox.org/wiki/Download_Old_Builds_6_0
- Select the Windows Hosts under the version of your choice
- Download the file to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
VirtualBox-6.0.x-y-Win.exe --silent --ignore-reboot
- Press Enter
After a minute or so you should see the Oracle VM VirtualBox Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Oracle VM VirtualBox 6.0 (32-bit) |
Vendor: | Oracle Corporation |
Version: | 6.0 |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | VirtualBox-6.0.x-y-Win.exe --silent --ignore-reboot |
Silent Uninstall Switch: | See Uninstall Strings Below |
Download Link: | https://www.virtualbox.org/wiki/Download_Old_Builds_6_0 |
PowerShell Script: | https://silentinstallhq.com/oracle-vm-virtualbox-install-and-uninstall-powershell/ |
VirtualBox 6.0 Silent Install (EXE) (64-bit Operating System)
- Navigate to: https://www.virtualbox.org/wiki/Download_Old_Builds_6_0
- Select the Windows Hosts under the version of your choice
- Download the file to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
VirtualBox-6.0.x-y-Win.exe --silent --ignore-reboot
- Press Enter
After a minute or so you should see the Oracle VM VirtualBox Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Oracle VM VirtualBox 6.0 (64-bit) |
Vendor: | Oracle Corporation |
Version: | 6.0 |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | VirtualBox-6.0.x-y-Win.exe --silent --ignore-reboot |
Silent Uninstall Switch: | See Uninstall Strings Below |
Download Link: | https://www.virtualbox.org/wiki/Download_Old_Builds_6_0 |
PowerShell Script: | https://silentinstallhq.com/oracle-vm-virtualbox-install-and-uninstall-powershell/ |
VirtualBox 6.0 Silent Install (MSI) (32-bit Operating System)
- Navigate to: https://www.virtualbox.org/wiki/Download_Old_Builds_6_0
- Select the Windows Hosts under the version of your choice
- Download the file to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
VirtualBox-6.0.x-y-Win.exe --extract -path C:\VBox
- Press Enter
- Navigate to the C:\VBox folder
- Enter the following command:
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_x86.msi /qn
- Press Enter
After a minute or so you should see the Oracle VM VirtualBox Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Oracle VM VirtualBox 6.0 (32-bit) |
Vendor: | Oracle Corporation |
Version: | 6.0 |
Architecture: | x86 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_x86.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x VirtualBox-6.0.x-y-MultiArch_x86.msi /qn |
Repair Command: | MsiExec.exe /fa VirtualBox-6.0.x-y-MultiArch_x86.msi /qn |
Download Link: | https://www.virtualbox.org/wiki/Download_Old_Builds_6_0 |
PowerShell Script: | https://silentinstallhq.com/oracle-vm-virtualbox-install-and-uninstall-powershell/ |
VirtualBox 6.0 Silent Install (MSI) (64-bit Operating System)
- Navigate to: https://www.virtualbox.org/wiki/Download_Old_Builds_6_0
- Select the Windows Hosts under the version of your choice
- Download the file to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
VirtualBox-6.0.x-y-Win.exe --extract -path C:\VBox
- Press Enter
- Navigate to the C:\VBox folder
- Enter the following command:
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_amd64.msi /qn
- Press Enter
After a minute or so you should see the Oracle VM VirtualBox Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Oracle VM VirtualBox 6.0 (64-bit) |
Vendor: | Oracle Corporation |
Version: | 6.0 |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_amd64.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x VirtualBox-6.0.x-y-MultiArch_amd64.msi /qn |
Repair Command: | MsiExec.exe /fa VirtualBox-6.0.x-y-MultiArch_amd64.msi /qn |
Download Link: | https://www.virtualbox.org/wiki/Download_Old_Builds_6_0 |
PowerShell Script: | https://silentinstallhq.com/oracle-vm-virtualbox-install-and-uninstall-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Disable VirtualBox Update Checks
You can disable VirtualBox update checks by running the following command:
Note: These settings are per User and NOT per System so they will need to be run once for every user who logs on.
"%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" setextradata global GUI/UpdateDate "never" |
Install VirtualBox Extension Pack Silently
You can install the VirtualBox Extension Pack silently after installing the main VirtualBox installer by following these steps:
- Navigate to: https://www.virtualbox.org/wiki/Download_Old_Builds_6_0
- Select Extension Pack under the version of your choice
- VirtualBox Installer & Extension Pack Versions Must Match
- Copy the Oracle_VM_VirtualBox_Extension_Pack-x.y.z.vbox-extpack to “C:\Downloads\”
echo y | "%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" extpack install --replace "C:\Downloads\Oracle_VM_VirtualBox_Extension_Pack-x.y.z.vbox-extpack" |
Change Default Installation Directory
You can change the default installation directory by using the following command line parameters. In this example, I’m installing VirtualBox to “C:\VirtualBox”
Oracle VM VirtualBox 6.0 (EXE)
VirtualBox-6.0.x-y-Win.exe --msiparams INSTALLDIR=C:\VirtualBox --silent --ignore-reboot |
Oracle VM VirtualBox 6.0 (MSI) on 32-bit Systems
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_x86.msi INSTALLDIR=C:\VirtualBox /qn |
Oracle VM VirtualBox 6.0 (MSI) on 64-bit Systems
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_amd64.msi INSTALLDIR=C:\VirtualBox /qn |
Create an Installation Log File
The VirtualBox installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a log file with details about the installation.
Oracle VM VirtualBox 6.0 Silent Install (EXE) with Logging
VirtualBox-6.0.x-y-Win.exe --silent --ignore-reboot --logging |
The log file will be located in the following Temp directory of the user account from which the installer was run:
C:\Users\<User Name>\AppData\Local\Temp\VirtualBox
Oracle VM VirtualBox 6.0 (32-bit) Silent Install (MSI) with Logging
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_x86.msi /qn /L*v "%WINDIR%\Temp\VirtualBox32-Install.log" |
Oracle VM VirtualBox 6.0 (64-bit) Silent Install (MSI) with Logging
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_amd64.msi /qn /L*v "%WINDIR%\Temp\VirtualBox64-Install.log" |
VirtualBox Install With NO Desktop Shortcut
You can specify whether or not an Oracle VM VirtualBox desktop icon will be created on the desktop. The default installation behavior is to include a desktop shortcut, however in the example below a desktop shortcut will not be created during the install.
Oracle VM VirtualBox 6.0 Silent Install (EXE) with NO Desktop Shortcut
VirtualBox-6.0.x-y-Win.exe --msiparams VBOX_INSTALLDESKTOPSHORTCUT=0 --silent --ignore-reboot |
Oracle VM VirtualBox 6.0 (32-bit) Silent Install (MSI) with NO Desktop Shortcut
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_x86.msi VBOX_INSTALLDESKTOPSHORTCUT=0 /qn |
Oracle VM VirtualBox 6.0 (64-bit) Silent Install (MSI) with NO Desktop Shortcut
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_amd64.msi VBOX_INSTALLDESKTOPSHORTCUT=0 /qn |
Exclude VirtualBox QuickLaunch Shortcut
Oracle VM VirtualBox 6.0 Silent Install (EXE) NO QuickLaunch Shortcut
VirtualBox-6.0.x-y-Win.exe --msiparams VBOX_INSTALLQUICKLAUNCHSHORTCUT=0 --silent --ignore-reboot |
Oracle VM VirtualBox 6.0 (32-bit) Silent Install (MSI) NO QuickLaunch Shortcut
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_x86.msi VBOX_INSTALLQUICKLAUNCHSHORTCUT=0 /qn |
Oracle VM VirtualBox 6.0 (64-bit) Silent Install (MSI) NO QuickLaunch Shortcut
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_amd64.msi VBOX_INSTALLQUICKLAUNCHSHORTCUT=0 /qn |
Do Not Register File Extensions
Oracle VM VirtualBox 6.0 (EXE)
VirtualBox-6.0.x-y-Win.exe --msiparams VBOX_REGISTERFILEEXTENSIONS=0 --silent --ignore-reboot |
Oracle VM VirtualBox 6.0 (MSI) on 32-bit Systems
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_x86.msi VBOX_REGISTERFILEEXTENSIONS=0 /qn |
Oracle VM VirtualBox 6.0 (MSI) on 64-bit Systems
MsiExec.exe /i VirtualBox-6.0.x-y-MultiArch_amd64.msi VBOX_REGISTERFILEEXTENSIONS=0 /qn |
Do Not Install VirtualBox Certificate Automatically
You can specify not to install the VirtualBox certificate automatically when silently installing the application. The default behavior is to install the certificate automatically, however the command line below will exclude it.
Oracle VM VirtualBox 6.0 Silent Install (EXE) Excluding Certificate
VirtualBox-6.0.x-y-Win.exe --no-silent-cert --silent --ignore-reboot |
How to Uninstall VirtualBox Silently
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one the following commands:
Version | VirtualBox 6.0 Silent Uninstall Strings |
6.0.24 (32-bit) | MsiExec.exe /x {519A0E1C-92F0-4808-80F2-832FAC48AAB7} /qn |
6.0.24 (64-bit) | MsiExec.exe /x {9EC88BBB-BAFD-4666-BFB1-5F737A76C055} /qn |
6.0.22 (32-bit) | MsiExec.exe /x {A796B390-2628-43A4-8A95-F3F3539A5460} /qn |
6.0.22 (64-bit) | MsiExec.exe /x {65682D40-CC5A-4122-BCC0-5C682D0EE284} /qn |
6.0.20 (32-bit) | MsiExec.exe /x {11C18F21-B060-450D-985F-7FBA66B24C28} /qn |
6.0.20 (64-bit) | MsiExec.exe /x {A083A77B-5541-4C84-B420-B37C312BFFCC} /qn |
6.0.18 (32-bit) | MsiExec.exe /x {57971844-8CE1-40D3-AA44-D45DE541611A} /qn |
6.0.18 (64-bit) | MsiExec.exe /x {C4614253-644B-44D1-AE6F-F1B22EE2BF3E} /qn |
6.0.16 (32-bit) | MsiExec.exe /x {48E0B94F-5076-4760-B527-0594BAF5728C} /qn |
6.0.16 (64-bit) | MsiExec.exe /x {927E6ACC-DE57-4925-879A-B0E82C479311} /qn |
6.0.14 (32-bit) | MsiExec.exe /x {DAA2B709-6AAF-43E2-8011-1737D2223087} /qn |
6.0.14 (64-bit) | MsiExec.exe /x {8E519428-0DC5-4A01-818A-73155A0AF8AF} /qn |
6.0.12 (32-bit) | MsiExec.exe /x {417CEDA2-3EEC-4D4A-B038-DCCAB5D88B98} /qn |
6.0.12 (64-bit) | MsiExec.exe /x {E572CA5C-A60B-4C3B-9E9E-1302BBE4DBEE} /qn |
6.0.10 (32-bit) | MsiExec.exe /x {BF801D35-E30C-4B63-8A80-BA58B7ED7723} /qn |
6.0.10 (64-bit) | MsiExec.exe /x {6A145EBB-FA61-4F90-BDE1-2308B1C26C0F} /qn |
6.0.8 (32-bit) | MsiExec.exe /x {F6BED37A-F8D2-488C-AD33-DBD54D418D85} /qn |
6.0.8 (64-bit) | MsiExec.exe /x {C549898A-9AA8-4CF6-8290-EF5DB8ECA766} /qn |
6.0.6 (32-bit) | MsiExec.exe /x {892BFE4E-32C4-4A0A-8639-32CB82C27ECF} /qn |
6.0.6 (64-bit) | MsiExec.exe /x {6C89B405-9910-446E-A6A9-7B15A09513D3} /qn |
6.0.4 (32-bit) | MsiExec.exe /x {9694DB45-EBEE-403A-8EA7-72A54DD4F307} /qn |
6.0.4 (64-bit) | MsiExec.exe /x {79366295-CD6A-4467-9901-4A7DFCF90F40} /qn |
6.0.2 (32-bit) | MsiExec.exe /x {2671FD38-7C22-40A5-8743-23C9998C26BD} /qn |
6.0.2 (64-bit) | MsiExec.exe /x {55905447-3228-417B-9F9D-6F8AC4D1A15C} /qn |
6.0.0 (32-bit) | MsiExec.exe /x {3519D20C-F559-47FE-96AB-71091A1F52FB} /qn |
6.0.0 (64-bit) | MsiExec.exe /x {D9B83AF5-6C7F-4914-B941-B23E33C406A0} /qn |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.