1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="vmencryption-addpassword">
|
---|
4 | <title>Opening the Encrypted VM</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>When <ph conkeyref="vbox-conkeyref-phrases/product-name"/> has just started up the encrypted VM cannot be opened
|
---|
8 | and it stays inaccessible. Also, the encrypted VM stays inaccessible if it was just registered without a password
|
---|
9 | or the password is incorrect. The user needs to provide the password using <ph
|
---|
10 | conkeyref="vbox-conkeyref-phrases/vbox-mgr"/> or with the following <userinput>VBoxManage</userinput> command: </p>
|
---|
11 | <pre xml:space="preserve">VBoxManage encryptvm <varname>uuid</varname>|<varname>vmname</varname> addpassword --password <varname>filename</varname>|- --password-id <varname>ID</varname>
|
---|
12 | </pre>
|
---|
13 | <p>To supply the encryption password point <userinput>VBoxManage</userinput> to the file where the password is
|
---|
14 | stored or specify <codeph>-</codeph> to let <userinput>VBoxManage</userinput> prompt for the password on the
|
---|
15 | command line. </p>
|
---|
16 | <p>If <varname>ID</varname> is the same as the password identifier supplied when encrypting the VM it updates the
|
---|
17 | accessibility state. </p>
|
---|
18 | <p>To remove the entered password from the VM memory, use <userinput>VBoxManage</userinput> as follows: </p>
|
---|
19 | <pre xml:space="preserve">VBoxManage encryptvm <varname>uuid</varname>|<varname>vmname</varname> removepassword <varname>ID</varname>
|
---|
20 | </pre>
|
---|
21 | <p>If <varname>ID</varname> is the same as the password identifier supplied when encrypting the VM it updates the
|
---|
22 | accessibility state. </p>
|
---|
23 | <note>
|
---|
24 | <p>If a machine becomes inaccessible all passwords are purged. You have to add required passwords again, using the
|
---|
25 | <userinput>VBoxManage encryptvm <varname>vmname</varname> addpassword</userinput> command. See <xref
|
---|
26 | href="#vmencryption-addpassword"/>. </p>
|
---|
27 | </note>
|
---|
28 | </body>
|
---|
29 |
|
---|
30 | </topic>
|
---|