Last active
August 25, 2026 14:36
-
-
Save wpyoga/179912d6ab45f0721bc7527243c3a4d9 to your computer and use it in GitHub Desktop.
VirtualBox Appliance VM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 | |
| # Clipboard sharing | |
| VBoxManage modifyvm <vmname> --clipboard-mode=bidirectional | |
| # Enable high resolution & VDRP | |
| VBoxManage modifyvm <vmname> --vram 32 --vrde on --vrde-port <port> | |
| # Add shared folder | |
| VBoxManage sharedfolder add <vmname> --name <foldername> --automount --mountpoint "Z:" --hostpath "/path/to/host/folder" | |
| # 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 Z:\vm\pre.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