Start Windows Sandbox from the command line
Launch a disposable isolated desktop with WindowsSandbox.exe for testing untrusted files.
01Command
$ WindowsSandbox.exe02What it does
Windows Sandbox spins up a temporary copy of Windows where software you run cannot touch your real system — everything is discarded on close. It must first be enabled as a Windows feature (the dism command in the requirements), then it starts in seconds without any virtual-machine setup. It is ideal for opening unknown attachments or trying installers from untrusted sources.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- netshEvidence: Documents netsh WLAN commands including `netsh wlan show profile name=... key=clear` and `netsh wlan delete profile name=...`.
- Windows SandboxEvidence: Windows Sandbox provides a disposable desktop environment started by running WindowsSandbox.exe.
Last verified: 2026-09-18 · Category: Security & Privacy
06Related solutions
Understand PowerShell's execution policy scopes and set the one that lets you run your own local scripts without gutting the security model.
Two-step command sequence that makes you the owner of a locked file tree and grants yourself full control — the standard fix for 'Access is denied' on old profiles and OS reinstall leftovers.
Built-in Windows command to compute MD5, SHA1 or SHA-256 hashes of any file.