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
CLI for disabling 'Check for Update'
-
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'
After digging a little deeper I found the answer
The documentation on 'VBoxManage getextradata/setextradata' is a little confusing ...
Code: Select all
VBoxManage setextradata global GUI/UpdateDate neverThis 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.These commands let you attach and retrieve string data to a virtual machine or to a VirtualBox configuration
-
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'
Code: Select all
VBoxManage setextradata global "GUI/UpdateDate" value="never"-
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'
Thank you Perry.
-
mikep345678
- Posts: 2
- Joined: 22. Apr 2013, 16:59
Re: CLI for disabling 'Check for Update'
in case anyone else finds this thread (it was near the top Google hit for "virtualbox disable updates cli"), the correct syntax is:
(no quotes!)
Mike
Code: Select all
VBoxManage setextradata global GUI/UpdateDate neverMike
Re: CLI for disabling 'Check for Update'
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'
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).loosus wrote:auto-update setting is per-user (not per-system).
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.