Changeset 84012 in vbox
- Timestamp:
- Apr 27, 2020 2:50:03 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137580
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_AdvancedTopics.xml
r82350 r84012 6078 6078 <sect2 id="autostart-windows"> 6079 6079 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". 6101 default_policy = deny 6102 6103 # Bob is allowed to start virtual machines but starting them 6104 # will be delayed for 10 seconds 6105 bob = { 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. 6112 alice = { 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. 6093 6130 </para> 6094 6131 … … 6098 6135 </para> 6099 6136 6100 <screen>VBoxAutostartSvc install --user=<user> [--password-file=<password_file>]</screen>6137 <screen>VBoxAutostartSvc install --user=<replaceable>user</replaceable> [--password-file=<replaceable>password_file</replaceable>]</screen> 6101 6138 6102 6139 <para> … … 6111 6148 </para> 6112 6149 6113 <screen>VBoxAutostartSvc delete --user=<user></screen>6150 <screen>VBoxAutostartSvc delete --user=<replaceable>user</replaceable></screen> 6114 6151 6115 6152 <para> … … 6120 6157 installed for users with empty passwords. 6121 6158 </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> 6122 6174 6123 6175 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.