Skip to content

Instantly share code, notes, and snippets.

@primaryobjects
Last active October 4, 2026 01:54
Show Gist options
  • Select an option

  • Save primaryobjects/54ed0a18e5bdf43b4d1249a7812d0b31 to your computer and use it in GitHub Desktop.

Select an option

Save primaryobjects/54ed0a18e5bdf43b4d1249a7812d0b31 to your computer and use it in GitHub Desktop.
Running Windows 11 in VirtualBox Without Guest Additions (Full Resolution + Hardened VM)

Running Windows 11 in VirtualBox Without Guest Additions (Full Resolution + Hardened VM)

These steps show how to run Windows 11 inside VirtualBox at full resolution (1080p / 4K) without installing Guest Additions. VirtualBox normally locks Windows 11 to VBoxSVGA, which restricts resolution to 1024×768 unless Guest Additions are installed. These steps unlock the graphics controller, enable VMSVGA, and add custom video modes while keeping the VM fully isolated for malware testing.

  1. Power off VM.
  2. Right-click VM and select "Discard saved state".
  3. Edit C:\Users\<USER>\VirtualBox VMs\Windows 11\Windows 11.vbox and see OSType="WindowsNT_64".
    <Machine uuid="{6e83dd2e-aa85-40f7-a2af-2383fd682558}" name="Windows 11" OSType="WindowsNT_64" currentSnapshot="{535a9816-dab7-44a6-a669-2ca36ee553f6}" snapshotFolder="Snapshots" lastStateChange="2026-10-04T00:37:32Z">
    
  4. Open VirtualBox, select Settings/Display/Graphics Controller = VMSVGA
  5. Run the following:
    cd C:\Program Files\Oracle\VirtualBox
    VBoxManage setextradata "Windows 11" "CustomVideoMode1" "1920x1080x32"
    VBoxManage setextradata "Windows 11" "CustomVideoMode1" "3840x2160x32"
    VBoxManage setextradata "Windows 11" "VBoxInternal2/EfiGraphicsResolution" "1920x1080"
    VBoxManage setextradata "Windows 11" "VBoxInternal2/EfiGraphicsResolution" "3840x2160"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment