WebXR is an API that allows web applications to access Virtual Reality (VR) and Augmented Reality (AR) devices. While it enables immersive experiences in the browser, administrators in enterprise environments may want to disable it for security, bandwidth, or productivity reasons. This guide explains how to completely disable WebXR in Microsoft Edge using Group Policy.
Prerequisites
Before proceeding, ensure you have administrative privileges and the latest Administrative Templates for Microsoft Edge installed in your Group Policy Central Store.
Disable WebXR Using Group Policy
Open the Group Policy Editor
Press the Windows Key + R, type gpedit.msc, and press Enter to launch the Local Group Policy Editor.
Navigate to the Microsoft Edge Policies
In the left pane, navigate to Computer Configuration > Administrative Templates > Microsoft Edge.
Locate the WebXR Policy
In the right pane, find and double-click the policy named Allow WebXR.
Disable the Feature
Set the policy state to Disabled. Click Apply and then OK to save the changes.
Force a Policy Update
Open an elevated Command Prompt and run gpupdate /force to apply the new policy immediately.
Verify the Configuration
To confirm the policy is active, open Microsoft Edge, navigate to edge://policy, and check that the WebXRAllowed policy is set to false. Users will no longer be able to use WebXR features in the browser.