summaryrefslogtreecommitdiffstats
path: root/doc/manual/en_US/man_VBoxManage-controlvm.xml
blob: f022529c0f59651df4ceefa7bd99fba626ca80fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
<?xml version="1.0" encoding="UTF-8"?>
<!--
    manpage, user manual, usage: VBoxManage controlvm
-->
<!--
    Copyright (C) 2006-2022 Oracle and/or its affiliates.

    This file is part of VirtualBox base platform packages, as
    available from https://www.virtualbox.org.

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation, in version 3 of the
    License.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, see <https://www.gnu.org/licenses>.

    SPDX-License-Identifier: GPL-3.0-only
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
<!ENTITY % all.entities SYSTEM "all-entities.ent">
%all.entities;
]>
<refentry id="vboxmanage-controlvm" lang="en">
  <refentryinfo>
    <pubdate>$Date: 2022-08-22 19:43:14 +0200 (Mon, 22 Aug 2022) $</pubdate>
    <title>VBoxManage controlvm</title>
  </refentryinfo>

  <refmeta>
    <refentrytitle>VBoxManage-controlvm</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>VBoxManage-controlvm</refname>
    <refpurpose>change state and settings for a running virtual machine</refpurpose>
    <refclass>&product-name;</refclass>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis id="synopsis-vboxmanage-controlvm-pause">
<!-- The 'id' is mandatory and must start with 'synopsis-'. -->
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">pause</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-resume">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">resume</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-reset">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">reset</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-poweroff">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">poweroff</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-savestate">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">savestate</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-acpipowerbutton">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">acpipowerbutton</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-acpisleepbutton">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">acpisleepbutton</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-reboot">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">reboot</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-shutdown">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">shutdown</arg>
      <arg choice="opt">--force</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-keyboardputscancode">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">keyboardputscancode</arg>
      <arg choice="req"><replaceable>hex</replaceable></arg>
      <arg rep="repeat"><replaceable>hex</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-keyboardputstring">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">keyboardputstring</arg>
      <arg choice="req"><replaceable>string</replaceable></arg>
      <arg rep="repeat"><replaceable>string</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-keyboardputfile">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">keyboardputfile</arg>
      <arg choice="req"><replaceable>filename</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-setlinkstate">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">setlinkstate<replaceable>N</replaceable></arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-nic">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">nic<replaceable>N</replaceable></arg>
      <group choice="req">
        <arg choice="plain">null</arg>
        <arg choice="plain">nat</arg>
        <arg choice="plain">bridged</arg>
        <arg choice="plain">intnet</arg>
        <arg choice="plain">hostonly</arg>
        <arg choice="plain">generic</arg>
        <arg choice="plain">natnetwork</arg>
      </group>
      <arg><replaceable>device-name</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-nictrace">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">nictrace<replaceable>N</replaceable></arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-nictracefile">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">nictracefile<replaceable>N</replaceable></arg>
      <arg choice="req"><replaceable>filename</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-nicproperty">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">nicproperty<replaceable>N</replaceable></arg>
      <arg choice="req"><replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-nicpromisc">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">nicpromisc<replaceable>N</replaceable></arg>
      <group choice="req">
        <arg choice="plain">deny</arg>
        <arg choice="plain">allow-vms</arg>
        <arg choice="plain">allow-all</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-natpf">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">natpf<replaceable>N</replaceable></arg>
      <group choice="req">
        <arg choice="plain">[<replaceable>rulename</replaceable>]<arg choice="plain">,tcp</arg></arg>
        <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>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-natpf-delete">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">natpf<replaceable>N</replaceable> delete</arg>

      <arg choice="req"><replaceable>rulename</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-guestmemoryballoon">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">guestmemoryballoon</arg>
      <arg choice="req"><replaceable>balloon-size</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-usbattach">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">usbattach</arg>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>address</replaceable></arg>
      </group>
      <arg>--capturefile=<replaceable>filename</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-usbdetach">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">usbdetach</arg>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>address</replaceable></arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-audioin">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">audioin</arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-audioout">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">audioout</arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-clipboard-mode">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">clipboard mode</arg>
      <group choice="req">
        <arg choice="plain">disabled</arg>
        <arg choice="plain">hosttoguest</arg>
        <arg choice="plain">guesttohost</arg>
        <arg choice="plain">bidirectional</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-clipboard-filetransfers">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">clipboard filetransfers</arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-draganddrop">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">draganddrop</arg>
      <group choice="req">
        <arg choice="plain">disabled</arg>
        <arg choice="plain">hosttoguest</arg>
        <arg choice="plain">guesttohost</arg>
        <arg choice="plain">bidirectional</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrde">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">vrde</arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrdeport">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">vrdeport</arg>
      <arg choice="req"><replaceable>port</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrdeproperty">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">vrdeproperty</arg>
      <arg choice="req"><replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-vrdevideochannelquality">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">vrdevideochannelquality</arg>
      <arg choice="req"><replaceable>percentage</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-setvideomodehint">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">setvideomodehint</arg>
      <arg choice="req"><replaceable>xres</replaceable></arg>
      <arg choice="req"><replaceable>yres</replaceable></arg>
      <arg choice="req"><replaceable>bpp</replaceable></arg>
      <arg><arg><replaceable>display</replaceable></arg><group>
          <arg choice="plain">enabled:yes | no</arg>
          <arg><replaceable>x-origin</replaceable>&nbsp;<replaceable>y-origin</replaceable></arg>
        </group></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-setscreenlayout">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">setscreenlayout</arg>
      <arg choice="req"><replaceable>display</replaceable></arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <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>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-screenshotpng">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">screenshotpng</arg>
      <arg choice="req"><replaceable>filename</replaceable></arg>
      <arg><replaceable>display</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording</arg>
      <group choice="req">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-screens">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording screens</arg>
      <group choice="req">
        <arg choice="plain">all</arg>
        <arg choice="plain">none</arg>
        <arg choice="plain"><replaceable>screen-ID</replaceable>[,<replaceable>screen-ID</replaceable>...]</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-filename">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording filename</arg>
      <arg choice="req">filename</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-videores">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording videores</arg>
      <arg choice="req"><replaceable>width</replaceable>x<replaceable>height</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-videorate">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording videorate</arg>
      <arg choice="req"><replaceable>rate</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-videofps">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording videofps</arg>
      <arg choice="req"><replaceable>fps</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-maxtime">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording maxtime</arg>
      <arg choice="req"><replaceable>sec</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-maxfilesize">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording maxfilesize</arg>
      <arg choice="req"><replaceable>MB</replaceable></arg>
    </cmdsynopsis>

    <!--
    <cmdsynopsis id="synopsis-vboxmanage-controlvm-recording-opts">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">recording opts</arg>
      <arg choice="req"><replaceable>key</replaceable>=<arg><replaceable>value</replaceable></arg></arg>
    </cmdsynopsis>
    -->

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-setcredentials">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">setcredentials</arg>
      <arg choice="req"><replaceable>username</replaceable></arg>
      <arg choice="plain">--passwordfile=<group choice="req">
          <arg choice="plain"><replaceable>filename</replaceable></arg>
          <arg choice="plain"><replaceable>password</replaceable></arg>
        </group></arg>
      <arg choice="req"><replaceable>domain-name</replaceable></arg>
      <arg choice="plain">--allowlocallogon=<group choice="req">
          <arg choice="plain">yes</arg>
          <arg choice="plain">no</arg>
        </group></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-teleport">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">teleport</arg>
      <arg choice="req">--host=<replaceable>host-name</replaceable></arg>
      <arg choice="req">--port=<replaceable>port-name</replaceable></arg>
      <arg>--maxdowntime=<replaceable>msec</replaceable></arg>
      <group>
        <arg choice="plain">--passwordfile=<replaceable>filename</replaceable></arg>
        <arg choice="plain">--password=<replaceable>password</replaceable></arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-plugcpu">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">plugcpu</arg>
      <arg choice="req"><replaceable>ID</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-unplugcpu">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">unplugcpu</arg>
      <arg choice="req"><replaceable>ID</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-cpuexecutioncap">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">cpuexecutioncap</arg>
      <arg choice="req"><replaceable>num</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-vm-process-priority">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">vm-process-priority</arg>
      <group choice="req">
        <arg choice="plain">default</arg>
        <arg choice="plain">flat</arg>
        <arg choice="plain">low</arg>
        <arg choice="plain">normal</arg>
        <arg choice="plain">high</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-webcam-attach">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">webcam attach</arg>
      <arg><replaceable>pathname</replaceable><arg><replaceable>settings</replaceable></arg></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-webcam-detach">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">webcam detach</arg>
      <arg><replaceable>pathname</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-webcam-list">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">webcam list</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-addencpassword">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">addencpassword</arg>
      <arg choice="req"><replaceable>ID</replaceable></arg>
      <group choice="req">
        <arg choice="plain"><replaceable>password-file</replaceable></arg>
        <arg choice="plain">-</arg>
      </group>
      <arg>--removeonsuspend=<group choice="plain">
          <arg choice="plain">yes</arg>
          <arg choice="plain">no</arg>
        </group></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-removeencpassword">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">removeencpassword</arg>
      <arg choice="req"><replaceable>ID</replaceable></arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-removeallencpasswords">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">removeallencpasswords</arg>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-changeuartmode">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">changeuartmode<replaceable>N</replaceable></arg>
      <group choice="plain">
        <arg choice="plain">disconnected</arg>
        <arg choice="plain">server <replaceable>pipe-name</replaceable></arg>
        <arg choice="plain">client <replaceable>pipe-name</replaceable></arg>
        <arg choice="plain">tcpserver <replaceable>port</replaceable></arg>
        <arg choice="plain">tcpclient <replaceable>hostname</replaceable>:<replaceable>port</replaceable></arg>
        <arg choice="plain">file <replaceable>filename</replaceable></arg>
        <arg choice="plain"><replaceable>device-name</replaceable></arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-autostart-enabled">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">autostart-enabled<replaceable>N</replaceable></arg>
      <group choice="plain">
        <arg choice="plain">on</arg>
        <arg choice="plain">off</arg>
      </group>
    </cmdsynopsis>

    <cmdsynopsis id="synopsis-vboxmanage-controlvm-autostart-delay">
      <command>VBoxManage controlvm</command>
      <group choice="req">
        <arg choice="plain"><replaceable>uuid</replaceable></arg>
        <arg choice="plain"><replaceable>vmname</replaceable></arg>
      </group>
      <arg choice="plain">autostart-delay<replaceable>seconds</replaceable></arg>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>Description</title>
    <para>
      The <command>VBoxManage controlvm</command> command enables you to
      change the state of a running virtual machine (VM). The following
      sections describe the subcommands that you can use:
    </para>
    <refsect2 id="vboxmanage-controlvm-pause">
      <title>Pause a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> pause</command> command
        temporarily stops the execution of a VM. When paused, the VM's
        state is not permanently changed.
      </para>
      <para>
        The VM window appears as gray and the title bar of the window
        indicates that the VM is currently Paused. This action is
        equivalent to selecting <emphasis role="bold">Pause</emphasis>
        from the <emphasis role="bold">Machine</emphasis> menu of the
        GUI.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-resume">
      <title>Resume a Paused Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> resume</command> command
        restarts the execution of a paused VM. This action is equivalent
        to selecting <emphasis role="bold">Resume</emphasis> from the
        <emphasis role="bold">Machine</emphasis> menu of the GUI.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-reset">
      <title>Reset a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> reset</command> command
        performs a cold reset the VM. This command has the same effect
        on a VM as pressing the Reset button on a physical computer.
      </para>
      <para>
        The cold reboot immediately restarts and reboots the guest
        operating system (OS). The state of the VM is not saved prior to
        the reset, so data might be lost. This action is equivalent to
        selecting <emphasis role="bold">Reset</emphasis> from the
        <emphasis role="bold">Machine</emphasis> menu of the GUI.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-poweroff">
      <title>Power Off a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> poweroff</command> command
        powers off the VM. This command has the same effect on a VM as
        pulling the power cable on a physical computer.
      </para>
      <para>
        The state of the VM is not saved prior to poweroff, so data
        might be lost. This action is equivalent to selecting
        <emphasis role="bold">Close</emphasis> from the
        <emphasis role="bold">Machine</emphasis> menu of the GUI or to
        clicking the VM window's Close button, and then selecting
        <emphasis role="bold">Power Off the Machine</emphasis>.
      </para>
      <para>
        When in the powered off state, you can restart the VM. See
        <xref linkend="vboxmanage-startvm" />.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-savestate">
      <title>Save the State of a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> savestate</command> command
        saves the current state of the VM to disk and then stops the VM.
      </para>
      <para>
        This action is equivalent to selecting
        <emphasis role="bold">Close</emphasis> from the
        <emphasis role="bold">Machine</emphasis> menu of the GUI or to
        clicking the VM window's Close button, and then selecting
        <emphasis role="bold">Save the Machine State</emphasis>.
      </para>
      <para>
        When in the saved state, you can restart the VM. It will continue
        exactly in the state you saved.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-acpipowerbutton">
      <title>Send an APCI Shutdown Signal to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> acpipowerbutton</command>
        command sends an ACPI shutdown signal to the VM. This command
        has the same effect on a VM as pressing the Power button on a
        physical computer.
      </para>
      <para>
        So long as the VM runs a guest OS that provides appropriately
        configured ACPI support, this command triggers an operating
        system shutdown from within the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-acpisleepbutton">
      <title>Send an APCI Sleep Signal to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> acpisleepbutton</command>
        command sends an ACPI sleep signal to the VM.
      </para>
      <para>
        So long as the VM runs a guest OS that provides appropriately
        configured ACPI support, this command triggers a sleep mechanism
        from within the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-reboot">
      <title>Reboot the guest OS</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> reboot</command>
        command asks the guest OS to reboot itself.
      </para>
      <para>
        This commands requires Guest Additions to be installed in the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-shutdown">
      <title>Shut down the guest OS</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> shutdown</command>
        command asks the guest OS to halt + shutdown, optionally forcing
        the shutdown.
      </para>
      <para>
        This commands requires Guest Additions to be installed in the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-keyboardputscancode">
      <title>Send Keyboard Scancodes to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> keyboardputscancode</command>
        command sends keyboard scancode commands to the VM.
      </para>
      <para>
        For information about keyboard scancodes, see
        <ulink url="http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html" />.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-keyboardputstring">
      <title>Send Keyboard Strings to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> keyboardputstring</command>
        command sends keyboard strings to the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-keyboardputfile">
      <title>Send a File to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> keyboardputfile</command>
        command sends a file to the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-setlinkstate">
      <title>Set the Link State for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        <command>VBoxManage controlvm <replaceable>vmname</replaceable>
        setlinkstate<replaceable>N</replaceable></command> command
        enables you to connect or disconnect the virtual network cable
        from the network interface instance
        (<replaceable>N</replaceable>). Valid values are
        <literal>on</literal> and <literal>off</literal>. The default
        value is <literal>on</literal>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-nic">
      <title>Set the Type of Networking to Use for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        nic<replaceable>N</replaceable></command> command specifies the
        type of networking to use on the specified VM's virtual network
        card. <replaceable>N</replaceable> numbering begins with
        <literal>1</literal>.
      </para>
      <para>
        The following valid network types are also described in
        <xref linkend="networkingmodes" />:
      </para>
      <itemizedlist>
        <listitem><para>
            <literal>null</literal> specifies that the VM is is not
            connected to the host system.
          </para></listitem>
        <listitem><para>
            <literal>nat</literal> specifies that the VM uses network
            address translation (NAT).
          </para></listitem>
        <listitem><para>
            <literal>bridged</literal> specifies that the VM uses
            bridged networking.
          </para></listitem>
        <listitem><para>
            <literal>intnet</literal> specifies that the VM communicates
            with other VMs by using internal networking.
          </para></listitem>
        <listitem><para>
            <literal>hostonly</literal> specifies that the VM uses
            host-only networking.
          </para></listitem>
        <listitem><para>
            <literal>natnetwork</literal> specifies that the VM uses NAT
            networking.
          </para></listitem>
        <listitem><para>
            <literal>generic</literal> specifies that the VM has access
            to rarely used submodes
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-nictrace">
      <title>Trace the Network Traffic of a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        nictrace<replaceable>N</replaceable></command> command enables
        you to trace the network traffic on the specified virtual
        network card (<replaceable>N</replaceable>).
        <replaceable>N</replaceable> numbering begins with
        <literal>1</literal>. Valid values are <literal>on</literal> and
        <literal>off</literal>. The default value is
        <literal>off</literal>.
      </para>
      <para>
        If you did not configure a file name for the trace file then
        a default one is used, placing it in the VM subdirectory.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-nictracefile">
      <title>Specify the Network Traffic Trace Log File for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        nictracefile<replaceable>N</replaceable></command> command
        enables you to specify the name of the network traffic trace log
        file for the specified virtual network card
        (<replaceable>N</replaceable>). <replaceable>N</replaceable>
        numbering begins with <literal>1</literal>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-nicpromisc">
      <title>Specify the Promiscuous Mode to Use for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        nicpromisc<replaceable>N</replaceable></command> command enables
        you to specify how to handle promiscuous mode for a bridged
        network. The default value of <literal>deny</literal> hides any
        traffic that is not intended for this VM. The
        <literal>allow-vms</literal> value hides all host traffic from
        this VM but enables the VM to see traffic to and from other VMs.
        The <literal>allow-all</literal> value removes this restriction
        completely.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-nicproperty">
      <title>Specify the Network Backend Property Values for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        nicproperty<replaceable>N</replaceable>
        <replaceable>prop-name</replaceable>=<replaceable>prop-value</replaceable></command>
        command, in combination with <literal>nicgenericdrv</literal>,
        enables you to pass property values to rarely-used network
        backends.
      </para>
      <para>
        Those properties are backend engine-specific, and are different
        between UDP Tunnel and the VDE backend drivers. See
        <xref linkend="network_udp_tunnel" />.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-natpf">
      <title>Specify a NAT Port Forwarding Rule for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        natpf<replaceable>N</replaceable></command> command specifies a
        NAT port-forwarding rule. See <xref linkend="natforward"/>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-natpf-delete">
      <title>Delete a NAT Port Forwarding Rule for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        natpf<replaceable>N</replaceable> delete</command> command deletes
        the specified NAT port-forwarding rule. See
        <xref linkend="natforward"/>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-guestmemoryballoon">
      <title>Change Size of a Virtual Machine's Guest Memory Balloon</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> guestmemoryballoon</command>
        command changes the size of the guest memory balloon. The guest
        memory balloon is the memory allocated by the &product-name;
        Guest Additions from the guest OS and returned to the hypervisor
        for reuse by other VMs. The value you specify is in megabytes.
        See <xref linkend="guestadd-balloon" />.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-usbattach">
      <title>Make a Host System USB Device Visible to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> usbattach</command> command
        dynamically attaches a host USB device to the VM, which makes it
        visible. You do not need to create a filter.
      </para>
      <para>
        Specify a USB device by its Universally Unique Identifier (UUID)
        or by its address on the host system. Use the
        <command>VBoxManage list usbhost</command> command to obtain
        information about USB devices on the host system.
      </para>
      <para>
        Use the <option>--capturefile</option> option to specify the
        absolute path of a file in which to write logging data.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-usbdetach">
      <title>Make a Host System USB Device Invisible to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> usbdetach</command> command
        dynamically detaches a host USB device from the VM, which makes
        it invisible. You do not need to create a filter.
      </para>
      <para>
        Specify a USB device by its UUID or by its address on the host
        system. Use the <command>VBoxManage list usbhost</command>
        command to obtain information about USB devices on the host
        system.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-audioin">
      <title>Enable or Disable Audio Capture From the Host System</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> audioin</command> command
        specifies whether to enable or disable audio capture from the
        host system. Valid values are <literal>on</literal>, which
        enables audio capture and <literal>off</literal>, which disables
        audio capture. The default value is <literal>off</literal>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-audioout">
      <title>Enable or Disable Audio Playback From a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> audioout</command> command
        specifies whether to enable or disable audio playback from the
        guest VM. Valid values are <literal>on</literal>, which enables
        audio playback and <literal>off</literal>, which disables audio
        playback. The default value is <literal>off</literal>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-clipboard-mode">
      <title>Specify How to Share the Host OS or Guest OS Clipboard</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> clipboard mode</command> command
        specifies how to share the guest or host OS's clipboard with the
        host system or VM. Valid values are <literal>disabled</literal>,
        <literal>hosttoguest</literal>, <literal>guesttohost</literal>,
        and <literal>bidirectional</literal>. The default value is
        <literal>disabled</literal>. See
        <xref linkend="generalsettings" />.
      </para>
      <para>
        This feature requires that the &product-name; Guest Additions
        are installed in the VM.
      </para>
    </refsect2>

    <refsect2 id="vboxmanage-controlvm-clipboard-filetransfers">
      <title>Specify If Files Can Be Transferred Through the Clipboard</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> clipboard filetransfers</command>
        command specifies if it is possible to transfer files through the
        clipboard between the host and VM, in the direction which is allowed.
        Valid values are <literal>off</literal> and <literal>on</literal>.
        The default value is <literal>off</literal>.
      </para>
      <para>
        This feature requires that the &product-name; Guest Additions
        are installed in the VM.
      </para>
    </refsect2>

    <refsect2 id="vboxmanage-controlvm-draganddrop">
      <title>Set the Drag and Drop Mode Between the Host System and a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> draganddrop</command> command
        specifies the current drag and drop mode to use between the host
        system and the VM. Valid values are <literal>disabled</literal>,
        <literal>hosttoguest</literal>, <literal>guesttohost</literal>,
        and <literal>bidirectional</literal>. The default value is
        <literal>disabled</literal>. See
        <xref linkend="guestadd-dnd" />.
      </para>
      <para>
        This feature requires that the &product-name; Guest Additions
        are installed in the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-vrde">
      <title>Enable or Disable the VRDE Server</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> vrde</command> command enables
        or disables the VirtualBox Remote Desktop Extension (VRDE)
        server, if installed. Valid values are <literal>on</literal> and
        <literal>off</literal>. The default value is
        <literal>off</literal>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-vrdeport">
      <title>Specify VRDE Server Ports</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> vrdeport</command> command
        specifies the port or range of ports to which the VRDE server
        can bind. The default value is <literal>default</literal> or
        <literal>0</literal>, which is the standard RDP port,
        <literal>3389</literal>.
      </para>
      <para>
        Also see the <option>--vrde-port</option> option description in
        <xref linkend="vboxmanage-modifyvm-vrde" />.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-vrdeproperty">
      <title>Specify VRDE Server Port Numbers and IP Addresses</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> vrdeproperty</command> command
        specifies the port numbers and IP address on the VM to which the
        VRDE server can bind.
      </para>
      <itemizedlist>
        <listitem><para>
            <literal>TCP/Ports</literal> specifies a port or a range of
            ports to which the VRDE server can bind. The default value
            is <literal>default</literal> or <literal>0</literal>, which
            is the standard RDP port, <literal>3389</literal>.
          </para><para>
            Also see the <option>--vrde-port</option> option description
            in <xref linkend="vboxmanage-modifyvm-vrde" />.
          </para></listitem>
        <listitem><para>
            <literal>TCP/Address</literal> specifies the IP address of
            the host network interface to which the VRDE server binds.
            When specified, the server accepts to connect only on the
            specified host network interface.
          </para><para>
            Also see the <option>--vrde-address</option> option
            description in <xref linkend="vboxmanage-modifyvm-vrde" />.
          </para></listitem>
        <listitem><para>
            <literal>VideoChannel/Enabled</literal> specifies whether to
            enable the VirtualBox Remote Desktop Protocol (VRDP) video
            channel. Valid values are <literal>1</literal> to enable the
            video channel and <literal>0</literal> to disable the video
            channel. The default value is <literal>off</literal>. See
            <xref linkend="vrde-videochannel" />.
          </para></listitem>
        <listitem><para>
            <literal>VideoChannel/Quality</literal> specifies the JPEG
            compression level on the VRDE server video channel. Valid
            values are between 10% and 100%, inclusive. Lower values
            mean lower quality but higher compression. The default value
            is <literal>100</literal>. See
            <xref linkend="vrde-videochannel" />.
          </para></listitem>
        <listitem><para>
            <literal>VideoChannel/DownscaleProtection</literal>
            specifies whether to enable the video channel downscale
            protection feature. Specify <literal>1</literal> to enable
            the feature. This feature is disabled by default.
          </para><para>
            When enabled, if the video's size equals the shadow buffer
            size, the video is shown in full-screen mode. If the video's
            size is between full-screen mode and the downscale
            threshold, the video is not shown as it might be an
            application window that is unreadable when downscaled. When
            disabled, the downscale protection feature always attempts
            to show videos.
          </para></listitem>
        <listitem><para>
            <literal>Client/DisableDisplay</literal> specifies whether
            to disable the VRDE server display feature. Valid values are
            <literal>1</literal> to disable the feature and an empty
            string (<literal>""</literal>) to enable the feature.
            The default value is an empty string. See
            <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>Client/DisableInput</literal> specifies whether to
            disable the VRDE server input feature. Valid values are
            <literal>1</literal> to disable the feature and an empty
            string (<literal>""</literal>) to enable the feature.
            The default value is <literal>1</literal>. See
            <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>Client/DisableAudio</literal> specifies whether to
            disable the VRDE server audio feature. Valid values are
            <literal>1</literal> to disable the feature and an empty
            string (<literal>""</literal>) to enable the feature.
            The default value is <literal>1</literal>. See
            <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>Client/DisableUSB</literal> specifies whether to
            disable the VRDE server USB feature. Valid values are
            <literal>1</literal> to disable the feature and an empty
            string (<literal>""</literal>) to enable the feature.
            The default value is <literal>1</literal>. See
            <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>Client/DisableClipboard</literal> specifies whether
            to disable the VRDE clipboard feature. Valid values are
            <literal>1</literal> to disable the feature and an empty
            string (<literal>""</literal>) to enable the feature.
            To reenable the feature, use
            <literal>Client/DisableClipboard=</literal>. The default
            value is <literal>1</literal>. See
            <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>Client/DisableUpstreamAudio</literal> specifies
            whether to disable the VRDE upstream audio feature. Valid
            values are <literal>1</literal> to disable the feature and
            an empty string (<literal>""</literal>) to enable the
            feature. To reenable the feature, use
            <literal>Client/DisableUpstreamAudio=</literal>. The default
            value is <literal>1</literal>. See
            <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>Client/DisableRDPDR</literal> specifies whether to
            disable the RDP Device Redirection For Smart Cards feature
            on the VRDE server. Valid values are <literal>1</literal> to
            disable the feature and an empty string
            (<literal>""</literal>) to enable the feature.
            The default value is <literal>1</literal>. See
            <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>H3DRedirect/Enabled</literal> specifies whether to
            enable the VRDE server 3D redirection feature. Valid values
            are <literal>1</literal> to enable the feature and an empty
            string (<literal>""</literal>) to disable the feature.
            See <xref linkend="vrde-customization"/>.
          </para></listitem>
        <listitem><para>
            <literal>Security/Method</literal> specifies the security
            method to use for a connection. See
            <xref linkend="vrde-crypt" />.
          </para><itemizedlist>
            <listitem><para>
                <literal>Negotiate</literal> accepts both enhanced (TLS)
                and standard RDP security connections. The security
                method is negotiated with the client. This is the
                default value.
              </para></listitem>
            <listitem><para>
                <literal>RDP</literal> accepts only standard RDP
                security connections.
              </para></listitem>
            <listitem><para>
                <literal>TLS</literal> accepts only enhanced RDP
                security connections. The client must support TLS.
              </para></listitem>
          </itemizedlist></listitem>
        <listitem><para>
            <literal>Security/ServerCertificate</literal> specifies the
            absolute path of the server certificate to use for a
            connection. See <xref linkend="vrde-crypt" />.
          </para></listitem>
        <listitem><para>
            <literal>Security/ServerPrivateKey</literal> specifies the
            absolute path of the server private key. See
            <xref linkend="vrde-crypt" />.
          </para></listitem>
        <listitem><para>
            <literal>Security/CACertificate</literal> specifies the
            absolute path of the CA self-signed certificate. See
            <xref linkend="vrde-crypt" />.
          </para></listitem>
        <listitem><para>
            <literal>Audio/RateCorrectionMode</literal> specifies the
            rate correction mode to use.
          </para><itemizedlist>
            <listitem><para>
                <literal>VRDP_AUDIO_MODE_VOID</literal> indicates that
                no mode is specified. Use this value to unset any audio
                mode that is already set.
              </para></listitem>
            <listitem><para>
                <literal>VRDP_AUDIO_MODE_RC</literal> specifies to use
                the rate correction mode.
              </para></listitem>
            <listitem><para>
                <literal>VRDP_AUDIO_MODE_LPF</literal> specifies to use
                the low pass filter mode.
              </para></listitem>
            <listitem><para>
                <literal>VRDP_AUDIO_MODE_CS</literal> specifies to use
                the client sync mode to prevent underflow or overflow of
                the client queue.
              </para></listitem>
          </itemizedlist></listitem>
        <listitem><para>
            <literal>Audio/LogPath</literal> specifies the absolute path
            of the audio log file.
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-vrdevideochannelquality">
      <title>Specify the Image Quality for VRDP Video Redirection</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        vrdevideochannelquality</command> command sets the image
        quality, as a JPEG compression level value, for video
        redirection. Valid values are between 10% and 100%, inclusive.
        Lower values mean lower quality but higher compression. See
        <xref linkend="vrde-videochannel" />.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-setvideomodehint">
      <title>Specify the Video Mode for the Guest VM</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> setvideomodehint</command>
        command specifies the video mode for the guest VM to use. You
        must have the &product-name; Guest Additions installed. Note
        that this feature does not work for all guest systems.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-setscreenlayout">
      <title>Specify the Screen Layout for a Display on the Guest VM</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> setscreenlayout</command>
        command can be used to configure multiscreen displays. The
        specified screen on the guest VM can be enabled or disabled, or
        a custom screen layout can be configured.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-screenshotpng">
      <title>Take a Screen Shot of the Virtual Machine Display</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> screenshotpng</command>
        command takes a screenshot of the guest display and saves it as
        PNG in the specified file.
      </para>
      <itemizedlist>
        <listitem><para>
            <replaceable>filename</replaceable> specifies the name of
            the PNG file to create.
          </para></listitem>
        <listitem><para>
            <replaceable>display</replaceable> specifies the display
            number for the screen shot. For a single monitor guest
            display, this is <literal>0</literal>.
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording">
      <title>Enable or Disable the Recording of a Virtual Machine Session</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording</command> command
        enables or disables the recording of a VM session into a
        WebM/VP8 file. Valid values are <literal>on</literal>, which
        begins recording when the VM session starts and
        <literal>off</literal>, which disables recording. The default
        value is <literal>off</literal>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording-screens">
      <title>Specify the Virtual Machine Screens to Record</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording screens</command>
        command enables you to specify which VM screens to record. The
        recording for each screen that you specify is saved to its own
        file in the machine folder. You cannot modify this setting while
        recording is enabled.
      </para>
      <itemizedlist>
        <listitem><para>
            <literal>all</literal> specifies that you record all VM
            screens.
          </para></listitem>
        <listitem><para>
            <literal>none</literal> specifies that you do not record any
            VM screens.
          </para></listitem>
        <listitem><para>
            <replaceable>screen-ID</replaceable> specifies one or more
            VM screens to record.
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording-filename">
      <title>Specify the File in Which to Save Virtual Machine Recording</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording filename</command>
        command specifies the file in which to save the recording. You
        cannot modify this setting while recording is enabled.
      </para>
      <para>
        The default setting is to store a recording in the machine
        folder, using the VM name as the file name, with a
        <filename>webm</filename> file name extension.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording-videores">
      <title>Specify the Resolution of the Recorded Video</title>
      <remark role="help-copy-synopsis"/>
      <para>
        <command>VBoxManage controlvm <replaceable>vmname</replaceable>
        recording videores</command> command specifies the resolution of
        the recorded video in pixels. You cannot modify this setting
        while recording is enabled.
      </para>
      <para>
        Use the Settings tool to view the video recording settings,
        which are based on the resolution (frame size). See the Frame
        Size field on the Recording tab of the Display page to view the
        default value.
      </para>
      <para>
        Specify the resolution as
        <replaceable>width</replaceable><literal>x</literal><replaceable>height</replaceable>:
      </para>
      <itemizedlist>
        <listitem><para>
            <replaceable>width</replaceable> specifies the width in
            pixels.
          </para></listitem>
        <listitem><para>
            <replaceable>height</replaceable> specifies the height in
            pixels.
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording-videorate">
      <title>Specify the Bit Rate of the Video</title>
      <remark role="help-copy-synopsis"/>
<!-- @todo r=andy Clarify rate. -->
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording videorate</command>
        command specifies the bit rate,
        <replaceable>bit-rate</replaceable>, of the video in kilobits
        per second. Increasing this value improves the appearance of the
        video at the cost of an increased file size. You cannot modify
        this setting while recording is enabled.
      </para>
      <para>
        Use the Settings tool to view the video recording settings,
        which are based on the frame size. See the Video Quality field
        on the Recording tab of the Display page to view the default
        value.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording-videofps">
      <title>Specify the Maximum Frequency of the Video</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording videofps</command>
        command specifies the maximum frequency of the video to record.
        Video frequency is measured in frames per second (FPS). The
        recording skips any frames that have a frequency higher than the
        specified maximum. Increasing the frequency reduces the number
        of skipped frames and increases the file size. You cannot modify
        this setting while recording is enabled.
      </para>
      <para>
        Use the Settings tool to view the video recording settings,
        which are based on the frame size. See the Frame Rate field on
        the Recording tab of the Display page to view the default value.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording-maxtime">
      <title>Specify the Maximum Amount of Time to Record Video</title>
      <remark role="help-copy-synopsis"/>
<!-- @todo r=andy Clarify time format. -->
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording maxtime</command>
        command specifies the maximum amount time to record in seconds.
        The recording stops after the specified number of seconds
        elapses. If this value is zero, the recording continues until
        you stop the recording.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-recording-maxfilesize">
      <title>Specify the Maximum Size of the Recorded Video</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording
        maxfilesize</command> command specifies the maximum size of the
        recorded video file in megabytes. The recording stops when the
        file reaches the specified size. If this value is zero, the
        recording continues until you stop the recording. You cannot
        modify this setting while recording is enabled.
      </para>
    </refsect2>
    <!--
    <refsect2 id="vboxmanage-controlvm-recording-opts">
      <title>Specify Custom Options for Recording Video and/or Audio</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> recording
        opts</command> command specifies additional recording options
        in a comma-separated keyword-value format. For example,
        <computeroutput>foo=bar,a=b</computeroutput>. You cannot
        modify this setting while recording is enabled.
      </para>
      <para>
        Use this option if you are an advanced user only. For
        information about keywords, see <emphasis>&product-name;
        Programming Guide and Reference</emphasis>.
      </para>
    </refsect2>
    -->
    <refsect2 id="vboxmanage-controlvm-setcredentials">
      <title>Specify Credentials for Remote Logins on Windows Virtual Machines</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>setcredentials</command> command enables you to
        specify the credentials for remotely logging in to Windows VMs.
        See <xref linkend="autologon" />.
      </para>
      <itemizedlist>
        <listitem><para>
            <replaceable>username</replaceable> specifies the user name
            with which to log in to the Windows VM.
          </para></listitem>
        <listitem><para>
            <option>--passwordfile=<replaceable>filename</replaceable></option>
            specifies the file from which to obtain the password for
            <replaceable>username</replaceable>.
          </para><para>
            The <option>--passwordfile</option> is mutually exclusive
            with the <option>--password</option> option.
          </para></listitem>
        <listitem><para>
            <option>--password=<replaceable>password</replaceable></option>
            specifies the password for
            <replaceable>username</replaceable>.
          </para><remark>
            This design does not conform to Oracle's security
            guidelines. You should not be able to specify a password on
            the command line because the password can be seen in a
            process listing.
          </remark><para>
            The <option>--password</option> is mutually exclusive with
            the <option>--passwordfile</option> option.
          </para></listitem>
        <listitem><para>
            <option>--allowlocallogin</option> specifies whether to
            enable or disable local logins. Valid values are
            <literal>on</literal> to enable local logins and
            <literal>off</literal> to disable local logins.
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-teleport">
      <title>Configure a Virtual Machine Target for Teleporting</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> teleport</command> command
        initiates a teleporting operation between the specified VM and
        the specified host system. See <xref linkend="teleporting" />.
      </para>
      <para>
        If you specify a password, it must match the password you
        specified when you issued the <command>VBoxManage
        modifyvm</command> command for the target machine.
      </para>
      <variablelist>
        <varlistentry>
          <term><option>--host=<replaceable>hostname</replaceable></option></term>
          <listitem><para>
              Specifies the name of the VM.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term><option>--port=<replaceable>port</replaceable></option></term>
          <listitem><para>
              Specifies the port on the VM that should listen for a
              teleporting request from other VMs. The port number can be
              any free TCP/IP port number, such as
              <literal>6000</literal>.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term><option>--maxdowntime=<replaceable>msec</replaceable></option></term>
          <listitem><para>
              Specifies the maximum downtime, in milliseconds, for the
              teleporting target VM.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term><option>--password=<replaceable>password</replaceable></option></term>
          <listitem><para>
              Specifies the password that the source machine uses for
              the teleporting request. The request succeeds only if the
              source machine specifies the same password.
            </para><remark>
              This design does not conform to Oracle's security
              guidelines. You should not be able to specify a password
              on the command line because the password can be seen in a
              process listing.
            </remark><para>
              The <option>--password</option> is mutually exclusive with
              the <option>--passwordfile</option> option.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term><option>--passwordfile=<replaceable>filename</replaceable></option></term>
          <listitem><para>
              Specifies the file from which to obtain the password that
              the source machine uses for the teleporting request. The
              request succeeds only if the source machine specifies the
              same password.
            </para><para>
              When you specify a file name of <literal>stdin</literal>,
              you can read the password from standard input.
            </para><para>
              The <option>--passwordfile</option> is mutually exclusive
              with the <option>--password</option> option.
            </para></listitem>
        </varlistentry>
      </variablelist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-plugcpu">
      <title>Add a Virtual CPU to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> plugcpu</command> command adds
        a virtual CPU to the specified VM if CPU hot-plugging is
        enabled. <replaceable>ID</replaceable> specifies the index of
        the virtual CPU to be added and must be a number from 0 to the
        maximum number of CPUs configured.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-unplugcpu">
      <title>Remove a Virtual CPU From a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> unplugcpu</command> command
        removes a virtual CPU from the specified VM if CPU hot-plugging
        is enabled. <replaceable>ID</replaceable> specifies the index of
        the virtual CPU to be removed and must be a number from 0 to the
        maximum number of CPUs configured. You cannot remove CPU 0.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-cpuexecutioncap">
      <title>Set the Maximum Amount of Physical CPU Time Used by a Virtual CPU</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> cpuexecutioncap</command>
        command specifies how the maximum amount of physical CPU time
        used by a virtual CPU. Valid values are a percentage between
        <literal>1</literal> and <literal>100</literal>. A value of
        <literal>50</literal> specifies that a single virtual CPU can
        use up to 50% of a physical CPU. The default value is
        <literal>100</literal>.
      </para>
      <para>
        Use this feature with caution, it can have unexpected results
        including timekeeping problems and lower performance than
        specified. If you want to limit the resource usage of a VM
        it is more reliable to pick an appropriate number of VCPUs.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-vm-process-priority">
      <title>Change the Priority of a VM Process</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> vm-process-priority</command>
        command specifies the priority scheme of the VM process to use
        when starting the specified VM and while the VM runs.
      </para>
      <para>
        Valid values are:
      </para>
      <itemizedlist>
        <listitem><para>
            <literal>default</literal> &ndash; Default process
            priority determined by the OS.
          </para></listitem>
        <listitem><para>
            <literal>flat</literal> &ndash; Assumes a scheduling
            policy which puts the process at the default priority
            and with all threads at the same priority.
          </para></listitem>
        <listitem><para>
            <literal>low</literal> &ndash;  Assumes a scheduling
            policy which puts the process mostly below the default
            priority of the host OS.
          </para></listitem>
        <listitem><para>
            <literal>normal</literal> &ndash; Assume a scheduling
            policy which shares the CPU resources fairly with
            other processes running with the default priority of
            the host OS.
          </para></listitem>
        <listitem><para>
            <literal>high</literal> &ndash; Assumes a scheduling
            policy which puts the task above the default priority of
            the host OS. This policy might easily cause other tasks
            in the system to starve.
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-webcam-attach">
      <title>Attach a Webcam to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> webcam attach</command>
        command attaches a webcam to a running VM. Specify the webcam as
        the absolute path of the webcam on the host OS or as an alias.
        Use the <command>VBoxManage list webcams</command> command to
        obtain the webcam alias.
      </para>
      <para>
        Note that the <literal>.0</literal> alias is the default video
        input device on the host OS. <literal>.1</literal> is the first
        video input device, <literal>.2</literal> is the second video
        input device, and so on. The order of the devices is specific to
        the host system.
      </para>
      <para>
        You can specify optional settings in the form of
        semi-colon-separated (<literal>;</literal>) name-value pairs.
        These properties enable you to configure the emulated webcam
        device.
      </para>
      <para>
        The following settings are supported:
      </para>
      <variablelist>
        <varlistentry>
          <term><literal>MaxFramerate</literal></term>
          <listitem><para>
              Specifies the highest rate at which to send video frames
              to the VM. The rate is in frames per second. Higher frame
              rates increase CPU load, so you can use this setting to
              reduce CPU load. The default value is <literal>no maximum
              limit</literal>. This value enables the VM to use any
              frame rate supported by the webcam.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>MaxPayloadTransferSize</literal></term>
          <listitem><para>
              Specifies the maximum number of bytes that the VM receives
              from the emulated webcam in one buffer. The default
              setting is <literal>3060</literal> bytes, which is used by
              some webcams. If the VM is able to use larger buffers,
              higher values might reduce CPU load slightly. Note that
              some guest OSes might not suppport higher
              <literal>MaxPayloadTransferSize</literal> values.
            </para></listitem>
        </varlistentry>
      </variablelist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-webcam-detach">
      <title>Detach a Webcam From a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> webcam detach</command>
        command detaches a webcam from a running VM. Specify the webcam
        as the absolute path of the webcam on the host OS or as an
        alias. Use the <command>VBoxManage list webcams</command> to
        obtain the webcam alias.
      </para>
      <para>
        When a webcam device is detached from the host, the host OS
        determines how the emulated webcam behaves.
      </para>
      <itemizedlist>
        <listitem><para>
            <emphasis role="bold">Windows hosts:</emphasis> The emulated
            webcam device is detached from the VM automatically.
          </para></listitem>
        <listitem><para>
            <emphasis role="bold">Mac OS X hosts that run at least OS X
            10.7:</emphasis> The emulated webcam device remains attached
            to the VM and you must detach it manually by using the
            <command>VBoxManage controlvm webcam detach</command>
            command.
          </para></listitem>
        <listitem><para>
            <emphasis role="bold">Linux hosts:</emphasis> The emulated
            webcam device is detached from the VM automatically only if
            the webcam is actively streaming video. If the emulated
            webcam is inactive, manually detach it by using the
            <command>VBoxManage controlvm
            <replaceable>vmname</replaceable> webcam detach</command>
            command.
          </para></listitem>
      </itemizedlist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-webcam-list">
      <title>List the Webcams Attached to a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> webcam list</command> command
        lists webcams that are attached to the running VM. The output
        shows a list of absolute paths or aliases that attached the
        webcams to the VM by using the <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> webcam attach</command>
        command.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-addencpassword">
      <title>Set an Encryption Password for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> addencpassword</command>
        command provides the <replaceable>vmname</replaceable> encrypted
        VM with the encryption password to enable a headless start.
        Specify the absolute path of a password file on the host system.
        If <replaceable>filename</replaceable> is <literal>-</literal>,
        <command>VBoxManage</command> prompts for the encryption
        password.
      </para>
      <para>
        Use the <option>--removeonsuspend</option> option to specify
        whether to save the passsword or clear it from VM memory when
        the VM is suspended.
      </para>
      <para>
        If the VM is suspended and the password is cleared, use the
        <command>VBoxManage controlvm <replaceable>vmname</replaceable>
        addencpassword</command> to provide the password to resume
        execution on the VM. Use this feature when you do not want to
        store the password in VM memory while the VM is suspended by a
        host suspend event.
      </para>
      <note>
        <para>
          You can encrypt data stored on hard disk images used by the
          VM. &product-name; uses the AES algorithm in XTS mode and
          supports 128-bit or 256-bit data encryption keys (DEK). The
          encrypted DEK is stored in the medium properties and is
          decrypted during VM startup when you provide the encryption
          password.
        </para>
      </note>
      <para>
        Use the <command>VBoxManage encryptmedium</command> command to
        create a DEK encrypted medium. See
        <xref linkend="diskencryption-encryption" />.
      </para>
      <para>
        The &product-name; GUI prompts you for the encryption password
        when you start an encrypted VM.
      </para>
      <para>
        Use the following command to perform a headless start of an
        encrypted VM:
      </para>
<screen>
          $ VBoxManage startvm <replaceable>vmname</replaceable> --type headless
        </screen>
      <para>
        Then, use the following command to provide the encryption
        password:
      </para>
<screen>
          $ VBoxManage <replaceable>vmname</replaceable> controlvm addencpassword <replaceable>vmname</replaceable> -
          Password: <replaceable>encryption-password</replaceable>
        </screen>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-removeencpassword">
      <title>Disable an Encryption Password for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> removeencpassword</command>
        command disables a specific encryption password for all
        encrypted media attached to the VM.
      </para>
      <para>
        <replaceable>ID</replaceable> is the password identifier for the
        encryption password that you want to disable.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-removeallencpasswords">
      <title>Disable All Encryption Passwords for a Virtual Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable>
        removeallencpasswords</command> command disables all encryption
        passwords for all encrypted media attached to the VM.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-changeuartmode">
      <title>Change the Connection Mode for a Virtual Serial Port on a Virtual
        Machine</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> changeuartmode</command>
        command changes the connection mode for the specified virtual
        serial port. Valid serial port values are integers that start
        from <literal>1</literal>.
      </para>
      <variablelist>
        <varlistentry>
          <term>disconnected</term>
          <listitem><para>
              Disconnects the device.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term>server <replaceable>pipe-name</replaceable></term>
          <listitem><para>
              Specifies the pipe name of the server.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term>client <replaceable>pipe-name</replaceable></term>
          <listitem><para>
              Specifies the pipe name of the client.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term>tcpserver <replaceable>port</replaceable></term>
          <listitem><para>
              Specifies the port number of the TCP server.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term>tcpclient <replaceable>hostname</replaceable>:<replaceable>port</replaceable></term>
          <listitem><para>
              Specifies the host name and port number of the TCP client.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term>file <replaceable>filename</replaceable></term>
          <listitem><para>
              Specifies the name of the file.
            </para></listitem>
        </varlistentry>
        <varlistentry>
          <term><replaceable>device-name</replaceable></term>
          <listitem><para>
              Specifies the name of the device.
            </para></listitem>
        </varlistentry>
      </variablelist>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-autostart-enabled">
      <title>Enabling autostart the VM during host system boot</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> autostart-enabled</command>
        command specifies whether to enable or disable automatically
        start the VM at host system boot-up. You must do some host
        system configuration before you can use this feature.
        See <xref linkend="autostart" />. Valid values are
        <literal>on</literal>, which enables autostart feature for
        the VM and <literal>off</literal>, which disables it. The
        default value is <literal>off</literal>.
      </para>
    </refsect2>
    <refsect2 id="vboxmanage-controlvm-autostart-delay">
      <title>Setting the delay of starting the VM on host system boot</title>
      <remark role="help-copy-synopsis"/>
      <para>
        The <command>VBoxManage controlvm
        <replaceable>vmname</replaceable> autostart-delay</command>
        command specifies the delay in seconds before the VM starts
        on host system boot-up. See <xref linkend="autostart" />.
      </para>
    </refsect2>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <remark role="help-scope" condition="GLOBAL" />
    <para>
      The following command temporarily stops the execution of the
      <filename>ol7</filename> VM.
    </para>
<screen>$ VBoxManage controlvm ol7 pause</screen>
    <para>
      The following command configures shared clipboard operation for
      the <filename>ol7</filename> VM. Copying of clipboard data is
      allowed in both directions between the host and guest.
    </para>
<screen>$ VBoxManage controlvm ol7 clipboard mode bidirectional</screen>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <xref linkend="vboxmanage-list" />,
      <xref linkend="vboxmanage-modifyvm" />,
      <xref linkend="vboxmanage-startvm" />
    </para>
  </refsect1>
</refentry>