Page 1 of 1

New VirtualBox & VM fail with NtWriteVirtualMemory/Peb failed: 0xc0000022

Posted: 4. Mar 2022, 19:17
by Wdtj
I have just installed Virtual Box and created the first VM. When I try and start it I get a dialog that says:
NtWriteVirtualMemory/Peb failed: 0xc0000022
Please try reinstalling VirtualBox.

where: supR3HardNtChildScrewUpPebForInitialImageEvents...

I've searched for this but not found anything that resembles my situation. I've tried reinstalling. I tried removing Hyper-V (it was originally installed). And changing acceleration.

Any ideas?

Re: New VirtualBox & VM fail with NtWriteVirtualMemory/Peb failed: 0xc0000022

Posted: 4. Mar 2022, 19:42
by mpack
Provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.

Re: New VirtualBox & VM fail with NtWriteVirtualMemory/Peb failed: 0xc0000022

Posted: 4. Mar 2022, 21:21
by Wdtj
It seems that the save button won't. I copied and pasted to a text file and zipped that. Hope that works for you.

Re: New VirtualBox & VM fail with NtWriteVirtualMemory/Peb failed: 0xc0000022

Posted: 4. Mar 2022, 23:05
by fth0
Looks like the host computer is owned by BeyondTrust Privilege Management and/or Sophos Endpoint Defense, and not by Microsoft or by you. ;) So you'll probably have to persuade them to let VirtualBox do its job.