How to Remove the ‘Cast to Device’ Option from the Windows 11 Context Menu

When you right-click on a video or audio file in Windows 11 and access the classic context menu (by clicking “Show more options”), you will see a prominent button labeled “Cast to Device”. This feature is designed to let you instantly stream media files from your PC directly to a smart TV or DLNA-compatible speaker on your local network.

While this sounds incredibly convenient in theory, in reality, it rarely works smoothly. Furthermore, if you never cast media from your PC, or if you use a dedicated media server like Plex, this button is entirely useless. It simply clutters up your context menu and occasionally causes accidental clicks when you are trying to select “Copy” or “Delete”.

You can permanently strip the “Cast to Device” option from the Windows operating system by applying a simple modification to the Windows Registry.

Important Warning

Editing the Windows Registry can cause system instability if you modify or delete the wrong keys. It is highly recommended to create a System Restore point before proceeding, just in case you make a mistake.

Step 1: Open the Registry Editor

  1. Press the Windows Key + R on your keyboard to open the Run dialog box.
  2. Type regedit into the text box and press Enter. Click “Yes” if prompted by User Account Control to grant administrative privileges.

Step 2: Navigate to the Shell Extensions Folder

We need to find the specific folder in the registry that manages modern context menu extensions.

  1. Copy and paste the following path directly into the address bar at the top of the Registry Editor, and press Enter:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked
  2. If the “Blocked” folder does not exist: You must create it. Right-click on the Shell Extensions folder, select New > Key. Name this new key exactly: Blocked.

Step 3: Block the Cast to Device Handler

Now we will explicitly tell Windows to block the specific COM object responsible for generating the Cast to Device button.

  1. Ensure the Blocked folder is selected in the left-hand pane.
  2. Right-click in the empty white space in the right-hand pane.
  3. Select New > String Value.
  4. You must name this new String Value exactly as follows (including the curly brackets):
    {7AD84985-87B4-4a16-BE58-8B72A5B390F7}
  5. Leave the “Value data” inside this string completely empty. The mere presence of this specific string name inside the “Blocked” folder is enough to disable the feature.

Step 4: Restart Windows Explorer

To force Windows to read the new registry rule, you must restart the graphical shell.

  1. Press Ctrl + Shift + Esc to open the Task Manager.
  2. In the Processes tab, scroll down until you find Windows Explorer.
  3. Right-click on Windows Explorer and select Restart. Your taskbar will vanish for a second and then reappear.

Now, right-click on any MP4 or MP3 file on your computer. The “Cast to Device” button will be completely gone, leaving you with a much cleaner context menu.

RELATED POSTS

  • How to Enable “God Mode” in Windows 11 (The Master Control Panel)
  • How to Completely Uninstall Microsoft OneDrive from Windows 11
  • How to Create and Manage Symbolic Links in Windows Using mklink
  • How to Clear the Windows AppX Package Deployment Cache via PowerShell
  • How to Change the Mouse Scroll Direction in Windows 11
  • Get the best tech tips delivered straight to your inbox.

    Join thousands of readers mastering Apple, Google, Microsoft, and Linux.