VirtualBox

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

Last change on this file since 91099 was 89774, checked in by vboxsync, 3 years ago

Main: bugref:7929: Extended help a bit for the VBoxManage. Fixed typo.

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