Configure VM Window Menu Entries

You can disable certain menu actions in the VM window:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeMenus OPTION[,OPTION...]

where OPTION is one of the following keywords:

All

Do not show any menu in the VM window.

Application

Do not show Application/File menu in the VM window.

Machine

Do not show the Machine menu in the VM window.

View

Do not show the View menu in the VM window.

Input

Do not show Input menu in the VM window.

Devices

Do not show the Devices menu in the VM window.

Help

Do not show the Help menu in the VM window.

Debug

Do not show the Debug menu in the VM window. The Debug menu is only visible if the GUI was started with special command line parameters or environment variable settings.

This is a per-VM or global setting. Any combination of the above is allowed. To restore the default behavior, use the following command:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeMenus

You can also disable certain menu actions of certain menus. Use the following command to disable certain actions of the Application menu. This is only available on macOS hosts.

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeApplicationMenuActions OPTION[,OPTION...]

where OPTION is one of the following keywords:

All

Do not show any menu item in this menu.

About
Do not show the About menu item in this menu.
Preferences

Do not show the Preferences menu item in this menu.

NetworkAccessManager

Do not show the Network Operations Manager menu item in this menu.

ResetWarnings

Do not show the Reset All Warnings menu item in this menu.

Close

Do not show the Close menu item in this menu.

This is a per-VM or global setting. Any combination of the above is allowed. To restore the default behavior, use the following command:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeMenus

Use the following command to disable certain actions of the Machine menu:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeMachineMenuActions OPTION[,OPTION...]

where OPTION is one of the following keywords:

All

Do not show any menu item in this menu.

SettingsDialog

Do not show the Settings menu item in this menu.

TakeSnapshot

Do not show the Take Snapshot... menu item in this menu.

InformationDialog

Do not show the Session Information... menu item in this menu.

FileManagerDialog

Do not show the File Manager... menu item in this menu.

Pause

Do not show the Pause menu item in this menu.

Reset

Do not show the Reset menu item in this menu.

Shutdown

Do not show the ACPI Shutdown menu item in this menu.

This is a per-VM or global setting. Any combination of the above is allowed. To restore the default behavior, use

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeMachineMenuActions

Use the following command to disable certain actions of the View menu:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeViewMenuActions OPTION[,OPTION...]

where OPTION is one of the following keywords:

All

Do not show any menu item in this menu.

Fullscreen

Do not show the Full-screen Mode menu item in this menu.

Seamless

Do not show the Seamless Mode menu item in this menu.

Scale

Do not show the Scaled Mode menu item in this menu.

GuestAutoresize

Do not show the Auto-resize Guest Display menu item in this menu.

AdjustWindow

Do not show the Adjust Window Size menu item in this menu.

TakeScreenshot

Do not show the Take Screenshot... menu item in this menu.

Recording

Do not show the Recording menu item in this menu.

VRDEServer

Do not show the Remote Display menu item in this menu.

MenuBar

Do not show the Menu Bar menu item in this menu.

MenuBarSettings

Do not show the Menu Bar Settings... menu item in this menu.

StatusBar

Do not show the Status Bar menu item in this menu.

StatusbarSettings

Do not show the Statusbar Settings... menu item in this menu.

This is a per-VM or global setting. Any combination of the above is allowed. To restore the default behavior, use

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeViewMenuActions

Use the following command to disable certain actions of the Input menu:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeInputMenuActions OPTION[,OPTION...]

where OPTION is one of the following keywords:

All

Do not show any menu item in this menu.

Keyboard

Do not show the Keyboard menu item in this menu.

KeyboardSettings

Do not show the Keyboard Settings... menu item in this menu.

SoftKeyboard

Do not show the Soft Keyboard... menu item in this menu.

TypeCAD

Do not show the Insert Ctrl-Alt-Del menu item in this menu.

TypeCABS

Do not show the Insert Ctrl-Alt-Backspace menu item in this menu.

TypeCtrlBreak

Do not show the Insert Ctrl-Break menu item in this menu.

TypeInsert

Do not show the Insert Insert menu item in this menu.

TypePrintScreen

Do not show the Insert Print Screen menu item in this menu.

TypeAltPrintScreen

Do not show the Insert Alt Print Screen menu item in this menu.

TypeHostKeyCombo

Do not show the Insert Host Key Combo menu item in this menu.

MouseIntegration

Do not show the MouseIntegration menu item in this menu.

This is a per-VM or global setting. Any combination of the above is allowed. To restore the default behavior, use

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeInputMenuActions

Use the following command to disable certain actions of the Devices menu:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeDevicesMenuActions OPTION[,OPTION...]

where OPTION is one of the following keywords to disable actions in the Devices menu:

All

Do not show any menu item in this menu.

HardDrives

Do not show the Hard Disks menu item in this menu.

OpticalDevices

Do not show the Optical Devices menu item in this menu.

FloppyDevices

Do not show the Floppy Drives menu item in this menu.

Audio

Do not show the Audio menu item in this menu.

Network

Do not show the Network menu item in this menu.

NetworkSettings

Do not show the Network Settings menu item in this menu.

USBDevices

Do not show the USB menu item in this menu.

WebCams

Do not show the WebCams menu item in this menu.

SharedFolders

Do not show the Shared Folders menu item in this menu.

SharedFoldersSettings

Do not show the Shared Folders Settings... menu item in this menu.

SharedClipboard

Do not show the Shared Clipboard menu item in this menu.

DragAndDrop

Do not show the Drag and Drop menu item in this menu.

InstallGuestTools

Do not show the Insert Guest Additions CD image... menu item in this menu.

This is a per-VM or global or global setting. Any combination of the above is allowed. To restore the default behavior, use

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeDevicesMenuActions

Use the following command to disable certain actions of the Debug menu:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeDebuggerMenuActions OPTION[,OPTION...]

where OPTION is one of the following keywords to disable actions in the Debug menu, which is normally completely disabled:

All

Do not show any menu item in this menu.

Statistics

Do not show the Statistics... menu item in this menu.

CommandLine

Do not show the Command Line... menu item in this menu.

Logging

Do not show the Logging... menu item in this menu.

LogDialog

Do not show the Show Log... menu item in this menu.

GuestControlConsole

Do not show the Guest Control Terminal... menu item in this menu.

This is a per-VM or global setting. Any combination of the above is allowed. To restore the default behavior, use

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeDebuggerMenuActions

Use the following command to disable certain actions of the View menu:

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeHelpMenuActions OPTION[,OPTION...]

where OPTION is one of the following keywords to disable actions in the Help menu, which is normally completely disabled:

All

Do not show any menu item in this menu.

Contents

Do not show the Contents... menu item in this menu.

WebSite

Do not show the VirtualBox Web Site... menu item in this menu.

BugTracker

Do not show the VirtualBox Bug Tracker... menu item in this menu.

Forums

Do not show the VirtualBox Forums... menu item in this menu.

Oracle

Do not show the Oracle Web Site... menu item in this menu.

About

Do not show the About VirtualBox... menu item in this menu. Only for non-macOS hosts.

This is a per-VM or global setting. Any combination of the above is allowed. To restore the default behavior, use

VBoxManage setextradata "VM name"|global GUI/RestrictedRuntimeHelpMenuActions