How to remove the 'Cast to Device' option from context menu on Windows 10

On Windows 10, Cast to Device (formerly known as Play To), is a feature that allows you to stream content, such as videos, music, and pictures, using Windows Media Player to another device (including your Xbox One) using DLNA or Miracast technology.

File Explorer includes a "Cast to Device" option in the context menu when you right-click a compatible file, but if you rarely (or never) use this feature, you can remove it from the context menu.

In this Windows 10 guide, we'll walk you through the steps to quickly remove the "Cast to Device" option from the context menu in File Explorer.

How to remove 'Cast to Device' from context menu

Windows 10 adds Cast to Device to the context menu using a specific shell extension, which you can block from loading using a simple tweak in the Registry, therefore removing the entry from the menu when right-clicking a file.

Important: This is a friendly reminder to let you know that editing the registry is risky, and it can cause irreversible damage to your installation if you don't do it correctly. It's recommended to make a full backup of your PC before proceeding.

  1. Use the Windows key + R keyboard shortcut to open the Run command.
  2. Type regedit and click OK to open the Registry.
  3. Browse the following key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\
  4. Right-click on Shell Extensions, select New and click Key.

  1. Name the key Blocked and press Enter.
  2. Inside the Blocked (folder) key, right-click on the right, select New and click String Value.
  3. Name the string {7AD84985-87B4-4a16-BE58-8B72A5B390F7} and press Enter.

  1. Restart your computer to complete the task.

Once your computer reboots, you'll notice that the Cast to Device option will be gone from the context menu when right-clicking a video, music, or picture file.

Context menu with "Cast to device" option (left), Context menu without "Cast to device" option (right)

You can always change your mind and revert the changes by following the steps mentioned above. However, this time, delete the Blocked key you created on step 5 or delete the string created on step 7.

Do you use the Cast to Device feature on Windows 10? Tell us in the comments below.

More Windows 10 resources

For more help articles, coverage, and answers on Windows 10, you can visit the following resources:

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

Latest in Windows 10
Windows 10 Find My Device
How to enable Find My Device on Windows 10 to recover your PC if it's ever lost or stolen
Outlook Client Hero
Microsoft just made Windows 10 worse, and there's (almost) nothing you can do about it
Windows 10 Start menu on HP ZBook Studio G4
Microsoft will retroactively downgrade this part of Windows 10 next month
Former Microsoft Executive Vice President Terry Myerson stands in front of a presentation about Windows 10
Microsoft addresses the 'elephant in the room,' discusses upcoming end of Windows 10 support
Surface Hub 2S
Windows 10 for PCs is not the only version of Windows to reach end of support this year
Windows Insider program settings
Microsoft shuts down the Windows 10 Beta Channel just five months after reopening it
Latest in How-to
Atomfall
Can I play Atomfall on Steam Deck, ROG Ally, and other gaming handhelds?
The First Berserker: Khazan
Is The First Berserker: Khazan on Xbox Game Pass?
Clair Obscur: Expedition 33
Is Clair Obscur: Expedition 33 on Xbox Game Pass?
A close-up of Hazel in South of Midnight
Is South of Midnight on Xbox Game Pass?
Atomfall screenshot
Atomfall: How to grab the best melee weapon and melee perk right away
Atomfall District B
Atomfall: How to open District B, get inside the Robot Facility, and grab the Signal Redirector