Windows 10: Using the sandbox

Presentation

Windows 10 Sandbox allows you to launch an isolated Windows 10 (build 18342) environment to perform tests in all security.

Prerequisites

  • Enable virtualization in the BIOS.
  • Have Windows 10 Pro or Enterprise.

Installation

Open the Control Panel, go to Programs and Features, and click Enable or Disable Windows Features 1 .

Check Windows Sandbox 1 and click OK 2 .

Wait during installation and restart the computer if necessary.

Using the sandbox

From the start menu search Windows SandBox.

Wait while creating and loading the environment.

The environment is loaded, it is now possible to do tests without risk for your Windows installation.
Bac à sable / sandbox

Customize the sandbox

It is possible to customize the environment by creating a wsb file, which is nothing more than an XML file with the configuration.

In order to have a shared space between the work environment and the test, I created a WSB folder at the root of drive C where I put a file. This folder will be read-only.
shared folder

On your computer, create a file with the extension wsb.
fichier wsb bac à sabme / file of sandbox

Open the file with a text editor and copy the text below then save.

<Configuration>
	<!-- enable vgpu -->
    <VGpu>Enable</VGpu>
	<!-- enable network -->
    <Networking>Enable</Networking>
	<!-- share folders -->
    <MappedFolders>
       <MappedFolder>
         <HostFolder>C:\WSB</HostFolder>
         <ReadOnly>true</ReadOnly>
       </MappedFolder>
    </MappedFolders>
</Configuration>

It is possible to add a script at startup using the LogonCommand parameter

<LogonCommand>
   <Command>command to be invoked</Command>
</LogonCommand>

Double click to launch the sandbox, at launch we find on the desktop the WSB folder that has been mapped in the WSB file.
bac à sable avec dossier / Sandbox with folder

Conclusion

This new feature of Windows 10 will now allow you to perform tests without affecting the work environment. You can also use this function to analyze a “dubious” file or install a program to test it to validate it.

 

 


How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!



Related Posts


Active Directory: Migrate SYSVOL Folder from FRS to DFSR
Presentation Since Windows Server 2008 and its 2008 domain functional level, replication of the SYSVOL folder is supported by DFSR, before it was done by FRS. If your domain controllers are running Windows 2012R2, it is advisable to use DFSR for the

Sharepoint 2013 foundation: installation and configuration
In this tutorial, we will see how to set up Sharepoint 2013 foundation on Windows 2012R2. Although this version at the time of writing this article is more than 5 years old, it allows to discover Sharepoint before making its acquisition. SharePoint i

SQL Server Restore a Database from a Backup (BAK)
Introduction In this tutorial, I will show you how to restore a SQL Server database from a backup file (BAK). To perform the restore, you must have SQL Server Manager Studio (SSMS). Restore a database In order to find the backup files, I copied them

Leave a Comment