VirtualBox

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

Last change on this file since 95368 was 94759, checked in by vboxsync, 3 years ago

Docs: Build fix if VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS is defined. bugref:9437

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

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