Virtuelle Maschine Speicher reduzieren?

Hallo,
Ich habe so eben Sachen auf meiner VM gelöscht. (Oracle VM, Windows 11 Host und Windows 10 Guest mit dynamischen Speicher.)

Da mein Speicherplatz nicht wieder freigegeben wurde auf dem Host PC, habe ich ein Tutorial dafür befolgt in der Hoffnung, dass dies nun funktioniert.

(Ich besitze übrigens keine VDI Datei, sondern lediglich eine .hdd Datei, welche ich einfach dafür benutzt habe.)

Als ich nun folgenden Befehl eingab: VBoxManage.exe modifymedium disk C:\Users\Test\VirtualBoxVMs\Test –compact

Kam immer folgende Fehlermeldung: VBoxManage.exe: error: Permission problem accessing the file for the medium ‘C:\Users\test\VirtualBoxVMs\test’ (VERR_ACCESS_DENIED)

VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium, callee IUnknown

VBoxManage.exe: error: Context: “OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())” at line 201 of file VBoxManageDisk.cpp

Ich bin offensichtlich neu bei der Bedienung von VMs und wäre echt dankbar für jede Hilfe.

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
13 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
jerric8
1 year ago

Try to start the command prompt as an administrator.

Enter Windows Search:

Command prompt

, right-click the search result and select:

Start as Administrator

out.

Then test the command again:

C:\Users\Test\VirtualBoxVMs\Test --compact
jerric8
1 year ago
Reply to  Applefan110

Barley

jerric8
1 year ago

Barley

jerric8
1 year ago

There’s something missing.

“C:\Users\Test\VirtualBoxVMs\HERE\Test.hdd”

the .hd is still standing Windows for Here or something.

jerric8
1 year ago

Where is the *.hd? There must be at least one link.

jerric8
1 year ago

Also the command:

VBoxManage.exe modifyhd "C:\Users\Test\VirtualBoxVMs\Test.hdd" compact

so already tried and:

“C:\Users\Test\VirtualBoxVMs\Test.hdd”

in quotation marks.

jerric8
1 year ago

Is your username with which you register Test?

C:\Users\Test