Disable networking and clipboard sharing in Windows Sandbox

What to do first

Disable networking and clipboard sharing in Windows Sandbox. Windows Sandbox enables networking and clipboard sharing by default, creating unnecessary paths between untrusted code and other resources. Record the current state before changing it, use only the supported Windows path described below, and verify the same operation again after any required restart.

This is a general troubleshooting guide, not an announcement of a current outage.

Affected products and symptoms

Product
Windows Sandbox
Versions and conditions
Windows 11 (confirm the edition and hardware requirements for the feature)
Error codes and identifiers
WSB

Symptoms

  • Disable networking and clipboard sharing in Windows Sandbox.
  • The same condition can persist after a retry or restart.

Causes and conditions

Windows Sandbox enables networking and clipboard sharing by default, creating unnecessary paths between untrusted code and other resources.

Before you start

  • Save open documents and allow time for a Windows restart if required.
  • Run administrative actions only on a personally managed PC or with administrator approval.
  • Save the diagnostic command output so the before and after states can be compared.

Precautions

  • Do not bulk-delete registry entries, system folders, credentials, or storage metadata.
  • Do not run unofficial scripts or unknown drivers with administrator rights.
Windows Sandbox troubleshooting sequence: Close the current Sandbox session; Check the state with notepad.exe; Repair through the supported path; Save and open a .wsb file; Verify under the same conditions
Procedure overview created by FaultNote. Read the precautions and full instructions before changing settings. Read the full steps

Step-by-step instructions

  1. 01

    Close the current Sandbox session

    #

    Review any output you need, then close the current Sandbox. A configuration file cannot be applied to an already-running session. Start with harmless test data and do not share confidential files or a working business environment.

  2. 02

    Check the state with notepad.exe

    #

    Turn on file-name extensions and prepare an empty folder for the configuration file.

    Command or path
    notepad.exe
  3. 03

    Repair through the supported path

    #

    Create a .wsb file containing a Configuration root element with Networking and ClipboardRedirection set to Disable, save it, and launch that file.

    Configuration file content (not a terminal command)
    <Configuration><Networking>Disable</Networking><ClipboardRedirection>Disable</ClipboardRedirection></Configuration>
  4. 04

    Save and open a .wsb file

    #

    The XML in step 3 is configuration text to paste into Notepad, not a terminal command. Choose Save as, set the file type to All files, and save it as isolated.wsb. Show file extensions in File Explorer, confirm it is not .wsb.txt, and double-click the file.

  5. 05

    Verify under the same conditions

    #

    In the newly opened Sandbox, confirm that the browser cannot connect to an external site. Copy a harmless short string on the host and confirm that it cannot be pasted into Notepad in Sandbox. ipconfig output alone does not verify that clipboard redirection is disabled.

Check the result

  • The feature starts, connects, or completes without the original error.
  • The verification command reports the expected enabled, healthy, or connected state.
  • The result remains correct after a Windows restart and no new matching critical event appears.

If the problem continues

  • If the same code persists, provide the full message, Windows build, command output, and occurrence time to the PC administrator or Microsoft Support.
  • If hardware requirements, organization policy, or server settings are responsible, ask the owner to make the change instead of bypassing it on the client.

Scope of this guide

Troubleshooting guide — Restore the feature so it starts, connects, or completes normally and passes the same verification after a Windows restart.

Frequently asked questions

Do files remain after closing Sandbox?

No. Installed software, files, and state are discarded when Sandbox closes. Decide how to handle samples and results beforehand.

Does disabling networking make it completely safe?

No. It reduces exposure but does not guarantee safety. Avoid writable host-folder mappings and do not test on a sensitive host.

Official sources and dates

Source publication or resolution date: Not specified. Sources checked: 2026-09-05. The check date is not the date the problem first occurred. Interface labels can vary between versions and display languages.

Related troubleshooting guides

← Search English guides