For a quick, one-off check of a suspicious file, Windows Sandbox is usually the simpler choice—provided your Windows edition supports it and you can keep the test disposable. Choose a Hyper-V virtual machine when you need a different guest OS or Windows build, several managed test environments, or state you can preserve and reset. Neither option is a guarantee against every threat or escape; for Sandbox, Microsoft recommends limiting sharing and disabling networking when the file does not need it.
Which should you use?
- Choose Windows Sandbox for a fast, temporary test that can use the host’s Windows build and does not need to retain changes after you close it.
- Choose a Hyper-V VM when you need a separately configured operating system, saved state, or multiple environments for repeatable tests.
- Do not treat either as a guarantee of safety. Microsoft documents isolation features and configuration options, but the cited documentation does not establish that either environment defeats every malicious file or escape attempt.
How Sandbox and Hyper-V differ
| Decision | Windows Sandbox | Hyper-V virtual machine |
|---|---|---|
| What happens to changes? | Closing Sandbox deletes its software, files, and state. A new session starts fresh. On Windows 11 version 22H2 and later, data can persist through restarts initiated inside Sandbox, but not after closing it. | Changes persist unless you manually revert them. |
| Setup and operation | Lightweight and quick to open; it does not require a separate VM installation. | Requires more configuration, including virtual switches, network adapters, and snapshots. You must manage allocated CPU, memory, and disk resources. |
| Guest OS and build | Uses the same Windows build as the host. | Can run a separately selected guest OS, subject to Hyper-V’s supported guest requirements. |
| Resources | Reuses read-only host OS files and adjusts memory to demand. | Uses resources allocated to the VM; fixed allocations can affect host performance. |
| Concurrent environments | Only one Sandbox instance can run at a time, according to Microsoft’s Windows Sandbox FAQ. | More suitable when a test needs multiple managed environments. Practical scale depends on host resources and configuration. |
| Security controls | Hardware-based virtualization and a separate kernel, with configurable networking, mapped folders, clipboard, vGPU, and other sharing. | Uses a hypervisor isolation and configurable VM/networking model. Microsoft’s cited sources do not establish a universal security ranking between the two. |
Microsoft describes Sandbox as a way to run untrusted applications. Its Windows Sandbox documentation also explains its disposable behavior and design. A VM’s retained state can be useful for controlled, repeatable analysis, but persistence means changes remain until you deliberately revert or otherwise reset the VM.
Configure Sandbox to share less
Sandbox’s defaults permit more interaction with the host than some suspicious-file checks require: networking and clipboard redirection are enabled by default. A mapped folder can also create a route for the guest to access host files. Review the sharing you actually need before opening the sample.
- Disable networking if the sample does not need it. Microsoft warns that Sandbox networking can expose untrusted software to the internal network. A
.wsbconfiguration file can disable networking. If observing network behavior is essential, use a deliberately isolated lab network and avoid exposing internal systems; Microsoft’s configuration guidance is not a complete malware-lab design. - Disable clipboard redirection if you do not need it. Clipboard redirection allows content to pass between the host and Sandbox.
- Map only the folder needed to supply the file, and make it read-only. Microsoft warns that writable mapped-folder changes persist after Sandbox is disposed and that mapped files can be compromised or affect the host.
- Consider whether virtual GPU is necessary. Microsoft notes that enabling vGPU can potentially increase Sandbox’s attack surface.
- Keep unrelated host data and credentials out of the test. This is a practical precaution based on the documented sharing and exposure controls.
Microsoft’s Sandbox configuration guide covers networking, clipboard, mapped folders, vGPU, and other .wsb settings. These controls reduce unnecessary sharing; they do not establish that a sample cannot affect the host.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →#1 Best Overall
- Connectivity: Includes WiFi, Bluetooth, and LAN for wireless and wired connections
- Memory: Features 16GB DDR4 RAM for smooth multitasking and performance
- Storage: Combines 500GB SSD and 1TB HDD for ample storage space
- Graphics: Integrated Intel UHD Graphics 630 for crisp visuals and video playback
- Design: Sleek desktop tower with black color and slim profile for modern look
Check Windows edition and hardware requirements
Confirm eligibility before planning a workflow around either feature. Microsoft’s Windows Sandbox installation requirements list Pro, Enterprise, Pro Education/SE, and Education editions; Windows Home is unsupported. For Hyper-V on Windows, Microsoft lists Windows 10/11 Pro or Enterprise.
| Feature | Published host requirements |
|---|---|
| Windows Sandbox | AMD64 or supported Arm64; virtualization enabled in BIOS; at least 4 GB RAM (8 GB recommended); at least 1 GB free disk space (SSD recommended); at least two CPU cores (four with hyper-threading recommended). Microsoft does not state a year for these figures on the requirements page. |
| Hyper-V on Windows | 64-bit processor with SLAT and VM Monitor Mode extensions; at least 4 GB RAM; hardware-assisted virtualization enabled in BIOS/UEFI; and DEP enabled. Microsoft’s Hyper-V host-requirements page was last updated 2025-07-25. |
These figures are published requirements, not a promise that a given workload will run smoothly. A VM’s resource allocations must be managed alongside the host’s needs.
Rank #2
- [INTEL POWERED CONTENT] - Built with a 8th Generation Hexa-Core Intel i5 and 32GB of DDR4 RAM; Modern, Windows 11 ready, with 4K support, Executive multitasking, media streaming and smooth, multi-tab web browsing; Perfect as an all-purpose multimedia computer; built for content creators; Plenty of RAM and Mass storage for photo and video editing powered by Intel HD 630
- [LATEST WIRELESS TECH] - This Dell Desktop Computer easily connects to the internet through the Built In WiFi / Bluetooth
- [SOLID STATE STORAGE] - This Dell Computer setup comes with an ultra-fast 1TB Solid State Drive (SSD); Setup as the primary boot device; Boot and load programs with lightning speed ; Additional expansion available
- [BUY & OWN WITH CONFIDENCE] - From the world's largest Microsoft Authorized Refurbisher; Quality Guarantee and Free Tech Support; Award-winning Customer Service; | Support Sustainable Business
- [MODERN HI-SPEED PORTS] - USB 3.0 (x4) | USB 2.0 (x4) | DisplayPort (x1) | HDMI Port (x1) | Audio Combo Jack (x1) | Audio Out (x1) | RJ-45 Ethernet (x1) | Internal SATA (x3)
Account for Windows version behavior
Sandbox’s restart behavior and delivery model have changed across Windows 11 releases. Beginning with Windows 11 version 22H2, data can persist across restarts initiated from within Sandbox, but closing Sandbox still discards its session. From Windows 11 version 24H2, a newer Sandbox app is delivered through Microsoft Store; the latest app version requires Windows 11 24H2 with the specified update and Store/Windows Update access. Check Microsoft’s current Sandbox documentation for the requirements that apply to your installation.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.When a VM is worth the extra setup
A Hyper-V VM makes more sense when the test question cannot be answered inside Sandbox’s fixed model. Use a VM if you need a guest OS or Windows build different from the host, want to preserve a particular state between sessions, or need more than one managed environment. Plan the VM’s networking and reset procedure deliberately; the cited documentation describes configuration options, not a complete design for safely analyzing malware.
Quick Recap
Rank #3
- Model: Dell OptiPlex 7050 Small Form Factor (SFF)
- Processor: Intel Core i7-7700 3.60 GHz
- Memory: 32GB DDR4 Ram
- Storage: 1TB Solid State Drive (SSD) Fast Boot + Storage
- Operating System: Windows 11 Pro (64-bit)
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




