VirtualBox

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

Last change on this file since 105298 was 105266, checked in by vboxsync, 5 months ago

Recording: Implemented support for a dedicated progress object, which is exposed to API clients. This can be used for better tracking the recording progress as well as for error reporting. The RecordingSettings API also now has a dedicated start() method to start recording, as well as support for attaching to an already ongoing recording by retrieving the progress object at a later time. Adapted FE/Qt (draft, see @todos), FE/VBoxManage and the Validation Kit testdriver to the new APIs. VBoxManage also can attach to an ongoing recording now. The recording progress object also will have multiple operations to get the recording progress for convenience. bugref:10718

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

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