VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-controlvm.xml@ 99118

Last change on this file since 99118 was 99118, checked in by vboxsync, 15 months ago

manual: Revised r156481 a bit, since nested args are used in different ways, so must require role=compact for complicated arguments.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 91.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage controlvm
4-->
5<!--
6 Copyright (C) 2006-2023 Oracle and/or its affiliates.
7
8 This file is part of VirtualBox base platform packages, as
9 available from https://www.virtualbox.org.
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License
13 as published by the Free Software Foundation, in version 3 of the
14 License.
15
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, see <https://www.gnu.org/licenses>.
23
24 SPDX-License-Identifier: GPL-3.0-only
25-->
26<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
27 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
28<!ENTITY % all.entities SYSTEM "all-entities.ent">
29%all.entities;
30]>
31<refentry id="vboxmanage-controlvm" lang="en">
32 <refentryinfo>
33 <pubdate>$Date: 2023-03-22 15:45:33 +0000 (Wed, 22 Mar 2023) $</pubdate>
34 <title>VBoxManage controlvm</title>
35 </refentryinfo>
36
37 <refmeta>
38 <refentrytitle>VBoxManage-controlvm</refentrytitle>
39 <manvolnum>1</manvolnum>
40 </refmeta>
41
42 <refnamediv>
43 <refname>VBoxManage-controlvm</refname>
44 <refpurpose>change state and settings for a running virtual machine</refpurpose>
45 <refclass>&product-name;</refclass>
46 </refnamediv>
47
48 <refsynopsisdiv>
49 <cmdsynopsis id="synopsis-vboxmanage-controlvm-pause">
50<!-- The 'id' is mandatory and must start with 'synopsis-'. -->
51 <command>VBoxManage controlvm</command>
52 <group choice="req">
53 <arg choice="plain"><replaceable>uuid</replaceable></arg>
54 <arg choice="plain"><replaceable>vmname</replaceable></arg>
55 </group>
56 <arg choice="plain">pause</arg>
57 </cmdsynopsis>
58
59 <cmdsynopsis id="synopsis-vboxmanage-controlvm-resume">
60 <command>VBoxManage controlvm</command>
61 <group choice="req">
62 <arg choice="plain"><replaceable>uuid</replaceable></arg>
63 <arg choice="plain"><replaceable>vmname</replaceable></arg>
64 </group>
65 <arg choice="plain">resume</arg>
66 </cmdsynopsis>
67
68 <cmdsynopsis id="synopsis-vboxmanage-controlvm-reset">
69 <command>VBoxManage controlvm</command>
70 <group choice="req">
71 <arg choice="plain"><replaceable>uuid</replaceable></arg>
72 <arg choice="plain"><replaceable>vmname</replaceable></arg>
73 </group>
74 <arg choice="plain">reset</arg>
75 </cmdsynopsis>
76
77 <cmdsynopsis id="synopsis-vboxmanage-controlvm-poweroff">
78 <command>VBoxManage controlvm</command>
79 <group choice="req">
80 <arg choice="plain"><replaceable>uuid</replaceable></arg>
81 <arg choice="plain"><replaceable>vmname</replaceable></arg>
82 </group>
83 <arg choice="plain">poweroff</arg>
84 </cmdsynopsis>
85
86 <cmdsynopsis id="synopsis-vboxmanage-controlvm-savestate">
87 <command>VBoxManage controlvm</command>
88 <group choice="req">
89 <arg choice="plain"><replaceable>uuid</replaceable></arg>
90 <arg choice="plain"><replaceable>vmname</replaceable></arg>
91 </group>
92 <arg choice="plain">savestate</arg>
93 </cmdsynopsis>
94
95 <cmdsynopsis id="synopsis-vboxmanage-controlvm-acpipowerbutton">
96 <command>VBoxManage controlvm</command>
97 <group choice="req">
98 <arg choice="plain"><replaceable>uuid</replaceable></arg>
99 <arg choice="plain"><replaceable>vmname</replaceable></arg>
100 </group>
101 <arg choice="plain">acpipowerbutton</arg>
102 </cmdsynopsis>
103
104 <cmdsynopsis id="synopsis-vboxmanage-controlvm-acpisleepbutton">
105 <command>VBoxManage controlvm</command>
106 <group choice="req">
107 <arg choice="plain"><replaceable>uuid</replaceable></arg>
108 <arg choice="plain"><replaceable>vmname</replaceable></arg>
109 </group>
110 <arg choice="plain">acpisleepbutton</arg>
111 </cmdsynopsis>
112
113 <cmdsynopsis id="synopsis-vboxmanage-controlvm-reboot">
114 <command>VBoxManage controlvm</command>
115 <group choice="req">
116 <arg choice="plain"><replaceable>uuid</replaceable></arg>
117 <arg choice="plain"><replaceable>vmname</replaceable></arg>
118 </group>
119 <arg choice="plain">reboot</arg>
120 </cmdsynopsis>
121
122 <cmdsynopsis id="synopsis-vboxmanage-controlvm-shutdown">
123 <command>VBoxManage controlvm</command>
124 <group choice="req">
125 <arg choice="plain"><replaceable>uuid</replaceable></arg>
126 <arg choice="plain"><replaceable>vmname</replaceable></arg>
127 </group>
128 <arg choice="plain">shutdown</arg>
129 <arg choice="opt">--force</arg>
130 </cmdsynopsis>
131
132 <cmdsynopsis id="synopsis-vboxmanage-controlvm-keyboardputscancode">
133 <command>VBoxManage controlvm</command>
134 <group choice="req">
135 <arg choice="plain"><replaceable>uuid</replaceable></arg>
136 <arg choice="plain"><replaceable>vmname</replaceable></arg>
137 </group>
138 <arg choice="plain">keyboardputscancode</arg>
139 <arg choice="req"><replaceable>hex</replaceable></arg>
140 <arg rep="repeat"><replaceable>hex</replaceable></arg>
141 </cmdsynopsis>
142
143 <cmdsynopsis id="synopsis-vboxmanage-controlvm-keyboardputstring">
144 <command>VBoxManage controlvm</command>
145 <group choice="req">
146 <arg choice="plain"><replaceable>uuid</replaceable></arg>
147 <arg choice="plain"><replaceable>vmname</replaceable></arg>
148 </group>
149 <arg choice="plain">keyboardputstring</arg>
150 <arg choice="req"><replaceable>string</replaceable></arg>
151 <arg rep="repeat"><replaceable>string</replaceable></arg>
152 </cmdsynopsis>
153
154 <cmdsynopsis id="synopsis-vboxmanage-controlvm-keyboardputfile">
155 <command>VBoxManage controlvm</command>
156 <group choice="req">
157 <arg choice="plain"><replaceable>uuid</replaceable></arg>
158 <arg choice="plain"><replaceable>vmname</replaceable></arg>
159 </group>
160 <arg choice="plain">keyboardputfile</arg>
161 <arg choice="req"><replaceable>filename</replaceable></arg>
162 </cmdsynopsis>
163
164 <cmdsynopsis id="synopsis-vboxmanage-controlvm-setlinkstate">
165 <command>VBoxManage controlvm</command>
166 <group choice="req">
167 <arg choice="plain"><replaceable>uuid</replaceable></arg>
168 <arg choice="plain"><replaceable>vmname</replaceable></arg>
169 </group>
170 <arg choice="plain">setlinkstate<replaceable>N</replaceable></arg>
171 <group choice="req">
172 <arg choice="plain">on</arg>
173 <arg choice="plain">off</arg>
174 </group>
175 </cmdsynopsis>
176
177 <cmdsynopsis id="synopsis-vboxmanage-controlvm-nic">
178 <command>VBoxManage controlvm</command>
179 <group choice="req">
180 <arg choice="plain"><replaceable>uuid</replaceable></arg>
181 <arg choice="plain"><replaceable>vmname</replaceable></arg>
182 </group>
183 <arg choice="plain">nic<replaceable>N</replaceable></arg>
184 <group choice="req">
185 <arg choice="plain">null</arg>
186 <arg choice="plain">nat</arg>
187 <arg choice="plain">bridged</arg>
188 <arg choice="plain">intnet</arg>
189 <arg choice="plain">hostonly</arg>
190 <arg choice="plain">generic</arg>
191 <arg choice="plain">natnetwork</arg>
192 </group>
193 <arg><replaceable>device-name</replaceable></arg>
194 </cmdsynopsis>
195
196 <cmdsynopsis id="synopsis-vboxmanage-controlvm-nictrace">
197 <command>VBoxManage controlvm</command>
198 <group choice="req">
199 <arg choice="plain"><replaceable>uuid</replaceable></arg>
200 <arg choice="plain"><replaceable>vmname</replaceable></arg>
201 </group>
202 <arg choice="plain">nictrace<replaceable>N</replaceable></arg>
203 <group choice="req">
204 <arg choice="plain">on</arg>
205 <arg choice="plain">off</arg>
206 </group>
207 </cmdsynopsis>
208
209 <cmdsynopsis id="synopsis-vboxmanage-controlvm-nictracefile">
210 <command>VBoxManage controlvm</command>
211 <group choice="req">
212 <arg choice="plain"><replaceable>uuid</replaceable></arg>
213 <arg choice="plain"><replaceable>vmname</replaceable></arg>
214 </group>
215 <arg choice="plain">nictracefile<replaceable>N</replaceable></arg>
216 <arg choice="req"><replaceable>filename</replaceable></arg>
217 </cmdsynopsis>
218
219 <cmdsynopsis id="synopsis-vboxmanage-controlvm-nicproperty">
220 <command>VBoxManage controlvm</command>
221 <group choice="req">
222 <arg choice="plain"><replaceable>uuid</replaceable></arg>
223 <arg choice="plain"><replaceable>vmname</replaceable></arg>
224 </group>
225 <arg choice="plain">nicproperty<replaceable>N</replaceable></arg>
226 <arg choice="req"><replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></arg>
227 </cmdsynopsis>
228
229 <cmdsynopsis id="synopsis-vboxmanage-controlvm-nicpromisc">
230 <command>VBoxManage controlvm</command>
231 <group choice="req">
232 <arg choice="plain"><replaceable>uuid</replaceable></arg>
233 <arg choice="plain"><replaceable>vmname</replaceable></arg>
234 </group>
235 <arg choice="plain">nicpromisc<replaceable>N</replaceable></arg>
236 <group choice="req">
237 <arg choice="plain">deny</arg>
238 <arg choice="plain">allow-vms</arg>
239 <arg choice="plain">allow-all</arg>
240 </group>
241 </cmdsynopsis>
242
243 <cmdsynopsis id="synopsis-vboxmanage-controlvm-natpf">
244 <command>VBoxManage controlvm</command>
245 <group choice="req">
246 <arg choice="plain"><replaceable>uuid</replaceable></arg>
247 <arg choice="plain"><replaceable>vmname</replaceable></arg>
248 </group>
249 <arg choice="plain">natpf<replaceable>N</replaceable></arg>
250
251 <arg choice="req" role="compact"><arg><replaceable>rulename</replaceable></arg>,<group choice="req"><arg choice="plain">tcp</arg><arg choice="plain">udp</arg></group>,<arg><replaceable>host-IP</replaceable></arg>,<arg choice="plain"><replaceable>hostport</replaceable></arg>,<arg><replaceable>guest-IP</replaceable></arg>,<arg choice="plain"><replaceable>guestport</replaceable></arg></arg>
252 </cmdsynopsis>
253
254 <cmdsynopsis id="synopsis-vboxmanage-controlvm-natpf-delete">
255 <command>VBoxManage controlvm</command>
256 <group choice="req">
257 <arg choice="plain"><replaceable>uuid</replaceable></arg>
258 <arg choice="plain"><replaceable>vmname</replaceable></arg>
259 </group>
260 <arg choice="plain">natpf<replaceable>N</replaceable> delete</arg>
261
262 <arg choice="req"><replaceable>rulename</replaceable></arg>
263 </cmdsynopsis>
264
265 <cmdsynopsis id="synopsis-vboxmanage-controlvm-guestmemoryballoon">
266 <command>VBoxManage controlvm</command>
267 <group choice="req">
268 <arg choice="plain"><replaceable>uuid</replaceable></arg>
269 <arg choice="plain"><replaceable>vmname</replaceable></arg>
270 </group>
271 <arg choice="plain">guestmemoryballoon</arg>
272 <arg choice="req"><replaceable>balloon-size</replaceable></arg>
273 </cmdsynopsis>
274
275 <cmdsynopsis id="synopsis-vboxmanage-controlvm-usbattach">
276 <command>VBoxManage controlvm</command>
277 <group choice="req">
278 <arg choice="plain"><replaceable>uuid</replaceable></arg>
279 <arg choice="plain"><replaceable>vmname</replaceable></arg>
280 </group>
281 <arg choice="plain">usbattach</arg>
282 <group choice="req">
283 <arg choice="plain"><replaceable>uuid</replaceable></arg>
284 <arg choice="plain"><replaceable>address</replaceable></arg>
285 </group>
286 <arg>--capturefile=<replaceable>filename</replaceable></arg>
287 </cmdsynopsis>
288
289 <cmdsynopsis id="synopsis-vboxmanage-controlvm-usbdetach">
290 <command>VBoxManage controlvm</command>
291 <group choice="req">
292 <arg choice="plain"><replaceable>uuid</replaceable></arg>
293 <arg choice="plain"><replaceable>vmname</replaceable></arg>
294 </group>
295 <arg choice="plain">usbdetach</arg>
296 <group choice="req">
297 <arg choice="plain"><replaceable>uuid</replaceable></arg>
298 <arg choice="plain"><replaceable>address</replaceable></arg>
299 </group>
300 </cmdsynopsis>
301
302 <cmdsynopsis id="synopsis-vboxmanage-controlvm-audioin">
303 <command>VBoxManage controlvm</command>
304 <group choice="req">
305 <arg choice="plain"><replaceable>uuid</replaceable></arg>
306 <arg choice="plain"><replaceable>vmname</replaceable></arg>
307 </group>
308 <arg choice="plain">audioin</arg>
309 <group choice="req">
310 <arg choice="plain">on</arg>
311 <arg choice="plain">off</arg>
312 </group>
313 </cmdsynopsis>
314
315 <cmdsynopsis id="synopsis-vboxmanage-controlvm-audioout">
316 <command>VBoxManage controlvm</command>
317 <group choice="req">
318 <arg choice="plain"><replaceable>uuid</replaceable></arg>
319 <arg choice="plain"><replaceable>vmname</replaceable></arg>
320 </group>
321 <arg choice="plain">audioout</arg>
322 <group choice="req">
323 <arg choice="plain">on</arg>
324 <arg choice="plain">off</arg>
325 </group>
326 </cmdsynopsis>
327
328 <cmdsynopsis id="synopsis-vboxmanage-controlvm-clipboard-mode">
329 <command>VBoxManage controlvm</command>
330 <group choice="req">
331 <arg choice="plain"><replaceable>uuid</replaceable></arg>
332 <arg choice="plain"><replaceable>vmname</replaceable></arg>
333 </group>
334 <arg choice="plain">clipboard mode</arg>
335 <group choice="req">
336 <arg choice="plain">disabled</arg>
337 <arg choice="plain">hosttoguest</arg>
338 <arg choice="plain">guesttohost</arg>
339 <arg choice="plain">bidirectional</arg>
340 </group>
341 </cmdsynopsis>
342
343 <cmdsynopsis id="synopsis-vboxmanage-controlvm-clipboard-filetransfers">
344 <command>VBoxManage controlvm</command>
345 <group choice="req">
346 <arg choice="plain"><replaceable>uuid</replaceable></arg>
347 <arg choice="plain"><replaceable>vmname</replaceable></arg>
348 </group>
349 <arg choice="plain">clipboard filetransfers</arg>
350 <group choice="req">
351 <arg choice="plain">on</arg>
352 <arg choice="plain">off</arg>
353 </group>
354 </cmdsynopsis>
355
356 <cmdsynopsis id="synopsis-vboxmanage-controlvm-draganddrop">
357 <command>VBoxManage controlvm</command>
358 <group choice="req">
359 <arg choice="plain"><replaceable>uuid</replaceable></arg>
360 <arg choice="plain"><replaceable>vmname</replaceable></arg>
361 </group>
362 <arg choice="plain">draganddrop</arg>
363 <group choice="req">
364 <arg choice="plain">disabled</arg>
365 <arg choice="plain">hosttoguest</arg>
366 <arg choice="plain">guesttohost</arg>
367 <arg choice="plain">bidirectional</arg>
368 </group>
369 </cmdsynopsis>
370
371 <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrde">
372 <command>VBoxManage controlvm</command>
373 <group choice="req">
374 <arg choice="plain"><replaceable>uuid</replaceable></arg>
375 <arg choice="plain"><replaceable>vmname</replaceable></arg>
376 </group>
377 <arg choice="plain">vrde</arg>
378 <group choice="req">
379 <arg choice="plain">on</arg>
380 <arg choice="plain">off</arg>
381 </group>
382 </cmdsynopsis>
383
384 <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrdeport">
385 <command>VBoxManage controlvm</command>
386 <group choice="req">
387 <arg choice="plain"><replaceable>uuid</replaceable></arg>
388 <arg choice="plain"><replaceable>vmname</replaceable></arg>
389 </group>
390 <arg choice="plain">vrdeport</arg>
391 <arg choice="req"><replaceable>port</replaceable></arg>
392 </cmdsynopsis>
393
394 <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrdeproperty">
395 <command>VBoxManage controlvm</command>
396 <group choice="req">
397 <arg choice="plain"><replaceable>uuid</replaceable></arg>
398 <arg choice="plain"><replaceable>vmname</replaceable></arg>
399 </group>
400 <arg choice="plain">vrdeproperty</arg>
401 <arg choice="req"><replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></arg>
402 </cmdsynopsis>
403
404 <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrdevideochannelquality">
405 <command>VBoxManage controlvm</command>
406 <group choice="req">
407 <arg choice="plain"><replaceable>uuid</replaceable></arg>
408 <arg choice="plain"><replaceable>vmname</replaceable></arg>
409 </group>
410 <arg choice="plain">vrdevideochannelquality</arg>
411 <arg choice="req"><replaceable>percentage</replaceable></arg>
412 </cmdsynopsis>
413
414 <cmdsynopsis id="synopsis-vboxmanage-controlvm-setvideomodehint">
415 <command>VBoxManage controlvm</command>
416 <group choice="req">
417 <arg choice="plain"><replaceable>uuid</replaceable></arg>
418 <arg choice="plain"><replaceable>vmname</replaceable></arg>
419 </group>
420 <arg choice="plain">setvideomodehint</arg>
421 <arg choice="req"><replaceable>xres</replaceable></arg>
422 <arg choice="req"><replaceable>yres</replaceable></arg>
423 <arg choice="req"><replaceable>bpp</replaceable></arg>
424 <arg>
425 <replaceable>display</replaceable>
426 <arg>
427 <group choice="req">
428 <arg choice="plain">yes</arg>
429 <arg choice="plain">no</arg>
430 </group>
431 <arg>
432 <arg choice="plain"><replaceable>x-origin</replaceable></arg>
433 <arg choice="plain"><replaceable>y-origin</replaceable></arg>
434 </arg>
435 </arg>
436 </arg>
437 </cmdsynopsis>
438
439 <cmdsynopsis id="synopsis-vboxmanage-controlvm-setscreenlayout">
440 <command>VBoxManage controlvm</command>
441 <group choice="req">
442 <arg choice="plain"><replaceable>uuid</replaceable></arg>
443 <arg choice="plain"><replaceable>vmname</replaceable></arg>
444 </group>
445 <arg choice="plain">setscreenlayout</arg>
446 <arg choice="req"><replaceable>display</replaceable></arg>
447 <group choice="req">
448 <arg choice="plain">on</arg>
449 <arg choice="plain">primary <replaceable>x-origin</replaceable>&nbsp;<replaceable>y-origin</replaceable>&nbsp;<replaceable>x-resolution</replaceable>&nbsp;<replaceable>y-resolution</replaceable>&nbsp;<replaceable>bpp</replaceable></arg>
450 <arg choice="plain">off</arg>
451 </group>
452 </cmdsynopsis>
453
454 <cmdsynopsis id="synopsis-vboxmanage-controlvm-screenshotpng">
455 <command>VBoxManage controlvm</command>
456 <group choice="req">
457 <arg choice="plain"><replaceable>uuid</replaceable></arg>
458 <arg choice="plain"><replaceable>vmname</replaceable></arg>
459 </group>
460 <arg choice="plain">screenshotpng</arg>
461 <arg choice="req"><replaceable>filename</replaceable></arg>
462 <arg><replaceable>display</replaceable></arg>
463 </cmdsynopsis>
464
465 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording">
466 <command>VBoxManage controlvm</command>
467 <group choice="req">
468 <arg choice="plain"><replaceable>uuid</replaceable></arg>
469 <arg choice="plain"><replaceable>vmname</replaceable></arg>
470 </group>
471 <arg choice="plain">recording</arg>
472 <group choice="req">
473 <arg choice="plain">on</arg>
474 <arg choice="plain">off</arg>
475 </group>
476 </cmdsynopsis>
477
478 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-screens">
479 <command>VBoxManage controlvm</command>
480 <group choice="req">
481 <arg choice="plain"><replaceable>uuid</replaceable></arg>
482 <arg choice="plain"><replaceable>vmname</replaceable></arg>
483 </group>
484 <arg choice="plain">recording screens</arg>
485 <group choice="req">
486 <arg choice="plain">all</arg>
487 <arg choice="plain">none</arg>
488 <arg choice="plain"><replaceable>screen-ID</replaceable>[,<replaceable>screen-ID</replaceable>...]</arg>
489 </group>
490 </cmdsynopsis>
491
492 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-filename">
493 <command>VBoxManage controlvm</command>
494 <group choice="req">
495 <arg choice="plain"><replaceable>uuid</replaceable></arg>
496 <arg choice="plain"><replaceable>vmname</replaceable></arg>
497 </group>
498 <arg choice="plain">recording filename</arg>
499 <arg choice="req">filename</arg>
500 </cmdsynopsis>
501
502 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-videores">
503 <command>VBoxManage controlvm</command>
504 <group choice="req">
505 <arg choice="plain"><replaceable>uuid</replaceable></arg>
506 <arg choice="plain"><replaceable>vmname</replaceable></arg>
507 </group>
508 <arg choice="plain">recording videores</arg>
509 <arg choice="req"><replaceable>width</replaceable>x<replaceable>height</replaceable></arg>
510 </cmdsynopsis>
511
512 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-videorate">
513 <command>VBoxManage controlvm</command>
514 <group choice="req">
515 <arg choice="plain"><replaceable>uuid</replaceable></arg>
516 <arg choice="plain"><replaceable>vmname</replaceable></arg>
517 </group>
518 <arg choice="plain">recording videorate</arg>
519 <arg choice="req"><replaceable>rate</replaceable></arg>
520 </cmdsynopsis>
521
522 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-videofps">
523 <command>VBoxManage controlvm</command>
524 <group choice="req">
525 <arg choice="plain"><replaceable>uuid</replaceable></arg>
526 <arg choice="plain"><replaceable>vmname</replaceable></arg>
527 </group>
528 <arg choice="plain">recording videofps</arg>
529 <arg choice="req"><replaceable>fps</replaceable></arg>
530 </cmdsynopsis>
531
532 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-maxtime">
533 <command>VBoxManage controlvm</command>
534 <group choice="req">
535 <arg choice="plain"><replaceable>uuid</replaceable></arg>
536 <arg choice="plain"><replaceable>vmname</replaceable></arg>
537 </group>
538 <arg choice="plain">recording maxtime</arg>
539 <arg choice="req"><replaceable>sec</replaceable></arg>
540 </cmdsynopsis>
541
542 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-maxfilesize">
543 <command>VBoxManage controlvm</command>
544 <group choice="req">
545 <arg choice="plain"><replaceable>uuid</replaceable></arg>
546 <arg choice="plain"><replaceable>vmname</replaceable></arg>
547 </group>
548 <arg choice="plain">recording maxfilesize</arg>
549 <arg choice="req"><replaceable>MB</replaceable></arg>
550 </cmdsynopsis>
551
552 <!--
553 <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-opts">
554 <command>VBoxManage controlvm</command>
555 <group choice="req">
556 <arg choice="plain"><replaceable>uuid</replaceable></arg>
557 <arg choice="plain"><replaceable>vmname</replaceable></arg>
558 </group>
559 <arg choice="plain">recording opts</arg>
560 <arg choice="req"><replaceable>key</replaceable>=<arg><replaceable>value</replaceable></arg></arg>
561 </cmdsynopsis>
562 -->
563
564 <cmdsynopsis id="synopsis-vboxmanage-controlvm-setcredentials">
565 <command>VBoxManage controlvm</command>
566 <group choice="req">
567 <arg choice="plain"><replaceable>uuid</replaceable></arg>
568 <arg choice="plain"><replaceable>vmname</replaceable></arg>
569 </group>
570 <arg choice="plain">setcredentials</arg>
571 <arg choice="req"><replaceable>username</replaceable></arg>
572 <arg choice="plain">--passwordfile=<group choice="req">
573 <arg choice="plain"><replaceable>filename</replaceable></arg>
574 <arg choice="plain"><replaceable>password</replaceable></arg>
575 </group></arg>
576 <arg choice="req"><replaceable>domain-name</replaceable></arg>
577 <arg choice="plain">--allowlocallogon=<group choice="req">
578 <arg choice="plain">yes</arg>
579 <arg choice="plain">no</arg>
580 </group></arg>
581 </cmdsynopsis>
582
583 <cmdsynopsis id="synopsis-vboxmanage-controlvm-teleport">
584 <command>VBoxManage controlvm</command>
585 <group choice="req">
586 <arg choice="plain"><replaceable>uuid</replaceable></arg>
587 <arg choice="plain"><replaceable>vmname</replaceable></arg>
588 </group>
589 <arg choice="plain">teleport</arg>
590 <arg choice="req">--host=<replaceable>host-name</replaceable></arg>
591 <arg choice="req">--port=<replaceable>port-name</replaceable></arg>
592 <arg>--maxdowntime=<replaceable>msec</replaceable></arg>
593 <group>
594 <arg choice="plain">--passwordfile=<replaceable>filename</replaceable></arg>
595 <arg choice="plain">--password=<replaceable>password</replaceable></arg>
596 </group>
597 </cmdsynopsis>
598
599 <cmdsynopsis id="synopsis-vboxmanage-controlvm-plugcpu">
600 <command>VBoxManage controlvm</command>
601 <group choice="req">
602 <arg choice="plain"><replaceable>uuid</replaceable></arg>
603 <arg choice="plain"><replaceable>vmname</replaceable></arg>
604 </group>
605 <arg choice="plain">plugcpu</arg>
606 <arg choice="req"><replaceable>ID</replaceable></arg>
607 </cmdsynopsis>
608
609 <cmdsynopsis id="synopsis-vboxmanage-controlvm-unplugcpu">
610 <command>VBoxManage controlvm</command>
611 <group choice="req">
612 <arg choice="plain"><replaceable>uuid</replaceable></arg>
613 <arg choice="plain"><replaceable>vmname</replaceable></arg>
614 </group>
615 <arg choice="plain">unplugcpu</arg>
616 <arg choice="req"><replaceable>ID</replaceable></arg>
617 </cmdsynopsis>
618
619 <cmdsynopsis id="synopsis-vboxmanage-controlvm-cpuexecutioncap">
620 <command>VBoxManage controlvm</command>
621 <group choice="req">
622 <arg choice="plain"><replaceable>uuid</replaceable></arg>
623 <arg choice="plain"><replaceable>vmname</replaceable></arg>
624 </group>
625 <arg choice="plain">cpuexecutioncap</arg>
626 <arg choice="req"><replaceable>num</replaceable></arg>
627 </cmdsynopsis>
628
629 <cmdsynopsis id="synopsis-vboxmanage-controlvm-vm-process-priority">
630 <command>VBoxManage controlvm</command>
631 <group choice="req">
632 <arg choice="plain"><replaceable>uuid</replaceable></arg>
633 <arg choice="plain"><replaceable>vmname</replaceable></arg>
634 </group>
635 <arg choice="plain">vm-process-priority</arg>
636 <group choice="req">
637 <arg choice="plain">default</arg>
638 <arg choice="plain">flat</arg>
639 <arg choice="plain">low</arg>
640 <arg choice="plain">normal</arg>
641 <arg choice="plain">high</arg>
642 </group>
643 </cmdsynopsis>
644
645 <cmdsynopsis id="synopsis-vboxmanage-controlvm-webcam-attach">
646 <command>VBoxManage controlvm</command>
647 <group choice="req">
648 <arg choice="plain"><replaceable>uuid</replaceable></arg>
649 <arg choice="plain"><replaceable>vmname</replaceable></arg>
650 </group>
651 <arg choice="plain">webcam attach</arg>
652 <arg><replaceable>pathname</replaceable><arg><replaceable>settings</replaceable></arg></arg>
653 </cmdsynopsis>
654
655 <cmdsynopsis id="synopsis-vboxmanage-controlvm-webcam-detach">
656 <command>VBoxManage controlvm</command>
657 <group choice="req">
658 <arg choice="plain"><replaceable>uuid</replaceable></arg>
659 <arg choice="plain"><replaceable>vmname</replaceable></arg>
660 </group>
661 <arg choice="plain">webcam detach</arg>
662 <arg><replaceable>pathname</replaceable></arg>
663 </cmdsynopsis>
664
665 <cmdsynopsis id="synopsis-vboxmanage-controlvm-webcam-list">
666 <command>VBoxManage controlvm</command>
667 <group choice="req">
668 <arg choice="plain"><replaceable>uuid</replaceable></arg>
669 <arg choice="plain"><replaceable>vmname</replaceable></arg>
670 </group>
671 <arg choice="plain">webcam list</arg>
672 </cmdsynopsis>
673
674 <cmdsynopsis id="synopsis-vboxmanage-controlvm-addencpassword">
675 <command>VBoxManage controlvm</command>
676 <group choice="req">
677 <arg choice="plain"><replaceable>uuid</replaceable></arg>
678 <arg choice="plain"><replaceable>vmname</replaceable></arg>
679 </group>
680 <arg choice="plain">addencpassword</arg>
681 <arg choice="req"><replaceable>ID</replaceable></arg>
682 <group choice="req">
683 <arg choice="plain"><replaceable>password-file</replaceable></arg>
684 <arg choice="plain">-</arg>
685 </group>
686 <arg>--removeonsuspend=<group choice="plain">
687 <arg choice="plain">yes</arg>
688 <arg choice="plain">no</arg>
689 </group></arg>
690 </cmdsynopsis>
691
692 <cmdsynopsis id="synopsis-vboxmanage-controlvm-removeencpassword">
693 <command>VBoxManage controlvm</command>
694 <group choice="req">
695 <arg choice="plain"><replaceable>uuid</replaceable></arg>
696 <arg choice="plain"><replaceable>vmname</replaceable></arg>
697 </group>
698 <arg choice="plain">removeencpassword</arg>
699 <arg choice="req"><replaceable>ID</replaceable></arg>
700 </cmdsynopsis>
701
702 <cmdsynopsis id="synopsis-vboxmanage-controlvm-removeallencpasswords">
703 <command>VBoxManage controlvm</command>
704 <group choice="req">
705 <arg choice="plain"><replaceable>uuid</replaceable></arg>
706 <arg choice="plain"><replaceable>vmname</replaceable></arg>
707 </group>
708 <arg choice="plain">removeallencpasswords</arg>
709 </cmdsynopsis>
710
711 <cmdsynopsis id="synopsis-vboxmanage-controlvm-changeuartmode">
712 <command>VBoxManage controlvm</command>
713 <group choice="req">
714 <arg choice="plain"><replaceable>uuid</replaceable></arg>
715 <arg choice="plain"><replaceable>vmname</replaceable></arg>
716 </group>
717 <arg choice="plain">changeuartmode<replaceable>N</replaceable></arg>
718 <group choice="plain">
719 <arg choice="plain">disconnected</arg>
720 <arg choice="plain">server <replaceable>pipe-name</replaceable></arg>
721 <arg choice="plain">client <replaceable>pipe-name</replaceable></arg>
722 <arg choice="plain">tcpserver <replaceable>port</replaceable></arg>
723 <arg choice="plain">tcpclient <replaceable>hostname</replaceable>:<replaceable>port</replaceable></arg>
724 <arg choice="plain">file <replaceable>filename</replaceable></arg>
725 <arg choice="plain"><replaceable>device-name</replaceable></arg>
726 </group>
727 </cmdsynopsis>
728
729 <cmdsynopsis id="synopsis-vboxmanage-controlvm-autostart-enabled">
730 <command>VBoxManage controlvm</command>
731 <group choice="req">
732 <arg choice="plain"><replaceable>uuid</replaceable></arg>
733 <arg choice="plain"><replaceable>vmname</replaceable></arg>
734 </group>
735 <arg choice="plain">autostart-enabled<replaceable>N</replaceable></arg>
736 <group choice="plain">
737 <arg choice="plain">on</arg>
738 <arg choice="plain">off</arg>
739 </group>
740 </cmdsynopsis>
741
742 <cmdsynopsis id="synopsis-vboxmanage-controlvm-autostart-delay">
743 <command>VBoxManage controlvm</command>
744 <group choice="req">
745 <arg choice="plain"><replaceable>uuid</replaceable></arg>
746 <arg choice="plain"><replaceable>vmname</replaceable></arg>
747 </group>
748 <arg choice="plain">autostart-delay<replaceable>seconds</replaceable></arg>
749 </cmdsynopsis>
750 </refsynopsisdiv>
751
752 <refsect1>
753 <title>Description</title>
754 <para>
755 The <command>VBoxManage controlvm</command> command enables you to
756 change the state of a running virtual machine (VM). The following
757 sections describe the subcommands that you can use:
758 </para>
759 <refsect2 id="vboxmanage-controlvm-pause">
760 <title>Pause a Virtual Machine</title>
761 <remark role="help-copy-synopsis"/>
762 <para>
763 The <command>VBoxManage controlvm
764 <replaceable>vmname</replaceable> pause</command> command
765 temporarily stops the execution of a VM. When paused, the VM's
766 state is not permanently changed.
767 </para>
768 <para>
769 The VM window appears as gray and the title bar of the window
770 indicates that the VM is currently Paused. This action is
771 equivalent to selecting <emphasis role="bold">Pause</emphasis>
772 from the <emphasis role="bold">Machine</emphasis> menu of the
773 GUI.
774 </para>
775 </refsect2>
776 <refsect2 id="vboxmanage-controlvm-resume">
777 <title>Resume a Paused Virtual Machine</title>
778 <remark role="help-copy-synopsis"/>
779 <para>
780 The <command>VBoxManage controlvm
781 <replaceable>vmname</replaceable> resume</command> command
782 restarts the execution of a paused VM. This action is equivalent
783 to selecting <emphasis role="bold">Resume</emphasis> from the
784 <emphasis role="bold">Machine</emphasis> menu of the GUI.
785 </para>
786 </refsect2>
787 <refsect2 id="vboxmanage-controlvm-reset">
788 <title>Reset a Virtual Machine</title>
789 <remark role="help-copy-synopsis"/>
790 <para>
791 The <command>VBoxManage controlvm
792 <replaceable>vmname</replaceable> reset</command> command
793 performs a cold reset the VM. This command has the same effect
794 on a VM as pressing the Reset button on a physical computer.
795 </para>
796 <para>
797 The cold reboot immediately restarts and reboots the guest
798 operating system (OS). The state of the VM is not saved prior to
799 the reset, so data might be lost. This action is equivalent to
800 selecting <emphasis role="bold">Reset</emphasis> from the
801 <emphasis role="bold">Machine</emphasis> menu of the GUI.
802 </para>
803 </refsect2>
804 <refsect2 id="vboxmanage-controlvm-poweroff">
805 <title>Power Off a Virtual Machine</title>
806 <remark role="help-copy-synopsis"/>
807 <para>
808 The <command>VBoxManage controlvm
809 <replaceable>vmname</replaceable> poweroff</command> command
810 powers off the VM. This command has the same effect on a VM as
811 pulling the power cable on a physical computer.
812 </para>
813 <para>
814 The state of the VM is not saved prior to poweroff, so data
815 might be lost. This action is equivalent to selecting
816 <emphasis role="bold">Close</emphasis> from the
817 <emphasis role="bold">Machine</emphasis> menu of the GUI or to
818 clicking the VM window's Close button, and then selecting
819 <emphasis role="bold">Power Off the Machine</emphasis>.
820 </para>
821 <para>
822 When in the powered off state, you can restart the VM. See
823 <xref linkend="vboxmanage-startvm" />.
824 </para>
825 </refsect2>
826 <refsect2 id="vboxmanage-controlvm-savestate">
827 <title>Save the State of a Virtual Machine</title>
828 <remark role="help-copy-synopsis"/>
829 <para>
830 The <command>VBoxManage controlvm
831 <replaceable>vmname</replaceable> savestate</command> command
832 saves the current state of the VM to disk and then stops the VM.
833 </para>
834 <para>
835 This action is equivalent to selecting
836 <emphasis role="bold">Close</emphasis> from the
837 <emphasis role="bold">Machine</emphasis> menu of the GUI or to
838 clicking the VM window's Close button, and then selecting
839 <emphasis role="bold">Save the Machine State</emphasis>.
840 </para>
841 <para>
842 When in the saved state, you can restart the VM. It will continue
843 exactly in the state you saved.
844 </para>
845 </refsect2>
846 <refsect2 id="vboxmanage-controlvm-acpipowerbutton">
847 <title>Send an APCI Shutdown Signal to a Virtual Machine</title>
848 <remark role="help-copy-synopsis"/>
849 <para>
850 The <command>VBoxManage controlvm
851 <replaceable>vmname</replaceable> acpipowerbutton</command>
852 command sends an ACPI shutdown signal to the VM. This command
853 has the same effect on a VM as pressing the Power button on a
854 physical computer.
855 </para>
856 <para>
857 So long as the VM runs a guest OS that provides appropriately
858 configured ACPI support, this command triggers an operating
859 system shutdown from within the VM.
860 </para>
861 </refsect2>
862 <refsect2 id="vboxmanage-controlvm-acpisleepbutton">
863 <title>Send an APCI Sleep Signal to a Virtual Machine</title>
864 <remark role="help-copy-synopsis"/>
865 <para>
866 The <command>VBoxManage controlvm
867 <replaceable>vmname</replaceable> acpisleepbutton</command>
868 command sends an ACPI sleep signal to the VM.
869 </para>
870 <para>
871 So long as the VM runs a guest OS that provides appropriately
872 configured ACPI support, this command triggers a sleep mechanism
873 from within the VM.
874 </para>
875 </refsect2>
876 <refsect2 id="vboxmanage-controlvm-reboot">
877 <title>Reboot the guest OS</title>
878 <remark role="help-copy-synopsis"/>
879 <para>
880 The <command>VBoxManage controlvm
881 <replaceable>vmname</replaceable> reboot</command>
882 command asks the guest OS to reboot itself.
883 </para>
884 <para>
885 This commands requires Guest Additions to be installed in the VM.
886 </para>
887 </refsect2>
888 <refsect2 id="vboxmanage-controlvm-shutdown">
889 <title>Shut down the guest OS</title>
890 <remark role="help-copy-synopsis"/>
891 <para>
892 The <command>VBoxManage controlvm
893 <replaceable>vmname</replaceable> shutdown</command>
894 command asks the guest OS to halt + shutdown, optionally forcing
895 the shutdown.
896 </para>
897 <para>
898 This commands requires Guest Additions to be installed in the VM.
899 </para>
900 </refsect2>
901 <refsect2 id="vboxmanage-controlvm-keyboardputscancode">
902 <title>Send Keyboard Scancodes to a Virtual Machine</title>
903 <remark role="help-copy-synopsis"/>
904 <para>
905 The <command>VBoxManage controlvm
906 <replaceable>vmname</replaceable> keyboardputscancode</command>
907 command sends keyboard scancode commands to the VM.
908 </para>
909 <para>
910 For information about keyboard scancodes, see
911 <ulink url="http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html" />.
912 </para>
913 </refsect2>
914 <refsect2 id="vboxmanage-controlvm-keyboardputstring">
915 <title>Send Keyboard Strings to a Virtual Machine</title>
916 <remark role="help-copy-synopsis"/>
917 <para>
918 The <command>VBoxManage controlvm
919 <replaceable>vmname</replaceable> keyboardputstring</command>
920 command sends keyboard strings to the VM.
921 </para>
922 </refsect2>
923 <refsect2 id="vboxmanage-controlvm-keyboardputfile">
924 <title>Send a File to a Virtual Machine</title>
925 <remark role="help-copy-synopsis"/>
926 <para>
927 The <command>VBoxManage controlvm
928 <replaceable>vmname</replaceable> keyboardputfile</command>
929 command sends a file to the VM.
930 </para>
931 </refsect2>
932 <refsect2 id="vboxmanage-controlvm-setlinkstate">
933 <title>Set the Link State for a Virtual Machine</title>
934 <remark role="help-copy-synopsis"/>
935 <para>
936 <command>VBoxManage controlvm <replaceable>vmname</replaceable>
937 setlinkstate<replaceable>N</replaceable></command> command
938 enables you to connect or disconnect the virtual network cable
939 from the network interface instance
940 (<replaceable>N</replaceable>). Valid values are
941 <literal>on</literal> and <literal>off</literal>. The default
942 value is <literal>on</literal>.
943 </para>
944 </refsect2>
945 <refsect2 id="vboxmanage-controlvm-nic">
946 <title>Set the Type of Networking to Use for a Virtual Machine</title>
947 <remark role="help-copy-synopsis"/>
948 <para>
949 The <command>VBoxManage controlvm
950 <replaceable>vmname</replaceable>
951 nic<replaceable>N</replaceable></command> command specifies the
952 type of networking to use on the specified VM's virtual network
953 card. <replaceable>N</replaceable> numbering begins with
954 <literal>1</literal>.
955 </para>
956 <para>
957 The following valid network types are also described in
958 <xref linkend="networkingmodes" />:
959 </para>
960 <itemizedlist>
961 <listitem><para>
962 <literal>null</literal> specifies that the VM is is not
963 connected to the host system.
964 </para></listitem>
965 <listitem><para>
966 <literal>nat</literal> specifies that the VM uses network
967 address translation (NAT).
968 </para></listitem>
969 <listitem><para>
970 <literal>bridged</literal> specifies that the VM uses
971 bridged networking.
972 </para></listitem>
973 <listitem><para>
974 <literal>intnet</literal> specifies that the VM communicates
975 with other VMs by using internal networking.
976 </para></listitem>
977 <listitem><para>
978 <literal>hostonly</literal> specifies that the VM uses
979 host-only networking.
980 </para></listitem>
981 <listitem><para>
982 <literal>natnetwork</literal> specifies that the VM uses NAT
983 networking.
984 </para></listitem>
985 <listitem><para>
986 <literal>generic</literal> specifies that the VM has access
987 to rarely used submodes
988 </para></listitem>
989 </itemizedlist>
990 </refsect2>
991 <refsect2 id="vboxmanage-controlvm-nictrace">
992 <title>Trace the Network Traffic of a Virtual Machine</title>
993 <remark role="help-copy-synopsis"/>
994 <para>
995 The <command>VBoxManage controlvm
996 <replaceable>vmname</replaceable>
997 nictrace<replaceable>N</replaceable></command> command enables
998 you to trace the network traffic on the specified virtual
999 network card (<replaceable>N</replaceable>).
1000 <replaceable>N</replaceable> numbering begins with
1001 <literal>1</literal>. Valid values are <literal>on</literal> and
1002 <literal>off</literal>. The default value is
1003 <literal>off</literal>.
1004 </para>
1005 <para>
1006 If you did not configure a file name for the trace file then
1007 a default one is used, placing it in the VM subdirectory.
1008 </para>
1009 </refsect2>
1010 <refsect2 id="vboxmanage-controlvm-nictracefile">
1011 <title>Specify the Network Traffic Trace Log File for a Virtual Machine</title>
1012 <remark role="help-copy-synopsis"/>
1013 <para>
1014 The <command>VBoxManage controlvm
1015 <replaceable>vmname</replaceable>
1016 nictracefile<replaceable>N</replaceable></command> command
1017 enables you to specify the name of the network traffic trace log
1018 file for the specified virtual network card
1019 (<replaceable>N</replaceable>). <replaceable>N</replaceable>
1020 numbering begins with <literal>1</literal>.
1021 </para>
1022 </refsect2>
1023 <refsect2 id="vboxmanage-controlvm-nicpromisc">
1024 <title>Specify the Promiscuous Mode to Use for a Virtual Machine</title>
1025 <remark role="help-copy-synopsis"/>
1026 <para>
1027 The <command>VBoxManage controlvm
1028 <replaceable>vmname</replaceable>
1029 nicpromisc<replaceable>N</replaceable></command> command enables
1030 you to specify how to handle promiscuous mode for a bridged
1031 network. The default value of <literal>deny</literal> hides any
1032 traffic that is not intended for this VM. The
1033 <literal>allow-vms</literal> value hides all host traffic from
1034 this VM but enables the VM to see traffic to and from other VMs.
1035 The <literal>allow-all</literal> value removes this restriction
1036 completely.
1037 </para>
1038 </refsect2>
1039 <refsect2 id="vboxmanage-controlvm-nicproperty">
1040 <title>Specify the Network Backend Property Values for a Virtual Machine</title>
1041 <remark role="help-copy-synopsis"/>
1042 <para>
1043 The <command>VBoxManage controlvm
1044 <replaceable>vmname</replaceable>
1045 nicproperty<replaceable>N</replaceable>
1046 <replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></command>
1047 command, in combination with <literal>nicgenericdrv</literal>,
1048 enables you to pass property values to rarely-used network
1049 backends.
1050 </para>
1051 <para>
1052 Those properties are backend engine-specific, and are different
1053 between UDP Tunnel and the VDE backend drivers. See
1054 <xref linkend="network_udp_tunnel" />.
1055 </para>
1056 </refsect2>
1057 <refsect2 id="vboxmanage-controlvm-natpf">
1058 <title>Specify a NAT Port Forwarding Rule for a Virtual Machine</title>
1059 <remark role="help-copy-synopsis"/>
1060 <para>
1061 The <command>VBoxManage controlvm
1062 <replaceable>vmname</replaceable>
1063 natpf<replaceable>N</replaceable></command> command specifies a
1064 NAT port-forwarding rule. See <xref linkend="natforward"/>.
1065 </para>
1066 </refsect2>
1067 <refsect2 id="vboxmanage-controlvm-natpf-delete">
1068 <title>Delete a NAT Port Forwarding Rule for a Virtual Machine</title>
1069 <remark role="help-copy-synopsis"/>
1070 <para>
1071 The <command>VBoxManage controlvm
1072 <replaceable>vmname</replaceable>
1073 natpf<replaceable>N</replaceable> delete</command> command deletes
1074 the specified NAT port-forwarding rule. See
1075 <xref linkend="natforward"/>.
1076 </para>
1077 </refsect2>
1078 <refsect2 id="vboxmanage-controlvm-guestmemoryballoon">
1079 <title>Change Size of a Virtual Machine's Guest Memory Balloon</title>
1080 <remark role="help-copy-synopsis"/>
1081 <para>
1082 The <command>VBoxManage controlvm
1083 <replaceable>vmname</replaceable> guestmemoryballoon</command>
1084 command changes the size of the guest memory balloon. The guest
1085 memory balloon is the memory allocated by the &product-name;
1086 Guest Additions from the guest OS and returned to the hypervisor
1087 for reuse by other VMs. The value you specify is in megabytes.
1088 See <xref linkend="guestadd-balloon" />.
1089 </para>
1090 </refsect2>
1091 <refsect2 id="vboxmanage-controlvm-usbattach">
1092 <title>Make a Host System USB Device Visible to a Virtual Machine</title>
1093 <remark role="help-copy-synopsis"/>
1094 <para>
1095 The <command>VBoxManage controlvm
1096 <replaceable>vmname</replaceable> usbattach</command> command
1097 dynamically attaches a host USB device to the VM, which makes it
1098 visible. You do not need to create a filter.
1099 </para>
1100 <para>
1101 Specify a USB device by its Universally Unique Identifier (UUID)
1102 or by its address on the host system. Use the
1103 <command>VBoxManage list usbhost</command> command to obtain
1104 information about USB devices on the host system.
1105 </para>
1106 <para>
1107 Use the <option>--capturefile</option> option to specify the
1108 absolute path of a file in which to write logging data.
1109 </para>
1110 </refsect2>
1111 <refsect2 id="vboxmanage-controlvm-usbdetach">
1112 <title>Make a Host System USB Device Invisible to a Virtual Machine</title>
1113 <remark role="help-copy-synopsis"/>
1114 <para>
1115 The <command>VBoxManage controlvm
1116 <replaceable>vmname</replaceable> usbdetach</command> command
1117 dynamically detaches a host USB device from the VM, which makes
1118 it invisible. You do not need to create a filter.
1119 </para>
1120 <para>
1121 Specify a USB device by its UUID or by its address on the host
1122 system. Use the <command>VBoxManage list usbhost</command>
1123 command to obtain information about USB devices on the host
1124 system.
1125 </para>
1126 </refsect2>
1127 <refsect2 id="vboxmanage-controlvm-audioin">
1128 <title>Enable or Disable Audio Capture From the Host System</title>
1129 <remark role="help-copy-synopsis"/>
1130 <para>
1131 The <command>VBoxManage controlvm
1132 <replaceable>vmname</replaceable> audioin</command> command
1133 specifies whether to enable or disable audio capture from the
1134 host system. Valid values are <literal>on</literal>, which
1135 enables audio capture and <literal>off</literal>, which disables
1136 audio capture. The default value is <literal>off</literal>.
1137 </para>
1138 </refsect2>
1139 <refsect2 id="vboxmanage-controlvm-audioout">
1140 <title>Enable or Disable Audio Playback From a Virtual Machine</title>
1141 <remark role="help-copy-synopsis"/>
1142 <para>
1143 The <command>VBoxManage controlvm
1144 <replaceable>vmname</replaceable> audioout</command> command
1145 specifies whether to enable or disable audio playback from the
1146 guest VM. Valid values are <literal>on</literal>, which enables
1147 audio playback and <literal>off</literal>, which disables audio
1148 playback. The default value is <literal>off</literal>.
1149 </para>
1150 </refsect2>
1151 <refsect2 id="vboxmanage-controlvm-clipboard-mode">
1152 <title>Specify How to Share the Host OS or Guest OS Clipboard</title>
1153 <remark role="help-copy-synopsis"/>
1154 <para>
1155 The <command>VBoxManage controlvm
1156 <replaceable>vmname</replaceable> clipboard mode</command> command
1157 specifies how to share the guest or host OS's clipboard with the
1158 host system or VM. Valid values are <literal>disabled</literal>,
1159 <literal>hosttoguest</literal>, <literal>guesttohost</literal>,
1160 and <literal>bidirectional</literal>. The default value is
1161 <literal>disabled</literal>. See
1162 <xref linkend="generalsettings" />.
1163 </para>
1164 <para>
1165 This feature requires that the &product-name; Guest Additions
1166 are installed in the VM.
1167 </para>
1168 </refsect2>
1169
1170 <refsect2 id="vboxmanage-controlvm-clipboard-filetransfers">
1171 <title>Specify If Files Can Be Transferred Through the Clipboard</title>
1172 <remark role="help-copy-synopsis"/>
1173 <para>
1174 The <command>VBoxManage controlvm
1175 <replaceable>vmname</replaceable> clipboard filetransfers</command>
1176 command specifies if it is possible to transfer files through the
1177 clipboard between the host and VM, in the direction which is allowed.
1178 Valid values are <literal>off</literal> and <literal>on</literal>.
1179 The default value is <literal>off</literal>.
1180 </para>
1181 <para>
1182 This feature requires that the &product-name; Guest Additions
1183 are installed in the VM.
1184 </para>
1185 </refsect2>
1186
1187 <refsect2 id="vboxmanage-controlvm-draganddrop">
1188 <title>Set the Drag and Drop Mode Between the Host System and a Virtual Machine</title>
1189 <remark role="help-copy-synopsis"/>
1190 <para>
1191 The <command>VBoxManage controlvm
1192 <replaceable>vmname</replaceable> draganddrop</command> command
1193 specifies the current drag and drop mode to use between the host
1194 system and the VM. Valid values are <literal>disabled</literal>,
1195 <literal>hosttoguest</literal>, <literal>guesttohost</literal>,
1196 and <literal>bidirectional</literal>. The default value is
1197 <literal>disabled</literal>. See
1198 <xref linkend="guestadd-dnd" />.
1199 </para>
1200 <para>
1201 This feature requires that the &product-name; Guest Additions
1202 are installed in the VM.
1203 </para>
1204 </refsect2>
1205 <refsect2 id="vboxmanage-controlvm-vrde">
1206 <title>Enable or Disable the VRDE Server</title>
1207 <remark role="help-copy-synopsis"/>
1208 <para>
1209 The <command>VBoxManage controlvm
1210 <replaceable>vmname</replaceable> vrde</command> command enables
1211 or disables the VirtualBox Remote Desktop Extension (VRDE)
1212 server, if installed. Valid values are <literal>on</literal> and
1213 <literal>off</literal>. The default value is
1214 <literal>off</literal>.
1215 </para>
1216 </refsect2>
1217 <refsect2 id="vboxmanage-controlvm-vrdeport">
1218 <title>Specify VRDE Server Ports</title>
1219 <remark role="help-copy-synopsis"/>
1220 <para>
1221 The <command>VBoxManage controlvm
1222 <replaceable>vmname</replaceable> vrdeport</command> command
1223 specifies the port or range of ports to which the VRDE server
1224 can bind. The default value is <literal>default</literal> or
1225 <literal>0</literal>, which is the standard RDP port,
1226 <literal>3389</literal>.
1227 </para>
1228 <para>
1229 Also see the <option>--vrde-port</option> option description in
1230 <xref linkend="vboxmanage-modifyvm-vrde" />.
1231 </para>
1232 </refsect2>
1233 <refsect2 id="vboxmanage-controlvm-vrdeproperty">
1234 <title>Specify VRDE Server Port Numbers and IP Addresses</title>
1235 <remark role="help-copy-synopsis"/>
1236 <para>
1237 The <command>VBoxManage controlvm
1238 <replaceable>vmname</replaceable> vrdeproperty</command> command
1239 specifies the port numbers and IP address on the VM to which the
1240 VRDE server can bind.
1241 </para>
1242 <itemizedlist>
1243 <listitem><para>
1244 <literal>TCP/Ports</literal> specifies a port or a range of
1245 ports to which the VRDE server can bind. The default value
1246 is <literal>default</literal> or <literal>0</literal>, which
1247 is the standard RDP port, <literal>3389</literal>.
1248 </para><para>
1249 Also see the <option>--vrde-port</option> option description
1250 in <xref linkend="vboxmanage-modifyvm-vrde" />.
1251 </para></listitem>
1252 <listitem><para>
1253 <literal>TCP/Address</literal> specifies the IP address of
1254 the host network interface to which the VRDE server binds.
1255 When specified, the server accepts to connect only on the
1256 specified host network interface.
1257 </para><para>
1258 Also see the <option>--vrde-address</option> option
1259 description in <xref linkend="vboxmanage-modifyvm-vrde" />.
1260 </para></listitem>
1261 <listitem><para>
1262 <literal>VideoChannel/Enabled</literal> specifies whether to
1263 enable the VirtualBox Remote Desktop Protocol (VRDP) video
1264 channel. Valid values are <literal>1</literal> to enable the
1265 video channel and <literal>0</literal> to disable the video
1266 channel. The default value is <literal>off</literal>. See
1267 <xref linkend="vrde-videochannel" />.
1268 </para></listitem>
1269 <listitem><para>
1270 <literal>VideoChannel/Quality</literal> specifies the JPEG
1271 compression level on the VRDE server video channel. Valid
1272 values are between 10% and 100%, inclusive. Lower values
1273 mean lower quality but higher compression. The default value
1274 is <literal>100</literal>. See
1275 <xref linkend="vrde-videochannel" />.
1276 </para></listitem>
1277 <listitem><para>
1278 <literal>VideoChannel/DownscaleProtection</literal>
1279 specifies whether to enable the video channel downscale
1280 protection feature. Specify <literal>1</literal> to enable
1281 the feature. This feature is disabled by default.
1282 </para><para>
1283 When enabled, if the video's size equals the shadow buffer
1284 size, the video is shown in full-screen mode. If the video's
1285 size is between full-screen mode and the downscale
1286 threshold, the video is not shown as it might be an
1287 application window that is unreadable when downscaled. When
1288 disabled, the downscale protection feature always attempts
1289 to show videos.
1290 </para></listitem>
1291 <listitem><para>
1292 <literal>Client/DisableDisplay</literal> specifies whether
1293 to disable the VRDE server display feature. Valid values are
1294 <literal>1</literal> to disable the feature and an empty
1295 string (<literal>""</literal>) to enable the feature.
1296 The default value is an empty string. See
1297 <xref linkend="vrde-customization"/>.
1298 </para></listitem>
1299 <listitem><para>
1300 <literal>Client/DisableInput</literal> specifies whether to
1301 disable the VRDE server input feature. Valid values are
1302 <literal>1</literal> to disable the feature and an empty
1303 string (<literal>""</literal>) to enable the feature.
1304 The default value is <literal>1</literal>. See
1305 <xref linkend="vrde-customization"/>.
1306 </para></listitem>
1307 <listitem><para>
1308 <literal>Client/DisableAudio</literal> specifies whether to
1309 disable the VRDE server audio feature. Valid values are
1310 <literal>1</literal> to disable the feature and an empty
1311 string (<literal>""</literal>) to enable the feature.
1312 The default value is <literal>1</literal>. See
1313 <xref linkend="vrde-customization"/>.
1314 </para></listitem>
1315 <listitem><para>
1316 <literal>Client/DisableUSB</literal> specifies whether to
1317 disable the VRDE server USB feature. Valid values are
1318 <literal>1</literal> to disable the feature and an empty
1319 string (<literal>""</literal>) to enable the feature.
1320 The default value is <literal>1</literal>. See
1321 <xref linkend="vrde-customization"/>.
1322 </para></listitem>
1323 <listitem><para>
1324 <literal>Client/DisableClipboard</literal> specifies whether
1325 to disable the VRDE clipboard feature. Valid values are
1326 <literal>1</literal> to disable the feature and an empty
1327 string (<literal>""</literal>) to enable the feature.
1328 To reenable the feature, use
1329 <literal>Client/DisableClipboard=</literal>. The default
1330 value is <literal>1</literal>. See
1331 <xref linkend="vrde-customization"/>.
1332 </para></listitem>
1333 <listitem><para>
1334 <literal>Client/DisableUpstreamAudio</literal> specifies
1335 whether to disable the VRDE upstream audio feature. Valid
1336 values are <literal>1</literal> to disable the feature and
1337 an empty string (<literal>""</literal>) to enable the
1338 feature. To reenable the feature, use
1339 <literal>Client/DisableUpstreamAudio=</literal>. The default
1340 value is <literal>1</literal>. See
1341 <xref linkend="vrde-customization"/>.
1342 </para></listitem>
1343 <listitem><para>
1344 <literal>Client/DisableRDPDR</literal> specifies whether to
1345 disable the RDP Device Redirection For Smart Cards feature
1346 on the VRDE server. Valid values are <literal>1</literal> to
1347 disable the feature and an empty string
1348 (<literal>""</literal>) to enable the feature.
1349 The default value is <literal>1</literal>. See
1350 <xref linkend="vrde-customization"/>.
1351 </para></listitem>
1352 <listitem><para>
1353 <literal>H3DRedirect/Enabled</literal> specifies whether to
1354 enable the VRDE server 3D redirection feature. Valid values
1355 are <literal>1</literal> to enable the feature and an empty
1356 string (<literal>""</literal>) to disable the feature.
1357 See <xref linkend="vrde-customization"/>.
1358 </para></listitem>
1359 <listitem><para>
1360 <literal>Security/Method</literal> specifies the security
1361 method to use for a connection. See
1362 <xref linkend="vrde-crypt" />.
1363 </para><itemizedlist>
1364 <listitem><para>
1365 <literal>Negotiate</literal> accepts both enhanced (TLS)
1366 and standard RDP security connections. The security
1367 method is negotiated with the client. This is the
1368 default value.
1369 </para></listitem>
1370 <listitem><para>
1371 <literal>RDP</literal> accepts only standard RDP
1372 security connections.
1373 </para></listitem>
1374 <listitem><para>
1375 <literal>TLS</literal> accepts only enhanced RDP
1376 security connections. The client must support TLS.
1377 </para></listitem>
1378 </itemizedlist></listitem>
1379 <listitem><para>
1380 <literal>Security/ServerCertificate</literal> specifies the
1381 absolute path of the server certificate to use for a
1382 connection. See <xref linkend="vrde-crypt" />.
1383 </para></listitem>
1384 <listitem><para>
1385 <literal>Security/ServerPrivateKey</literal> specifies the
1386 absolute path of the server private key. See
1387 <xref linkend="vrde-crypt" />.
1388 </para></listitem>
1389 <listitem><para>
1390 <literal>Security/CACertificate</literal> specifies the
1391 absolute path of the CA self-signed certificate. See
1392 <xref linkend="vrde-crypt" />.
1393 </para></listitem>
1394 <listitem><para>
1395 <literal>Audio/RateCorrectionMode</literal> specifies the
1396 rate correction mode to use.
1397 </para><itemizedlist>
1398 <listitem><para>
1399 <literal>VRDP_AUDIO_MODE_VOID</literal> indicates that
1400 no mode is specified. Use this value to unset any audio
1401 mode that is already set.
1402 </para></listitem>
1403 <listitem><para>
1404 <literal>VRDP_AUDIO_MODE_RC</literal> specifies to use
1405 the rate correction mode.
1406 </para></listitem>
1407 <listitem><para>
1408 <literal>VRDP_AUDIO_MODE_LPF</literal> specifies to use
1409 the low pass filter mode.
1410 </para></listitem>
1411 <listitem><para>
1412 <literal>VRDP_AUDIO_MODE_CS</literal> specifies to use
1413 the client sync mode to prevent underflow or overflow of
1414 the client queue.
1415 </para></listitem>
1416 </itemizedlist></listitem>
1417 <listitem><para>
1418 <literal>Audio/LogPath</literal> specifies the absolute path
1419 of the audio log file.
1420 </para></listitem>
1421 </itemizedlist>
1422 </refsect2>
1423 <refsect2 id="vboxmanage-controlvm-vrdevideochannelquality">
1424 <title>Specify the Image Quality for VRDP Video Redirection</title>
1425 <remark role="help-copy-synopsis"/>
1426 <para>
1427 The <command>VBoxManage controlvm
1428 <replaceable>vmname</replaceable>
1429 vrdevideochannelquality</command> command sets the image
1430 quality, as a JPEG compression level value, for video
1431 redirection. Valid values are between 10% and 100%, inclusive.
1432 Lower values mean lower quality but higher compression. See
1433 <xref linkend="vrde-videochannel" />.
1434 </para>
1435 </refsect2>
1436 <refsect2 id="vboxmanage-controlvm-setvideomodehint">
1437 <title>Specify the Video Mode for the Guest VM</title>
1438 <remark role="help-copy-synopsis"/>
1439 <para>
1440 The <command>VBoxManage controlvm
1441 <replaceable>vmname</replaceable> setvideomodehint</command>
1442 command specifies the video mode for the guest VM to use. You
1443 must have the &product-name; Guest Additions installed. Note
1444 that this feature does not work for all guest systems.
1445 </para>
1446 </refsect2>
1447 <refsect2 id="vboxmanage-controlvm-setscreenlayout">
1448 <title>Specify the Screen Layout for a Display on the Guest VM</title>
1449 <remark role="help-copy-synopsis"/>
1450 <para>
1451 The <command>VBoxManage controlvm
1452 <replaceable>vmname</replaceable> setscreenlayout</command>
1453 command can be used to configure multiscreen displays. The
1454 specified screen on the guest VM can be enabled or disabled, or
1455 a custom screen layout can be configured.
1456 </para>
1457 </refsect2>
1458 <refsect2 id="vboxmanage-controlvm-screenshotpng">
1459 <title>Take a Screen Shot of the Virtual Machine Display</title>
1460 <remark role="help-copy-synopsis"/>
1461 <para>
1462 The <command>VBoxManage controlvm
1463 <replaceable>vmname</replaceable> screenshotpng</command>
1464 command takes a screenshot of the guest display and saves it as
1465 PNG in the specified file.
1466 </para>
1467 <itemizedlist>
1468 <listitem><para>
1469 <replaceable>filename</replaceable> specifies the name of
1470 the PNG file to create.
1471 </para></listitem>
1472 <listitem><para>
1473 <replaceable>display</replaceable> specifies the display
1474 number for the screen shot. For a single monitor guest
1475 display, this is <literal>0</literal>.
1476 </para></listitem>
1477 </itemizedlist>
1478 </refsect2>
1479 <refsect2 id="vboxmanage-controlvm-recording">
1480 <title>Enable or Disable the Recording of a Virtual Machine Session</title>
1481 <remark role="help-copy-synopsis"/>
1482 <para>
1483 The <command>VBoxManage controlvm
1484 <replaceable>vmname</replaceable> recording</command> command
1485 enables or disables the recording of a VM session into a
1486 WebM/VP8 file. Valid values are <literal>on</literal>, which
1487 begins recording when the VM session starts and
1488 <literal>off</literal>, which disables recording. The default
1489 value is <literal>off</literal>.
1490 </para>
1491 </refsect2>
1492 <refsect2 id="vboxmanage-controlvm-recording-screens">
1493 <title>Specify the Virtual Machine Screens to Record</title>
1494 <remark role="help-copy-synopsis"/>
1495 <para>
1496 The <command>VBoxManage controlvm
1497 <replaceable>vmname</replaceable> recording screens</command>
1498 command enables you to specify which VM screens to record. The
1499 recording for each screen that you specify is saved to its own
1500 file in the machine folder. You cannot modify this setting while
1501 recording is enabled.
1502 </para>
1503 <itemizedlist>
1504 <listitem><para>
1505 <literal>all</literal> specifies that you record all VM
1506 screens.
1507 </para></listitem>
1508 <listitem><para>
1509 <literal>none</literal> specifies that you do not record any
1510 VM screens.
1511 </para></listitem>
1512 <listitem><para>
1513 <replaceable>screen-ID</replaceable> specifies one or more
1514 VM screens to record.
1515 </para></listitem>
1516 </itemizedlist>
1517 </refsect2>
1518 <refsect2 id="vboxmanage-controlvm-recording-filename">
1519 <title>Specify the File in Which to Save Virtual Machine Recording</title>
1520 <remark role="help-copy-synopsis"/>
1521 <para>
1522 The <command>VBoxManage controlvm
1523 <replaceable>vmname</replaceable> recording filename</command>
1524 command specifies the file in which to save the recording. You
1525 cannot modify this setting while recording is enabled.
1526 </para>
1527 <para>
1528 The default setting is to store a recording in the machine
1529 folder, using the VM name as the file name, with a
1530 <filename>webm</filename> file name extension.
1531 </para>
1532 </refsect2>
1533 <refsect2 id="vboxmanage-controlvm-recording-videores">
1534 <title>Specify the Resolution of the Recorded Video</title>
1535 <remark role="help-copy-synopsis"/>
1536 <para>
1537 <command>VBoxManage controlvm <replaceable>vmname</replaceable>
1538 recording videores</command> command specifies the resolution of
1539 the recorded video in pixels. You cannot modify this setting
1540 while recording is enabled.
1541 </para>
1542 <para>
1543 Use the Settings tool to view the video recording settings,
1544 which are based on the resolution (frame size). See the Frame
1545 Size field on the Recording tab of the Display page to view the
1546 default value.
1547 </para>
1548 <para>
1549 Specify the resolution as
1550 <replaceable>width</replaceable><literal>x</literal><replaceable>height</replaceable>:
1551 </para>
1552 <itemizedlist>
1553 <listitem><para>
1554 <replaceable>width</replaceable> specifies the width in
1555 pixels.
1556 </para></listitem>
1557 <listitem><para>
1558 <replaceable>height</replaceable> specifies the height in
1559 pixels.
1560 </para></listitem>
1561 </itemizedlist>
1562 </refsect2>
1563 <refsect2 id="vboxmanage-controlvm-recording-videorate">
1564 <title>Specify the Bit Rate of the Video</title>
1565 <remark role="help-copy-synopsis"/>
1566<!-- @todo r=andy Clarify rate. -->
1567 <para>
1568 The <command>VBoxManage controlvm
1569 <replaceable>vmname</replaceable> recording videorate</command>
1570 command specifies the bit rate,
1571 <replaceable>bit-rate</replaceable>, of the video in kilobits
1572 per second. Increasing this value improves the appearance of the
1573 video at the cost of an increased file size. You cannot modify
1574 this setting while recording is enabled.
1575 </para>
1576 <para>
1577 Use the Settings tool to view the video recording settings,
1578 which are based on the frame size. See the Video Quality field
1579 on the Recording tab of the Display page to view the default
1580 value.
1581 </para>
1582 </refsect2>
1583 <refsect2 id="vboxmanage-controlvm-recording-videofps">
1584 <title>Specify the Maximum Frequency of the Video</title>
1585 <remark role="help-copy-synopsis"/>
1586 <para>
1587 The <command>VBoxManage controlvm
1588 <replaceable>vmname</replaceable> recording videofps</command>
1589 command specifies the maximum frequency of the video to record.
1590 Video frequency is measured in frames per second (FPS). The
1591 recording skips any frames that have a frequency higher than the
1592 specified maximum. Increasing the frequency reduces the number
1593 of skipped frames and increases the file size. You cannot modify
1594 this setting while recording is enabled.
1595 </para>
1596 <para>
1597 Use the Settings tool to view the video recording settings,
1598 which are based on the frame size. See the Frame Rate field on
1599 the Recording tab of the Display page to view the default value.
1600 </para>
1601 </refsect2>
1602 <refsect2 id="vboxmanage-controlvm-recording-maxtime">
1603 <title>Specify the Maximum Amount of Time to Record Video</title>
1604 <remark role="help-copy-synopsis"/>
1605<!-- @todo r=andy Clarify time format. -->
1606 <para>
1607 The <command>VBoxManage controlvm
1608 <replaceable>vmname</replaceable> recording maxtime</command>
1609 command specifies the maximum amount time to record in seconds.
1610 The recording stops after the specified number of seconds
1611 elapses. If this value is zero, the recording continues until
1612 you stop the recording.
1613 </para>
1614 </refsect2>
1615 <refsect2 id="vboxmanage-controlvm-recording-maxfilesize">
1616 <title>Specify the Maximum Size of the Recorded Video</title>
1617 <remark role="help-copy-synopsis"/>
1618 <para>
1619 The <command>VBoxManage controlvm
1620 <replaceable>vmname</replaceable> recording
1621 maxfilesize</command> command specifies the maximum size of the
1622 recorded video file in megabytes. The recording stops when the
1623 file reaches the specified size. If this value is zero, the
1624 recording continues until you stop the recording. You cannot
1625 modify this setting while recording is enabled.
1626 </para>
1627 </refsect2>
1628 <!--
1629 <refsect2 id="vboxmanage-controlvm-recording-opts">
1630 <title>Specify Custom Options for Recording Video and/or Audio</title>
1631 <remark role="help-copy-synopsis"/>
1632 <para>
1633 The <command>VBoxManage controlvm
1634 <replaceable>vmname</replaceable> recording
1635 opts</command> command specifies additional recording options
1636 in a comma-separated keyword-value format. For example,
1637 <computeroutput>foo=bar,a=b</computeroutput>. You cannot
1638 modify this setting while recording is enabled.
1639 </para>
1640 <para>
1641 Use this option if you are an advanced user only. For
1642 information about keywords, see <emphasis>&product-name;
1643 Programming Guide and Reference</emphasis>.
1644 </para>
1645 </refsect2>
1646 -->
1647 <refsect2 id="vboxmanage-controlvm-setcredentials">
1648 <title>Specify Credentials for Remote Logins on Windows Virtual Machines</title>
1649 <remark role="help-copy-synopsis"/>
1650 <para>
1651 The <command>setcredentials</command> command enables you to
1652 specify the credentials for remotely logging in to Windows VMs.
1653 See <xref linkend="autologon" />.
1654 </para>
1655 <itemizedlist>
1656 <listitem><para>
1657 <replaceable>username</replaceable> specifies the user name
1658 with which to log in to the Windows VM.
1659 </para></listitem>
1660 <listitem><para>
1661 <option>--passwordfile=<replaceable>filename</replaceable></option>
1662 specifies the file from which to obtain the password for
1663 <replaceable>username</replaceable>.
1664 </para><para>
1665 The <option>--passwordfile</option> is mutually exclusive
1666 with the <option>--password</option> option.
1667 </para></listitem>
1668 <listitem><para>
1669 <option>--password=<replaceable>password</replaceable></option>
1670 specifies the password for
1671 <replaceable>username</replaceable>.
1672 </para><remark>
1673 This design does not conform to Oracle's security
1674 guidelines. You should not be able to specify a password on
1675 the command line because the password can be seen in a
1676 process listing.
1677 </remark><para>
1678 The <option>--password</option> is mutually exclusive with
1679 the <option>--passwordfile</option> option.
1680 </para></listitem>
1681 <listitem><para>
1682 <option>--allowlocallogin</option> specifies whether to
1683 enable or disable local logins. Valid values are
1684 <literal>on</literal> to enable local logins and
1685 <literal>off</literal> to disable local logins.
1686 </para></listitem>
1687 </itemizedlist>
1688 </refsect2>
1689 <refsect2 id="vboxmanage-controlvm-teleport">
1690 <title>Configure a Virtual Machine Target for Teleporting</title>
1691 <remark role="help-copy-synopsis"/>
1692 <para>
1693 The <command>VBoxManage controlvm
1694 <replaceable>vmname</replaceable> teleport</command> command
1695 initiates a teleporting operation between the specified VM and
1696 the specified host system. See <xref linkend="teleporting" />.
1697 </para>
1698 <para>
1699 If you specify a password, it must match the password you
1700 specified when you issued the <command>VBoxManage
1701 modifyvm</command> command for the target machine.
1702 </para>
1703 <variablelist>
1704 <varlistentry>
1705 <term><option>--host=<replaceable>hostname</replaceable></option></term>
1706 <listitem><para>
1707 Specifies the name of the VM.
1708 </para></listitem>
1709 </varlistentry>
1710 <varlistentry>
1711 <term><option>--port=<replaceable>port</replaceable></option></term>
1712 <listitem><para>
1713 Specifies the port on the VM that should listen for a
1714 teleporting request from other VMs. The port number can be
1715 any free TCP/IP port number, such as
1716 <literal>6000</literal>.
1717 </para></listitem>
1718 </varlistentry>
1719 <varlistentry>
1720 <term><option>--maxdowntime=<replaceable>msec</replaceable></option></term>
1721 <listitem><para>
1722 Specifies the maximum downtime, in milliseconds, for the
1723 teleporting target VM.
1724 </para></listitem>
1725 </varlistentry>
1726 <varlistentry>
1727 <term><option>--password=<replaceable>password</replaceable></option></term>
1728 <listitem><para>
1729 Specifies the password that the source machine uses for
1730 the teleporting request. The request succeeds only if the
1731 source machine specifies the same password.
1732 </para><remark>
1733 This design does not conform to Oracle's security
1734 guidelines. You should not be able to specify a password
1735 on the command line because the password can be seen in a
1736 process listing.
1737 </remark><para>
1738 The <option>--password</option> is mutually exclusive with
1739 the <option>--passwordfile</option> option.
1740 </para></listitem>
1741 </varlistentry>
1742 <varlistentry>
1743 <term><option>--passwordfile=<replaceable>filename</replaceable></option></term>
1744 <listitem><para>
1745 Specifies the file from which to obtain the password that
1746 the source machine uses for the teleporting request. The
1747 request succeeds only if the source machine specifies the
1748 same password.
1749 </para><para>
1750 When you specify a file name of <literal>stdin</literal>,
1751 you can read the password from standard input.
1752 </para><para>
1753 The <option>--passwordfile</option> is mutually exclusive
1754 with the <option>--password</option> option.
1755 </para></listitem>
1756 </varlistentry>
1757 </variablelist>
1758 </refsect2>
1759 <refsect2 id="vboxmanage-controlvm-plugcpu">
1760 <title>Add a Virtual CPU to a Virtual Machine</title>
1761 <remark role="help-copy-synopsis"/>
1762 <para>
1763 The <command>VBoxManage controlvm
1764 <replaceable>vmname</replaceable> plugcpu</command> command adds
1765 a virtual CPU to the specified VM if CPU hot-plugging is
1766 enabled. <replaceable>ID</replaceable> specifies the index of
1767 the virtual CPU to be added and must be a number from 0 to the
1768 maximum number of CPUs configured.
1769 </para>
1770 </refsect2>
1771 <refsect2 id="vboxmanage-controlvm-unplugcpu">
1772 <title>Remove a Virtual CPU From a Virtual Machine</title>
1773 <remark role="help-copy-synopsis"/>
1774 <para>
1775 The <command>VBoxManage controlvm
1776 <replaceable>vmname</replaceable> unplugcpu</command> command
1777 removes a virtual CPU from the specified VM if CPU hot-plugging
1778 is enabled. <replaceable>ID</replaceable> specifies the index of
1779 the virtual CPU to be removed and must be a number from 0 to the
1780 maximum number of CPUs configured. You cannot remove CPU 0.
1781 </para>
1782 </refsect2>
1783 <refsect2 id="vboxmanage-controlvm-cpuexecutioncap">
1784 <title>Set the Maximum Amount of Physical CPU Time Used by a Virtual CPU</title>
1785 <remark role="help-copy-synopsis"/>
1786 <para>
1787 The <command>VBoxManage controlvm
1788 <replaceable>vmname</replaceable> cpuexecutioncap</command>
1789 command specifies how the maximum amount of physical CPU time
1790 used by a virtual CPU. Valid values are a percentage between
1791 <literal>1</literal> and <literal>100</literal>. A value of
1792 <literal>50</literal> specifies that a single virtual CPU can
1793 use up to 50% of a physical CPU. The default value is
1794 <literal>100</literal>.
1795 </para>
1796 <para>
1797 Use this feature with caution, it can have unexpected results
1798 including timekeeping problems and lower performance than
1799 specified. If you want to limit the resource usage of a VM
1800 it is more reliable to pick an appropriate number of VCPUs.
1801 </para>
1802 </refsect2>
1803 <refsect2 id="vboxmanage-controlvm-vm-process-priority">
1804 <title>Change the Priority of a VM Process</title>
1805 <remark role="help-copy-synopsis"/>
1806 <para>
1807 The <command>VBoxManage controlvm
1808 <replaceable>vmname</replaceable> vm-process-priority</command>
1809 command specifies the priority scheme of the VM process to use
1810 when starting the specified VM and while the VM runs.
1811 </para>
1812 <para>
1813 Valid values are:
1814 </para>
1815 <itemizedlist>
1816 <listitem><para>
1817 <literal>default</literal> &ndash; Default process
1818 priority determined by the OS.
1819 </para></listitem>
1820 <listitem><para>
1821 <literal>flat</literal> &ndash; Assumes a scheduling
1822 policy which puts the process at the default priority
1823 and with all threads at the same priority.
1824 </para></listitem>
1825 <listitem><para>
1826 <literal>low</literal> &ndash; Assumes a scheduling
1827 policy which puts the process mostly below the default
1828 priority of the host OS.
1829 </para></listitem>
1830 <listitem><para>
1831 <literal>normal</literal> &ndash; Assume a scheduling
1832 policy which shares the CPU resources fairly with
1833 other processes running with the default priority of
1834 the host OS.
1835 </para></listitem>
1836 <listitem><para>
1837 <literal>high</literal> &ndash; Assumes a scheduling
1838 policy which puts the task above the default priority of
1839 the host OS. This policy might easily cause other tasks
1840 in the system to starve.
1841 </para></listitem>
1842 </itemizedlist>
1843 </refsect2>
1844 <refsect2 id="vboxmanage-controlvm-webcam-attach">
1845 <title>Attach a Webcam to a Virtual Machine</title>
1846 <remark role="help-copy-synopsis"/>
1847 <para>
1848 The <command>VBoxManage controlvm
1849 <replaceable>vmname</replaceable> webcam attach</command>
1850 command attaches a webcam to a running VM. Specify the webcam as
1851 the absolute path of the webcam on the host OS or as an alias.
1852 Use the <command>VBoxManage list webcams</command> command to
1853 obtain the webcam alias.
1854 </para>
1855 <para>
1856 Note that the <literal>.0</literal> alias is the default video
1857 input device on the host OS. <literal>.1</literal> is the first
1858 video input device, <literal>.2</literal> is the second video
1859 input device, and so on. The order of the devices is specific to
1860 the host system.
1861 </para>
1862 <para>
1863 You can specify optional settings in the form of
1864 semi-colon-separated (<literal>;</literal>) name-value pairs.
1865 These properties enable you to configure the emulated webcam
1866 device.
1867 </para>
1868 <para>
1869 The following settings are supported:
1870 </para>
1871 <variablelist>
1872 <varlistentry>
1873 <term><literal>MaxFramerate</literal></term>
1874 <listitem><para>
1875 Specifies the highest rate at which to send video frames
1876 to the VM. The rate is in frames per second. Higher frame
1877 rates increase CPU load, so you can use this setting to
1878 reduce CPU load. The default value is <literal>no maximum
1879 limit</literal>. This value enables the VM to use any
1880 frame rate supported by the webcam.
1881 </para></listitem>
1882 </varlistentry>
1883 <varlistentry>
1884 <term><literal>MaxPayloadTransferSize</literal></term>
1885 <listitem><para>
1886 Specifies the maximum number of bytes that the VM receives
1887 from the emulated webcam in one buffer. The default
1888 setting is <literal>3060</literal> bytes, which is used by
1889 some webcams. If the VM is able to use larger buffers,
1890 higher values might reduce CPU load slightly. Note that
1891 some guest OSes might not suppport higher
1892 <literal>MaxPayloadTransferSize</literal> values.
1893 </para></listitem>
1894 </varlistentry>
1895 </variablelist>
1896 </refsect2>
1897 <refsect2 id="vboxmanage-controlvm-webcam-detach">
1898 <title>Detach a Webcam From a Virtual Machine</title>
1899 <remark role="help-copy-synopsis"/>
1900 <para>
1901 The <command>VBoxManage controlvm
1902 <replaceable>vmname</replaceable> webcam detach</command>
1903 command detaches a webcam from a running VM. Specify the webcam
1904 as the absolute path of the webcam on the host OS or as an
1905 alias. Use the <command>VBoxManage list webcams</command> to
1906 obtain the webcam alias.
1907 </para>
1908 <para>
1909 When a webcam device is detached from the host, the host OS
1910 determines how the emulated webcam behaves.
1911 </para>
1912 <itemizedlist>
1913 <listitem><para>
1914 <emphasis role="bold">Windows hosts:</emphasis> The emulated
1915 webcam device is detached from the VM automatically.
1916 </para></listitem>
1917 <listitem><para>
1918 <emphasis role="bold">Mac OS X hosts that run at least OS X
1919 10.7:</emphasis> The emulated webcam device remains attached
1920 to the VM and you must detach it manually by using the
1921 <command>VBoxManage controlvm webcam detach</command>
1922 command.
1923 </para></listitem>
1924 <listitem><para>
1925 <emphasis role="bold">Linux hosts:</emphasis> The emulated
1926 webcam device is detached from the VM automatically only if
1927 the webcam is actively streaming video. If the emulated
1928 webcam is inactive, manually detach it by using the
1929 <command>VBoxManage controlvm
1930 <replaceable>vmname</replaceable> webcam detach</command>
1931 command.
1932 </para></listitem>
1933 </itemizedlist>
1934 </refsect2>
1935 <refsect2 id="vboxmanage-controlvm-webcam-list">
1936 <title>List the Webcams Attached to a Virtual Machine</title>
1937 <remark role="help-copy-synopsis"/>
1938 <para>
1939 The <command>VBoxManage controlvm
1940 <replaceable>vmname</replaceable> webcam list</command> command
1941 lists webcams that are attached to the running VM. The output
1942 shows a list of absolute paths or aliases that attached the
1943 webcams to the VM by using the <command>VBoxManage controlvm
1944 <replaceable>vmname</replaceable> webcam attach</command>
1945 command.
1946 </para>
1947 </refsect2>
1948 <refsect2 id="vboxmanage-controlvm-addencpassword">
1949 <title>Set an Encryption Password for a Virtual Machine</title>
1950 <remark role="help-copy-synopsis"/>
1951 <para>
1952 The <command>VBoxManage controlvm
1953 <replaceable>vmname</replaceable> addencpassword</command>
1954 command provides the <replaceable>vmname</replaceable> encrypted
1955 VM with the encryption password to enable a headless start.
1956 Specify the absolute path of a password file on the host system.
1957 If <replaceable>filename</replaceable> is <literal>-</literal>,
1958 <command>VBoxManage</command> prompts for the encryption
1959 password.
1960 </para>
1961 <para>
1962 Use the <option>--removeonsuspend</option> option to specify
1963 whether to save the passsword or clear it from VM memory when
1964 the VM is suspended.
1965 </para>
1966 <para>
1967 If the VM is suspended and the password is cleared, use the
1968 <command>VBoxManage controlvm <replaceable>vmname</replaceable>
1969 addencpassword</command> to provide the password to resume
1970 execution on the VM. Use this feature when you do not want to
1971 store the password in VM memory while the VM is suspended by a
1972 host suspend event.
1973 </para>
1974 <note>
1975 <para>
1976 You can encrypt data stored on hard disk images used by the
1977 VM. &product-name; uses the AES algorithm in XTS mode and
1978 supports 128-bit or 256-bit data encryption keys (DEK). The
1979 encrypted DEK is stored in the medium properties and is
1980 decrypted during VM startup when you provide the encryption
1981 password.
1982 </para>
1983 </note>
1984 <para>
1985 Use the <command>VBoxManage encryptmedium</command> command to
1986 create a DEK encrypted medium. See
1987 <xref linkend="diskencryption-encryption" />.
1988 </para>
1989 <para>
1990 The &product-name; GUI prompts you for the encryption password
1991 when you start an encrypted VM.
1992 </para>
1993 <para>
1994 Use the following command to perform a headless start of an
1995 encrypted VM:
1996 </para>
1997<screen>
1998 $ VBoxManage startvm <replaceable>vmname</replaceable> --type headless
1999 </screen>
2000 <para>
2001 Then, use the following command to provide the encryption
2002 password:
2003 </para>
2004<screen>
2005 $ VBoxManage <replaceable>vmname</replaceable> controlvm addencpassword <replaceable>vmname</replaceable> -
2006 Password: <replaceable>encryption-password</replaceable>
2007 </screen>
2008 </refsect2>
2009 <refsect2 id="vboxmanage-controlvm-removeencpassword">
2010 <title>Disable an Encryption Password for a Virtual Machine</title>
2011 <remark role="help-copy-synopsis"/>
2012 <para>
2013 The <command>VBoxManage controlvm
2014 <replaceable>vmname</replaceable> removeencpassword</command>
2015 command disables a specific encryption password for all
2016 encrypted media attached to the VM.
2017 </para>
2018 <para>
2019 <replaceable>ID</replaceable> is the password identifier for the
2020 encryption password that you want to disable.
2021 </para>
2022 </refsect2>
2023 <refsect2 id="vboxmanage-controlvm-removeallencpasswords">
2024 <title>Disable All Encryption Passwords for a Virtual Machine</title>
2025 <remark role="help-copy-synopsis"/>
2026 <para>
2027 The <command>VBoxManage controlvm
2028 <replaceable>vmname</replaceable>
2029 removeallencpasswords</command> command disables all encryption
2030 passwords for all encrypted media attached to the VM.
2031 </para>
2032 </refsect2>
2033 <refsect2 id="vboxmanage-controlvm-changeuartmode">
2034 <title>Change the Connection Mode for a Virtual Serial Port on a Virtual
2035 Machine</title>
2036 <remark role="help-copy-synopsis"/>
2037 <para>
2038 The <command>VBoxManage controlvm
2039 <replaceable>vmname</replaceable> changeuartmode</command>
2040 command changes the connection mode for the specified virtual
2041 serial port. Valid serial port values are integers that start
2042 from <literal>1</literal>.
2043 </para>
2044 <variablelist>
2045 <varlistentry>
2046 <term>disconnected</term>
2047 <listitem><para>
2048 Disconnects the device.
2049 </para></listitem>
2050 </varlistentry>
2051 <varlistentry>
2052 <term>server <replaceable>pipe-name</replaceable></term>
2053 <listitem><para>
2054 Specifies the pipe name of the server.
2055 </para></listitem>
2056 </varlistentry>
2057 <varlistentry>
2058 <term>client <replaceable>pipe-name</replaceable></term>
2059 <listitem><para>
2060 Specifies the pipe name of the client.
2061 </para></listitem>
2062 </varlistentry>
2063 <varlistentry>
2064 <term>tcpserver <replaceable>port</replaceable></term>
2065 <listitem><para>
2066 Specifies the port number of the TCP server.
2067 </para></listitem>
2068 </varlistentry>
2069 <varlistentry>
2070 <term>tcpclient <replaceable>hostname</replaceable>:<replaceable>port</replaceable></term>
2071 <listitem><para>
2072 Specifies the host name and port number of the TCP client.
2073 </para></listitem>
2074 </varlistentry>
2075 <varlistentry>
2076 <term>file <replaceable>filename</replaceable></term>
2077 <listitem><para>
2078 Specifies the name of the file.
2079 </para></listitem>
2080 </varlistentry>
2081 <varlistentry>
2082 <term><replaceable>device-name</replaceable></term>
2083 <listitem><para>
2084 Specifies the name of the device.
2085 </para></listitem>
2086 </varlistentry>
2087 </variablelist>
2088 </refsect2>
2089 <refsect2 id="vboxmanage-controlvm-autostart-enabled">
2090 <title>Enabling autostart the VM during host system boot</title>
2091 <remark role="help-copy-synopsis"/>
2092 <para>
2093 The <command>VBoxManage controlvm
2094 <replaceable>vmname</replaceable> autostart-enabled</command>
2095 command specifies whether to enable or disable automatically
2096 start the VM at host system boot-up. You must do some host
2097 system configuration before you can use this feature.
2098 See <xref linkend="autostart" />. Valid values are
2099 <literal>on</literal>, which enables autostart feature for
2100 the VM and <literal>off</literal>, which disables it. The
2101 default value is <literal>off</literal>.
2102 </para>
2103 </refsect2>
2104 <refsect2 id="vboxmanage-controlvm-autostart-delay">
2105 <title>Setting the delay of starting the VM on host system boot</title>
2106 <remark role="help-copy-synopsis"/>
2107 <para>
2108 The <command>VBoxManage controlvm
2109 <replaceable>vmname</replaceable> autostart-delay</command>
2110 command specifies the delay in seconds before the VM starts
2111 on host system boot-up. See <xref linkend="autostart" />.
2112 </para>
2113 </refsect2>
2114 </refsect1>
2115
2116 <refsect1>
2117 <title>Examples</title>
2118 <remark role="help-scope" condition="GLOBAL" />
2119 <para>
2120 The following command temporarily stops the execution of the
2121 <filename>ol7</filename> VM.
2122 </para>
2123<screen>$ VBoxManage controlvm ol7 pause</screen>
2124 <para>
2125 The following command configures shared clipboard operation for
2126 the <filename>ol7</filename> VM. Copying of clipboard data is
2127 allowed in both directions between the host and guest.
2128 </para>
2129<screen>$ VBoxManage controlvm ol7 clipboard mode bidirectional</screen>
2130 </refsect1>
2131
2132 <refsect1>
2133 <title>See Also</title>
2134 <para>
2135 <xref linkend="vboxmanage-list" />,
2136 <xref linkend="vboxmanage-modifyvm" />,
2137 <xref linkend="vboxmanage-startvm" />
2138 </para>
2139 </refsect1>
2140</refentry>
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use