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

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Wdtj
Posts: 2
Joined: 4. Mar 2022, 19:08

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

Post 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?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post 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.
Wdtj
Posts: 2
Joined: 4. Mar 2022, 19:08

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

Post 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.
Attachments
Windows 10-2022-03-04-13-11-15.zip
(6.64 KiB) Downloaded 5 times
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

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

Post 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.
Post Reply