
Since the release of Windows 11 version 24H2, Microsoft quietly removed a few familiar tools from the default Windows Sandbox image — including Notepad, WordPad, and PowerShell ISE. While that might not be a big deal for the average user, it’s a frustrating change for IT pros, script jockeys, and automation nerds like me. Fortunately, there’s a solid workaround: with a custom .wsb file and some prep work, you can still launch a disposable sandbox environment and inject whatever tools you need. This guide walks you through exactly how to do that — clean, simple, and safe.
What You Need
- Windows 11 Pro, Enterprise, or Education
- Version 22H2 or later
- Virtualization enabled in BIOS/UEFI
- Administrator rights
If Windows Sandbox Isn’t Enabled Yet
Option 1: Use the GUI
- Press
Win + R, typeoptionalfeatures.exe, and press Enter - Check Windows Sandbox
- Click OK and reboot
Option 2: Use PowerShell
Run this in an elevated PowerShell window:
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -OnlineStep 1: Download and Extract the ZIP
Extract Sandbox.zip (click here to download the zipfile) to:
C:\Sandbox
This archive contains:
Sandbox.wsbSandbox_Setup_Guide.pdfFileshare\install-software.ps1Fileshare\executionpolicy.ps1Fileshare\setup.cmdFileshare\additional_commands.cmd
Step 2: Understand the .wsb File
The .wsb configuration mounts the local Fileshare folder inside the Sandbox and runs the install script automatically at logon.
Example Sandbox.wsb content:
<Configuration>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Sandbox\Fileshare</HostFolder>
<ReadOnly>false</ReadOnly>
</MappedFolder>
</MappedFolders>
<LogonCommand>
<Command>powershell.exe -ExecutionPolicy Bypass -File "C:\Users\WDAGUtilityAccount\Desktop\fileshare\install-software.ps1"</Command>
</LogonCommand>
</Configuration>

Step 3: Launch the Sandbox
- Double-click
Sandbox.wsb - Windows Sandbox starts
- The folder is mapped, and
install-software.ps1runs - The script installs:
- PowerShell 7.1
- Visual Studio Code
- Notepad++
- VSCode extensions (optional)
- Logs are saved to
Installing.txtand renamed toDone.txtafter completion
Windows 11 24H2: Missing Default Tools

In this version of Windows 11, the following are no longer included in Sandbox:
- PowerShell ISE
- Notepad
- WordPad
Solution:
Install or include replacements in your setup manually (like VSCode, Notepad++).

Step 4: Done? Just Close the Window
When you close the Sandbox, everything resets.
Your host system remains untouched.
To repeat the process, just launch the .wsb file again.
Optional: Create More Sandbox Profiles
You can clone and customize .wsb files for different tasks:
DevTools.wsb– Full developer suiteTestSetup.wsb– App or script testingCleanShell.wsb– Minimal environment for debugging
Summary
- Fast, isolated test environments
- Perfect for script validation, install tests, or development tools
- Fully customizable
.wsbfiles - Always disposable, always clean
Written by:
Michael van der Burg, Technical Consultant @ Proact

