Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Windows Sandbox Copy Paste Not Working

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If copy-paste between Windows Sandbox and your host PC has stopped working, the fix is usually a quick settings toggle or a restart of the sandbox. Windows Sandbox has a built-in clipboard sharing feature that can get disabled or stuck; re-enabling it or restarting the sandbox restores the shared clipboard in most cases. Below are the exact steps, plus what to do if the basic fix doesn't work.

What You'll Need

  • Administrator access on the Windows 10 or Windows 11 PC (to change Sandbox settings and restart the service).
  • Windows Sandbox enabled (if it isn't, see the Troubleshooting section).
  • Closed sandbox session (you'll restart it during the steps).

Step-by-Step

  1. Close Windows Sandbox completely. Click the X on the sandbox window and wait for it to fully shut down. Do not just minimize it.
  2. Open Windows Features. Press Win + R, type optionalfeatures.exe, and press Enter. (If you get a UAC prompt, click Yes.)
  3. Locate Windows Sandbox. Scroll down the list and find “Windows Sandbox.” Make sure its checkbox is checked. If it isn't, check it and click OK. Windows will install the required files and may ask you to restart the PC—do that before continuing.
  4. If the checkbox was already checked, uncheck it and click OK. This disables the feature. Restart the PC when prompted. This resets the Sandbox configuration, which often clears clipboard glitches.
  5. After restart, re-enable Windows Sandbox. Open optionalfeatures.exe again, check the “Windows Sandbox” box, click OK, and restart if prompted.
  6. Start Windows Sandbox. Press Win, type “Windows Sandbox,” and launch it. Wait for the sandbox to fully boot (you'll see the desktop).
  7. Test copy-paste both ways. Copy text on your host (Ctrl+C), click inside the sandbox, and press Ctrl+V. Then copy something in the sandbox and paste it on the host. If it works, you're done.
  8. If it still fails, check the clipboard history setting. On the host, go to Settings > System > Clipboard. Make sure “Clipboard history” is turned on. Some users report that the sandbox clipboard sharing relies on this feature being enabled. (Note: the exact menu path may differ slightly depending on your Windows version.)
  9. Restart the Windows Sandbox service. Press Win + R, type services.msc, and press Enter. Find “Windows Sandbox” in the list (it may be listed as “Sandbox” or “Windows Sandbox”). Right-click it and choose Restart. If Restart is not available, choose Stop, then Start.
  10. If all else fails, reset the sandbox. Close the sandbox, then delete the contents of the sandbox's virtual hard disk. To do this, open File Explorer and navigate to C:\Users\[YourUsername]\AppData\Local\Packages\Microsoft.Windows.Sandbox_8wekyb3d8bbwe\LocalState. Delete the files inside that folder (they are the sandbox's saved state). Be aware this resets the sandbox to a clean state—any files you saved inside the sandbox will be lost. Then relaunch Windows Sandbox.

Common Mistakes

  • Only minimizing the sandbox. The clipboard sharing state is tied to the sandbox session; minimizing doesn't reset it. Always fully close the sandbox before making changes.
  • Forgetting to restart after disabling/enabling the feature. Windows Sandbox requires a restart for the feature change to take effect. Skipping the restart leaves the old config in place.
  • Using the wrong keyboard shortcut. In the sandbox, the clipboard is shared via the host's clipboard. You must use the host's Ctrl+C/Ctrl+V, not the sandbox's internal clipboard (which is separate). If you're using a remote desktop tool inside the sandbox, that may interfere.
  • Assuming it's a Windows update issue. While updates can sometimes break features, the clipboard sharing toggle is the first thing to check. Don't jump to reinstalling Windows.

Tips

  • Use the sandbox's “Shared Clipboard” setting if available. Some versions of Windows Sandbox have a small toolbar at the top with a clipboard icon. Click it to ensure clipboard sharing is enabled. If you don't see it, your version may not have it—use the steps above instead.
  • Copy simple text first. If you're trying to copy files or images and it fails, test with plain text. File copy-paste may be blocked by the sandbox's security policy, while text is usually allowed.
  • Keep Windows updated. Microsoft periodically fixes sandbox bugs. Check Settings > Windows Update and install any pending updates.
  • Use the sandbox's built-in file sharing if you need to move files. Instead of copy-paste, you can share a folder with the sandbox via the sandbox's settings (the folder icon in the toolbar). This is more reliable for files.

Troubleshooting

If the steps above didn't fix it:

  • Check if Windows Sandbox is even enabled. If you can't find it in the Start menu, it's not enabled. Go to optionalfeatures.exe and enable it. If the checkbox is grayed out, your PC's CPU or BIOS doesn't support virtualization—see the FAQ below.
  • Make sure virtualization is on. Windows Sandbox requires virtualization (VT-x/AMD-V) to be enabled in your BIOS. Restart your PC, enter BIOS (usually by pressing Del or F2 during boot), find the virtualization setting (often under “Advanced” or “CPU Configuration”), and enable it. This is a hardware setting, so be careful; if you're unsure, consult your motherboard manual.
  • Try a different user account. If the issue persists, create a new local user account and test the sandbox from there. This can rule out a corrupt user profile.
  • Run SFC and DISM. Open Command Prompt as administrator and run sfc /scannow. After that, run DISM /Online /Cleanup-Image /RestoreHealth. These tools repair corrupted system files that might affect the sandbox. They take a few minutes but are safe.
  • If the sandbox fails to start entirely, check the Windows Event Viewer (Event Viewer > Windows Logs > System) for errors mentioning “Sandbox.” This can give a specific error code to search for.

Frequently Asked Questions

Why does copy-paste work sometimes but not always?

Clipboard sharing in Windows Sandbox is not guaranteed for all content types. Plain text and small images usually work, but large files or rich content (like formatted text from a web page) may fail. Also, if the sandbox has been running for a long time, the clipboard service can become stale; restarting the sandbox fixes that.

Can I copy-paste files between host and sandbox?

Not directly via clipboard. Windows Sandbox does not support file copy-paste through the clipboard by design. Use the folder sharing feature (the folder icon in the sandbox toolbar) to share a directory between host and sandbox.

Does Windows Sandbox work on Windows 10 Home?

No. Windows Sandbox is only available on Windows 10 Pro, Enterprise, and Education editions, and on Windows 11 Pro and above. If you have Home, you'll need to upgrade or use a different virtualization tool.

Why is the Windows Sandbox checkbox grayed out?

This usually means your CPU doesn't support virtualization or it's disabled in BIOS. Check if your CPU supports VT-x/AMD-V, and enable it in BIOS. Also, make sure Hyper-V is not conflicting—sometimes disabling Hyper-V temporarily can help.

Will resetting the sandbox delete my files?

Yes. The sandbox is ephemeral by design—anything you save inside it is lost when you close it. The reset step in this guide deletes the saved state, which is the same as closing it. If you need to keep files, copy them out to the host before closing the sandbox.

Is there a way to copy-paste using keyboard shortcuts other than Ctrl+C/V?

No. Windows Sandbox uses the standard Windows clipboard shortcuts. If they don't work, the clipboard sharing is broken—follow the steps above to fix it. There's no alternative shortcut.