VirtualBox

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

Last change on this file since 83876 was 82969, checked in by vboxsync, 5 years ago

Copyright year updates - manual ones.

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