VirtualBox

Changeset 84012 in vbox


Ignore:
Timestamp:
Apr 27, 2020 2:50:03 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137580
Message:

Main: bugref:9341: Fixed manual for the autostart service for Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_AdvancedTopics.xml

    r82350 r84012  
    60786078    <sect2 id="autostart-windows">
    60796079
    6080       <title>Windows: Starting the Autostart Service With a Windows service</title>
    6081 
    6082       <para>
    6083         On Windows, autostarting is implemented as a Windows service.
    6084         The service is installed for every user with their own
    6085         credentials. Before installing any autostart services on a
    6086         system you first have to define the
    6087         <literal>VBOXAUTOSTART_CONFIG</literal> environment variable in
    6088         the system variables with the path to the autostart
    6089         configuration file. The configuration file has the same format
    6090         as on Linux, see <xref linkend="autostart-linux" />, except the
    6091         user name can be specified using the following formats: "user",
    6092         "domain\user", ".\user" and "user@domain".
     6080      <title>Windows: Starting the Autostart Service</title>
     6081
     6082      <para>
     6083        On Windows, autostart functionality consist of two components.
     6084        First one is configuration file where the administrator can both
     6085        set delayed start of the VMs and temporary disable autostarting
     6086        for the particular user. The configuration file should be located
     6087        in the folder accessible by all required users but it should have
     6088        permissions allowing the only reading by everyone but
     6089        administrators. The configuration file contains several options.
     6090        One is <literal>default_policy</literal> which controls whether the
     6091        autostart service allows or denies to start a VM for users which
     6092        are not in the exception list. The exception list starts with
     6093        <literal>exception_list</literal> and contains a comma separated
     6094        list with usernames. Furthermore a separate startup delay can be
     6095        configured for every user to avoid overloading the host. A
     6096        sample configuration is given below:
     6097      </para>
     6098
     6099<screen>
     6100# Default policy is to deny starting a VM, the other option is "allow".
     6101default_policy = deny
     6102
     6103# Bob is allowed to start virtual machines but starting them
     6104# will be delayed for 10 seconds
     6105bob = {
     6106    allow = true
     6107    startup_delay = 10
     6108}
     6109
     6110# Alice is not allowed to start virtual machines, useful to exclude certain users
     6111# if the default policy is set to allow.
     6112alice = {
     6113    allow = false
     6114}
     6115</screen>
     6116
     6117      <para>
     6118        The user name can be specified using the following forms: "user",
     6119        "domain\user", ".\user" and "user@domain". Administrator must add
     6120        the <literal>VBOXAUTOSTART_CONFIG</literal> environment variable into
     6121        system variables containing the path to the configuration file
     6122        described above. The environment variable tells the autostart services
     6123        what configuration file is used.
     6124      </para>
     6125
     6126      <para>
     6127        Second component of autostart functionality is Windows service, every
     6128        instance of it works on behalf of particular user using its own
     6129        credentials.
    60936130      </para>
    60946131
     
    60986135      </para>
    60996136
    6100 <screen>VBoxAutostartSvc install --user=&lt;user&gt; [--password-file=&lt;password_file&gt;]</screen>
     6137  <screen>VBoxAutostartSvc install --user=<replaceable>user</replaceable> [--password-file=<replaceable>password_file</replaceable>]</screen>
    61016138
    61026139      <para>
     
    61116148      </para>
    61126149
    6113 <screen>VBoxAutostartSvc delete --user=&lt;user&gt;</screen>
     6150  <screen>VBoxAutostartSvc delete --user=<replaceable>user</replaceable></screen>
    61146151
    61156152      <para>
     
    61206157        installed for users with empty passwords.
    61216158      </para>
     6159
     6160      <para>
     6161        Finally, the particular user should define which VM should be
     6162        started at boot or not. The user should run the following command
     6163        for every VM it desired to start at boot:
     6164      </para>
     6165
     6166  <screen>VBoxManage modifyvm <replaceable>VM name or UUID</replaceable> --autostart-enabled on</screen>
     6167
     6168      <para>
     6169        The user can remove the particular VM from the VMs starting at boot
     6170        by running the following command:
     6171      </para>
     6172
     6173  <screen>VBoxManage modifyvm <replaceable>VM name or UUID</replaceable> --autostart-enabled off</screen>
    61226174
    61236175    </sect2>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette