Skip to content

Instantly share code, notes, and snippets.

@wpyoga
Last active July 28, 2026 09:10
Show Gist options
  • Select an option

  • Save wpyoga/179912d6ab45f0721bc7527243c3a4d9 to your computer and use it in GitHub Desktop.

Select an option

Save wpyoga/179912d6ab45f0721bc7527243c3a4d9 to your computer and use it in GitHub Desktop.
VirtualBox Appliance VM
# Shorten boot time
VBoxManage modifyvm <vmname> --biosbootmenu disabled --bioslogodisplaytime 1 --bioslogofadein off --bioslogofadeout off
# Boot straight to virtual hard disk
VBoxManage modifyvm <vmname> --boot1 disk --boot2 none --boot3 none --boot4 none
# Disable audio
VBoxManage modifyvm <vmname> --audio-enabled off
# Enable high resolution & VDRP
VBoxManage modifyvm <vmname> --vram 32 --vrde on --vrde-port <port>
# Registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control: WaitToKillServiceTimeout:String = 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon: Shell:String = custom.cmd
# C:\Windows\custom.cmd
start /b VBoxTray.exe
start /b taskmgr
"<full path to exe>"
start /b shutdown /s /t 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment