I have a freshly installed Windows 11 22H2 OS (all updates installed), with a freshly installed Visual Studio 2022 (all updates installed), on my Surface Book 2. My local user is running in the local Administrators group and in the Hyper-V group. The machine isn't attached to a domain. I have started Visual Studio post-install, as I know that is sometimes necessary for adjacent tooling to work. The OS and VS2022 are all logged into my Microsoft account.
I install the HoloLens 2 Emulator 10.0.20348.1522 and try to run it. I got a few different error dialogs that happen after a bunch of CPU and I/O activity observed in Task Manager:
"emulator unable to verify that the virtual machine is running. access is denied.
"
and
"the emulator is unable to create a differencing disk
"
After an unsuccessful launch with those errors, I then get "disk image is in use" until I reboot.
For this error message, this is an issue under review to be addressed in a future update to the Windows 11 22H2 operating system.
To resolve the error for now, running the emulator as an administrator will allow this to be unblocked. If you are running the emulator from Visual Studio, running Visual studio as administrator will resolve this issue too. Specifically, launch from the shell as an administrator: