CLI for disabling 'Check for Update'

This is for discussing general topics about how to use VirtualBox.
Post Reply
arend
Posts: 60
Joined: 14. Mar 2010, 21:56
Primary OS: MS Windows XP
VBox Version: OSE self-compiled
Guest OSses: Windows XP

CLI for disabling 'Check for Update'

Post by arend »

Hi,

How can I disable the 'check for updates' feature from the CLI without using the GUI?

I would have thought that as a global property 'VBoxManage setproperty' would have an option but I could not find any.

Any idea is greatly appreciated.

Thanks

Arend
arend
Posts: 60
Joined: 14. Mar 2010, 21:56
Primary OS: MS Windows XP
VBox Version: OSE self-compiled
Guest OSses: Windows XP

Re: CLI for disabling 'Check for Update'

Post by arend »

After digging a little deeper I found the answer

Code: Select all

VBoxManage setextradata global GUI/UpdateDate never
The documentation on 'VBoxManage getextradata/setextradata' is a little confusing ...
These commands let you attach and retrieve string data to a virtual machine or to a VirtualBox configuration
This lead me at first to believe that these attached pieces of information are just for manageability purposes without implying that VirtualBox behavior can actually be changed.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CLI for disabling 'Check for Update'

Post by Perryg »

Code: Select all

VBoxManage setextradata global "GUI/UpdateDate" value="never"
Ooops see you found it. But i would test it. it may require the" "
arend
Posts: 60
Joined: 14. Mar 2010, 21:56
Primary OS: MS Windows XP
VBox Version: OSE self-compiled
Guest OSses: Windows XP

Re: CLI for disabling 'Check for Update'

Post by arend »

Thank you Perry.
mikep345678
Posts: 2
Joined: 22. Apr 2013, 16:59

Re: CLI for disabling 'Check for Update'

Post by mikep345678 »

in case anyone else finds this thread (it was near the top Google hit for "virtualbox disable updates cli"), the correct syntax is:

Code: Select all

VBoxManage setextradata global GUI/UpdateDate never
(no quotes!)


Mike
loosus
Posts: 9
Joined: 25. Nov 2016, 05:20

Re: CLI for disabling 'Check for Update'

Post by loosus »

An additional note: the auto-update setting is per-user (not per-system). What this means is that you have to run the command as the user for whom you wish to change the auto-update setting.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: CLI for disabling 'Check for Update'

Post by scottgus1 »

loosus wrote:auto-update setting is per-user (not per-system).
This is because the file that stores these main-program settings is in the .Virtualbox folder in the user's home folder (Like C:\users\{yourusername}\.Virtualbox).

There is a way to change where Virtualbox looks for the info in the .Virtualbox folder to a common system-wide location, not in the user-centric environment. It involves the "VBOX_USER_HOME" environment variable. See the manual, section 10.1.3.
Post Reply