If you happen to have windows 11 installed, then you can use the new Windows Sandbox Mode, This is a safe environment that essentially starts a virtual machine in Windows 11, where you can play around with settings and suspicious executable to see what they do.
The purpose of a sandbox is that if you execute data or content in that sandbox, it doesn’t affect the host which in this case is your windows 11 installation, this will therefore essentially work like a hypervisor running on top of Windows.
Check virtualization on CPU
First, you need to check that your CPU supports virtualization, and that is in enabled in the BIOS The quickest way to do this is start task manager, and then once they click on the performance icon the choose the CPU and ensure that "Virtulisation" is enabled as below:
Start Powershell in evelated mode
Yes, you will need to start powershell in administator mode, to complete search for it off the start menu, then right click the icon and choose run as administrator as below:
Install Windows Sandbox
Once you have your Powershell as an admin then you need to enter the following command:
Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -All
That should look like this:
This will then being the install as you an see below, this will take a moment....
Once completed you will need to restart your device for this to work as this, like many things, requires a reboot.
Reboot : Windows Components Update
Isolated Disk from my System Disk?
What about Networking in the Sandbox?
Well if this was a Sandbox then it would make sense not to have networking enabled or give you a private address that cannot talk the internet, so lets confirm that with Powershell an ipconfig:
Can I copy files to and from Sandbox?
Well with a drag and drop now you cannot, it does not let you, but if you use Ctrl+C then click in the sandbox window and press Ctrl+V you can indeed copy files between the two which means you still need to be careful.....
Sandbox file came from the Sandbox machine (which is now on the host)