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>
|
---|
8 | When Oracle VM VirtualBox has just started up the encrypted VM cannot
|
---|
9 | be opened and it stays inaccessible. Also, the encrypted VM
|
---|
10 | stays inaccessible if it was just registered without a password
|
---|
11 | or the password is incorrect. The user needs to provide the
|
---|
12 | password using VirtualBox Manager or with the following
|
---|
13 | <userinput>VBoxManage</userinput> command:
|
---|
14 | </p>
|
---|
15 | <pre xml:space="preserve">VBoxManage encryptvm <varname>uuid</varname>|<varname>vmname</varname> addpassword --password <varname>filename</varname>|- --password-id <varname>ID</varname>
|
---|
16 | </pre>
|
---|
17 | <p>
|
---|
18 | To supply the encryption password point
|
---|
19 | <userinput>VBoxManage</userinput> to the file where the password is
|
---|
20 | stored or specify <codeph>-</codeph> to let
|
---|
21 | <userinput>VBoxManage</userinput> prompt for the password on the
|
---|
22 | command line.
|
---|
23 | </p>
|
---|
24 | <p>
|
---|
25 | If <varname>ID</varname> is the same as the password
|
---|
26 | identifier supplied when encrypting the VM it updates the
|
---|
27 | accessibility state.
|
---|
28 | </p>
|
---|
29 | <p>
|
---|
30 | To remove the entered password from the VM memory, use
|
---|
31 | <userinput>VBoxManage</userinput> as follows:
|
---|
32 | </p>
|
---|
33 | <pre xml:space="preserve">VBoxManage encryptvm <varname>uuid</varname>|<varname>vmname</varname> removepassword <varname>ID</varname>
|
---|
34 | </pre>
|
---|
35 | <p>
|
---|
36 | If <varname>ID</varname> is the same as the password
|
---|
37 | identifier supplied when encrypting the VM it updates the
|
---|
38 | accessibility state.
|
---|
39 | </p>
|
---|
40 | <note>
|
---|
41 | <p>
|
---|
42 | If a machine becomes inaccessible all passwords are purged.
|
---|
43 | You have to add required passwords again, using the
|
---|
44 | <userinput>VBoxManage encryptvm
|
---|
45 | <varname>vmname</varname> addpassword</userinput>
|
---|
46 | command. See <xref href="#vmencryption-addpassword"/>.
|
---|
47 | </p>
|
---|
48 | </note>
|
---|
49 | </body>
|
---|
50 |
|
---|
51 | </topic>
|
---|