Table of Contents
Virtualbox
Hardware Virtualization
Hardware Virtualization (alias VT-X - a command Set of the CPU) is required for virtual machines.
on MSI Mainboard
Enabling it is hidden within
Overclocking > CPU Features > Inter Virtualization Technology
ACHTUNG: “CPU Features” IS FUCKING ONLY AVAILABLE IN “STANDARD MODE” - NOT IN “ECO MODE”
on HP Notebook
DeviceGuard
“DeviceGuard” also blocks the VT-x feature, which causes the “VERR_VMX_NO_VMX” message by VirtualBox or Vagrant.
You can check, whether DeviceGuard is running under SystemInformation. Search for: “DeviceGuard Virtualization: Running”
You can disable it, via “gpedit.msc”, setting “Computer Configuration\Administrative Templates\System\Device Guard\Turn On Virtualization Based Security” to “Disabled”.
Additionally you can set “bcdedit /set hypervisorlaunchtype off”
You can check, whether the device guard is running under
Device Guard and Credential Guard hardware readiness tool
You can use the tool to disable the DeviceGuard.
Use the Device Guard and Credential Guard hardware readiness tool from Microsoft to disable the credential guard: https://www.microsoft.com/en-us/download/details.aspx?id=53337
Run Powershell as administrator and follow this steps:
To verify DG/CG is enabled:
DG_Readiness_Tool_v3.6 -Ready
To disable DG/CG:
DG_Readiness_Tool_v3.6 -Disable
and restart the PC.
If Powershell can't execute the script, first try to set the execution policies unrestricted with this just typing:
Set-ExecutionPolicy Unrestricted
Try again to execute the script and restart the PC.
Resolution
How to customize Virtual box resolution is written here: http://www.virtualbox.org/manual/ch09.html
VBoxManage.exe setextradata "Windows8" CustomVideoMode1 1680x1050x32 VBoxManage.exe setextradata global GUI/MaxGuestResolution any
Release Disk space
The dynamic disk occupies XGB of real disk space, once there tehre were XGB of Data.
But the virtualdisk does not automatically release diskpace.
To release diskspace do:
- Disk defragmentation inside of the virtual machine
- use sdelete.exe tool to delete unneeded blocks
sdelete.exe -z
- use vmbox toolkit to compact the disk
VBoxManage modifyhd "X:\Virtual Machines VirtualBox\VirtualboxHdd.vdi" --compact
Running Virtualbox as a VBoxHeadlessTray
http://www.toptensoftware.com/VBoxHeadlessTray/
Use the vboxvmservice tool to run Virtual Machines as a service!
Network
The Network woks if set to Networkbridge