← Back to Blog

Troubleshooting | Published Aug 21, 2026 | Updated Oct 13, 2026 | 6 min read

Does Windows Sandbox Keep Clipboard History?

By Mohit Sehrawat

Does Windows Sandbox Keep Clipboard History? — Edge Drop Guide

No. Windows Sandbox doesn't keep clipboard history between sessions: when you close it, Microsoft says all software, files and state inside it are deleted, and the next launch starts fresh. While it's running, the sandbox shares your PC's clipboard by default, so you can copy and paste text and files in both directions. You can turn that sharing off with a .wsb configuration file.

What happens to the clipboard in Windows Sandbox

While the sandbox is openAfter you close it
Copy and paste between your PC and the sandboxWorks by default, for text and filesNothing left in the sandbox
Win+V history inside the sandboxWorks once you turn it on thereDeleted with everything else
Pinned Win+V items inside the sandboxKept until you close itDeleted
Win+V history on your PCUnaffectedUnaffected

Restarting Windows from inside the sandbox is different. Starting with Windows 11, version 22H2, data persists through restarts you start within the sandbox. Only closing the Sandbox app discards it.

Why Win+V is empty or asks you to turn it on

Each launch is a clean Windows installation, and Windows clipboard history is off until you turn it on. Press Win+V inside the sandbox and select Turn on if you want history for that session. Your PC's own history and pinned items don't appear inside the sandbox; they're separate Windows installations.

How to keep something you copied in the sandbox

Don't rely on the sandbox for anything you need later. Before you close it:

  • Paste text into an app on your PC. With clipboard sharing on, copy in the sandbox and paste into Notepad or your notes app on the host.
  • Save files to a mapped folder. A .wsb file can share a folder from your PC with write access. Microsoft says changes made to a write-enabled mapped folder persist after the sandbox is closed.

Here is a minimal .wsb file that maps a folder with write access. Change the host path to a folder that already exists on your PC; the sandbox won't start if it doesn't.

<Configuration>
  <MappedFolders>
    <MappedFolder>
      <HostFolder>C:\SandboxShare</HostFolder>
      <SandboxFolder>C:\Share</SandboxFolder>
      <ReadOnly>false</ReadOnly>
    </MappedFolder>
  </MappedFolders>
</Configuration>

Save it with the .wsb extension and double-click it to start the sandbox with that setting. Keep in mind Microsoft's warning: a writable mapped folder lets anything running in the sandbox change files on your PC.

How to turn clipboard sharing off

If you're opening suspicious files, you may not want the sandbox touching your clipboard at all. Add ClipboardRedirection to a .wsb file:

<Configuration>
  <ClipboardRedirection>Disable</ClipboardRedirection>
</Configuration>

Microsoft documents three values:

ValueEffect
EnableShares the host clipboard with the sandbox
DisableRestricts copy and paste in and out of the sandbox
DefaultCurrently allows copy and paste between host and sandbox

You can combine it with other options in the same file, for example <Networking>Disable</Networking>. Microsoft also notes that Protected client mode, <ProtectedClient>Enable</ProtectedClient>, may restrict copying and pasting files in and out of the sandbox.

Copy and paste between your PC and the sandbox isn't working

  1. Make sure you started the sandbox from the Start menu or from a .wsb file that doesn't set ClipboardRedirection to Disable or ProtectedClient to Enable.
  2. Test with plain text in Notepad on both sides.
  3. Close the sandbox and start it again.

If paste fails between ordinary apps on your PC too, the problem isn't the sandbox; see how to test if the Windows clipboard is working. For VirtualBox, VMware or Hyper-V VMs, see VM copy-paste not working.

FAQ

Which Windows editions have Windows Sandbox?

Microsoft lists Windows Pro, Enterprise, Pro Education/SE and Education. It isn't supported on Windows Home.

Can something in the sandbox read my clipboard?

With clipboard sharing on, apps in the sandbox can paste what's on your PC's clipboard, so clear or replace anything sensitive before you open untrusted files, or disable clipboard redirection. Can other apps read everything you copy? explains the general risk.

Does copying in the sandbox affect my PC's clipboard history?

What you copy in the sandbox can reach your PC's clipboard, and once it's there Windows can record it in your PC's history like any other copy. Clear it with Win+V if you don't want it kept. Clipboard history vs the single live clipboard explains the difference between the two.

Related reading

Sources

Mohit Sehrawat
Written by Mohit Sehrawat · Author & Testing Contributor

Mohit Sehrawat helps test Edge Drop, trying features on Windows and reporting bugs. A B.Tech Computer Science Engineering student focused on software testing and product quality, Mohit writes the troubleshooting and privacy guides.

GitHub · LinkedIn

Copy. Stack. Drop.

Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.

Download for Windows Get from Microsoft Store

How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support

Free · Lightweight · Privacy First
Find us on CodeHype