3 ms·
My understanding is that Sandbox runs on top of Hyper-V. Is it a VM? Is it some kind of native Windows container? Why can you only run one instance at a time?
by apatheticonion 3y ago
My understanding is that Sandbox runs on top of Hyper-V. Is it a VM? Is it some kind of native Windows container? Why can you only run one instance at a time?
- lifthrasiir 3y agoIt's a VM plus lightweight guest OS to leverage the host resource as much as possible, so can be thought as a container (but not as independent as typical containers, the guest OS should be synchronized with the host OS). And I think multiple sandbox instances can coexist.
- apatheticonion 3y agoThanks for the insight > And I think multiple sandbox instances can coexist. Maybe I need to know the magic registry edit to allow it. Windows tells me it's not allowed when I try to spawn more than one
- lifthrasiir 3y agoAh! Sorry for the confusion, you are right that there can be at most one Windows Sandbox running at a time. But Windows Sandbox is based on Windows Containers [1] which can coexist (Defender already uses the same technology, so this must be true), and it seems that the single instance limitation of Sandbox is more or less artificial [2]. I haven't yet seen a third-party attempt to emulate Sandbox but it looks in principle possible. [1] https://learn.microsoft.com/en-us/virtualization/windowscontainers/about/ https://learn.microsoft.com/en-us/virtualization/windowscont... [2] https://research.checkpoint.com/2021/playing-in-the-windows-sandbox/ https://research.checkpoint.com/2021/playing-in-the-windows-...