The Windows 10 Guest was ver. 21h2. I ran Windows10MediaCreationTool to update it to 22h2.
Now I'm getting BSOD "Your PC/Device needs to be repaired"
Error code: 0xc000000f I'm trying to boot from a USB Windows 10 repair.
I tried mounting the USB drive:
In Disk Management the USB is drive 1
I ran this:
Code: Select all
C:\Programs\VirtualBox>C:\Programs\VirtualBox\VBoxManage createmedium disk --filename C:\Programs\VirtualBox\BootUSB.vmdk --variant=RawDisk --format=VMDK --property RawDrive=\\.\PhysicalDrive1
0%...VBOX_E_FILE_ERROR
VBoxManage.exe: error: Failed to create medium
VBoxManage.exe: error: Could not create the medium storage unit 'C:\Programs\VirtualBox\BootUSB.vmdk'.
VBoxManage.exe: error: VMDK: Image path: 'C:\Programs\VirtualBox\BootUSB.vmdk'. Failed to open the raw drive '\\.\PhysicalDrive1' for reading (VERR_ACCESS_DENIED) (VERR_ACCESS_DENIED).
VBoxManage.exe: error: VMDK: could not create raw descriptor for 'C:\Programs\VirtualBox\BootUSB.vmdk' (VERR_ACCESS_DENIED)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreateMedium(struct HandlerArg *)" at line 634 of file VBoxManageDisk.cpp
C:\Programs\VirtualBox
And the USB drive F:
I don't understand why it shows Access Denied.
I also tried adding a Windows 10 .iso file to storage to see if i could get it to boot from there to repair the startup. I don't know how to get it to boot from Windows 10 .iso so i can repair the boot up.