Skip to content
Follow
Windows

Enable Printer Sharing in Windows Sandbox

Richard
Written by
Richard
Nov 9, 2022 Updated Sep 15, 2026 3 min read
How to Add Music Folders in Windows Media Player
How to Add Music Folders in Windows Media Player

Printer sharing in Windows Sandbox lets you send documents from the isolated desktop environment directly to your physical printers. Windows Sandbox is a temporary 10-gigabyte virtual workspace that deletes all changes the moment you close it.

Advertisement

Because this sandbox runs in total isolation by default, it blocks your host computer’s hardware devices like printers. You need to update a configuration file with a simple code line to bridge the connection between your main system and the sandbox.

⚡ Quick Answer

Enable printer sharing in Windows Sandbox by opening Local Group Policy Editor and navigating to Computer Configuration Administrative Templates Windows Components Windows Sandbox. Double-click “Allow printer sharing with Windows Sandbox” and set it to Enabled.

Advertisement

How to turn on or off printer sharing with Sandbox in 🪟 Windows 11

To turn on printer sharing Windows Sandbox features, you need to update the configuration file so your isolated desktop can access your physical printers. By default, Windows Sandbox blocks access to local hardware for security. Changing this setting lets you send print jobs directly from the sandbox to any printer installed on your main computer without needing to transfer files first.

Below, the Sandbox is isolated; you can’t print from it. If you want to print, you must enable printer sharing between the host and sandboxed environment.

Here’s how to do that.

First, open Local Group Policy Editor by clicking the Start Menu  and searching for Edit group policy, as highlighted below.

Advertisement

Under Best match, select Edit group policy to launch Local Group Policy Editor.

windows 11 edit group policy
windows 11 edit group policy

In the left pane of Local Group Policy Editor, expand the tree:

Computer Configuration > Administrative Templates > Windows Components > Windows Sandbox

Then, in the Windows Sandbox details pane on the right, find and double-click the "Allow printer sharing with Windows Sandbox" setting.

windows 11 allow printer sharing with windows sandbox
Windows 11 allows printer sharing with Windows Sandbox

In the Allow printer sharing with Windows Sandbox window, choose either Not Configured, Enabled, or Disabled.

Advertisement
  • Not Configured (default)
  • Enabled  - host printers will be shared into Windows Sandbox.
  • Disabled - Sandbox will not view printers from the host.
windows 11 allow printer sharing with windows sandbox options
Windows 11 allows printer sharing with Windows sandbox options

Enable or disable printer sharing with Sandbox via Windows Registry

You can enable printer sharing Windows Sandbox settings using the Registry Editor if your version of Windows lacks the Group Policy Editor. Open the Registry Editor and go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsSandbox to create or modify the printer redirection key. This method applies the necessary system policy changes directly through the registry database.

Open the Windows Registry and navigate to the folder path (like a file folder) shown below.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsSandbox
windows 11 enable disable printer sharing with sandbox registry
Windows 11 enables disabling printer sharing with the sandboxed registry

If you don't see a Sandbox folder key, right-click on the Windows key and create a new subfolder named Sandbox.

In the right pane of the Sandbox folder, right-click and choose New DWORD (32-bit) Value. Name this new key AllowPrinterRedirection.

Advertisement

Double-click it and set the Value data to 1 to turn on sharing.

⚠️WarningTo disable it, set the Value data to 0 or delete the key.
windows 11 registry allow printer redirection
Windows 11 registry allows printer redirection

That should do it!

Reference:

Advertisement

Conclusion:

  • Enabling printer sharing between the host and sandbox environment in Windows 11 provides the ability to print from the isolated sandbox environment.
  • The process involves accessing the Local Group Policy Editor or the Windows Registry to configure the printer-sharing settings accordingly.
  • These steps ensure seamless communication between the host machine and the Sandbox, allowing for a more versatile and productive workflow.

Should printer sharing be on or off?

A much better security practice is to remove File and Print Sharing.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

How to View Local Group Policies that are Configured in Windows 11
Windows How to View Local Group Policies that are Configured in Windows 11
How to Reset Group Policy Windows 11 to Default
Windows How to Reset Group Policy Windows 11 to Default
How to Enable or Disable Regedit in Windows 11
Windows How to Enable or Disable Regedit in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *