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 is technical writer for WindowsCentral.com. 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.

37 Comments
  • They should really allow you to customize context menus without editing the registry. With all the personalization options happening its a shame that the right click is getting ignored.
  • Cast music videos and photos to media device is very important so why hide that feature
  • It's not an important feature to everybody. If it's a feature you are not going to use then it becomes visual clutter in the right click menu.
  • This Dum Dum, It's the best feature to have. I don't know why anyone would want to remove this feature. I use it everyday. Now I don't need to copy movies to a drive to play on my TV, I just cast it.
  • Amazing answer. Best is simply your opinion. There is nothing here suggesting the feature go away and the fact that you like the feature is a good reason to keep it an more importantly it is a good reason for you to keep it in your menu. For somebody who does not like or use the feature then the option on the right click menu is visual clutter and this is is just one reason that a person may want to remove it. SImply put, a person would want to remove it because that person's opinion of the feature is different than yours.
  • I cast videos to my XB1 all the time. Doesn't mean everyone does, glad there is an option for those who want it. However, I find this useless. Some people may find removal of the start menu useful. Oh wait..
  • I work in an educational establishment, and blocking that feature on the standard student win10 image will probably happen. Cons out weight the pros of having it available.
  • Should be able to make it so you need a password to cast.
  • If you use the Microsoft Wireless Display Adapter you actually have an option for that
  • Maybe because I have a Chromecast, that it doesn't work with?
  • I used this feature from Microsoft Edge for the first time today. I was watching the Microsoft event this way and was streaming from my main PC to Xbox 360. I don't have my main PC on speakers this is why. I really worked great and I really hope that anyone who's gonna disable this feature will be sorry for such a decision one day.
  • God, mate. Thanks for the tip ;) I didn't even know that the 360 is capable of doing this :D I tried it with our dusty old, first generation 360, and it worked pretty good, considering that the console is really old and my internet is slow as hell :D
  • Ah, so Windows 10 goes to the old Media Center component? I knew it could stream music and videos from a hard drive on the same network. Also they had the live event app on 360.
  • You just press the cast to device button in Edge, select your 360, and the streamed media just pops up on the screen, saying "Media from Microsoft Edge". Don't know how they do it, but this was my experience :D
  • Isn't it crazy that Xbox 360 supports this but Xbox One does not yet?
  • Just install cleaner, go to settings -> startup -> the third tab, just search "the things" you want hide.
  • Just install cleaner
    You mean CCleaner?
  • Why would you want to remove it?  
  • Because options! /mind blown
  • What new option does this provide?
  • I use this daily to cast my tv torrents to the xbox/tv, would never remove it.
  • Why remove it at all? I guess for employees.
  • I only wish that it worked on my ACER laptop. I have been trying to connect to my SONY Bravia TV. At one time, it worked fine, now all I get are unable to connect messages on both devices. Any suggestions?
  • try this, go to old school control panel, in search box at top right type in "media" first option that comes up is "Network and Sharing Center/Media streaming options", click the link for media streaming and click the "turn on" button, then try casting again.
  • oops
  • Hey guys. In Windows 8.1 you used to be able to just cast your screen or specific apps to xbox with the charms menu under devices play to... This was handy when I wanted to watch content from a webbrowser in the main tv. I have been able to cast specific files using this context menu but not my whole screen. What's the equivalent process in windows 10 to cast my whole screen (or at least chrome for example) to xbox?
  • Open the Action centre and select the connect button. Once connected to your TV open the Action centre again and select project.
  • Stupid useless advice.
  • IMHO this is why people moan about Windows - the freedom to f**k it up themselves.... and then moan about it.
  • Yeah..some control keep things tidy and robust. That's why people fret about instability in Windows and prefer OSX or Mac os for stability.
    Microsoft should just give options to customize right click context menu in general way.
  • Exactly, that and people who use Windows 10 and then configure it to behave like Windows 7. Why not just use Windows 7 instead!!?!
  • This is one of the best features in Windows 10, Edge. And almost all the media apps are utilizing the API. I use this feature regularly to cast videos from HDD or YouTube. May be those who don't have Wifi or have only Ethernet connection may want to remove that feature.
  • Cast to device never works for me, I have to use TubeCast or PowerDVD without issues. Maybe MS uses different api or protocols or whatever, but it's very bad for a software company
  • Just connect your PC and TV in the same wifi connection. That's it. It works for me every time. Can't say about Miracast.
  • Man, this feature is ace.
  • Why in the hell would anyone want to remove this? I don't get it.
  • People are wondering why someone would want to remove this. I have my HTPC connected directly to my TV (not a smarttv). "Cast to" is useless to me and will never be used. That would not be a problem except I have no device to cast to, so Windows actually freezes for a few seconds while it tries to find a device. Very annoying. Thanks for the registry key. Just what I was looking for.