Microsoft has introduced Windows Sandbox as an optional feature in builds of Windows 10 19H1 (Windows 10 May 2019 update or Later). Windows Sandbox offers a secure, isolated, and disposable environment to test out suspicious programs and prevent them from affecting the main OS installation.
The moment you turn off the virtual machine, it resets everything. This is the best ever tool to test any software without installing in your host machine then regret.
Windows Sandbox is currently available for Windows 10 Pro or Enterprise installations.
You will also need:
A 64-bit processor
Virtualization switched on in your system BIOS (mandatory, guideline mention below)
4GB RAM minimum (Microsoft recommends 8GB)
At least 1GB free disk space (Microsoft recommends using an SSD)
At least 2 CPU cores (Microsoft recommends four cores with hyper threading, not necessary )
How to Check If Virtualization is Switched On?
Before delving into your BIOS to turn virtualization on, there is a quick check you can do to see if it is already active.
Type task in your Start Menu search bar and select Task Manager. In the Task Manager, switch to the Performance tab. It will either list Enabled or Disable alongside Virtualization.
If virtualization is disabled, you need to head to the BIOS and switch it on. (Please Google it, for different mother board, procedure is different, but very easy, you will find many guidance how to enable virtualization).
Now considering virtualization is enable.
Press Windows + R keys simultaneously to launch the Run box. Type appwiz.cpl and click OK to open Programs and Features.
How to Switch on Hyper-V and the Windows Sandbox Feature
Check that Microsoft Hyper-V is up and running. Hyper-V is a Windows Server virtualization tool built into Windows. In this case, Hyper-V is used to create the Windows Sandbox, so you must switch it on before proceeding.
In windows features, Scroll down and check Hyper-V. It will check the nested options automatically. Now, scroll down a little more and find the Windows Sandbox option and check the box. Hit OK, then restart your system.
How to Access Windows Sandbox
After Windows restarts, type windows sandbox in your Start Menu search bar. Or in the start menu scroll down and open the Windows Sandbox!
The Windows Sandbox opens a clean version of your current Windows version each time you open it. It is always up to date, with the same system updates as the host. When you finish using the Window Sandbox, simply close the application. Any changes you make to the operating system running in the Windows Sandbox will disappear permanently.
If you have the capability, give Windows Sandbox a try.