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 is technical writer for His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.