How to Add or Remove Cast to Device context menu in Windows 10
Cast to Device in Windows 10 is a rebranded and improved version of Play To Device that was used in previous version of Windows. Cast to Device is a feature that allows you to directly (wired or wirelessly) stream media from your PC or tablet to a Miracast or DLNA supported device (ex: TV or Xbox) on your home network.
The Cast to Device context menu is available on media files (music, photos, videos, etc...) and folders that are supported for this feature. Cast to Device is also available as an option in supported apps, such as Microsoft Edge and Movies & TV.
This tutorial will show you how to remove the Cast to Device context menu from files and folders for all users in Windows 10. This can be handy if you don't use or want the context menu.
You must be signed in as an administrator to be able to add or remove the context menu.
EXAMPLE: "Cast to Device" context menu
Here's How:
The downloadable .bat files below will add/remove and modify the string value in the registry key below.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked
{7AD84985-87B4-4a16-BE58-8B72A5B390F7} String value
(delete string value) = Add
Play to Menu = Remove
1 Do step 2 (remove) or step 3 (add) below for what you would like to do.
A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.
Remove_Cast_to_Device_context_menu.bat
Download
This is the default setting.
A) Click/tap on the Download button below to download the BAT file below, and go to step 4 below.
Add_Cast_to_Device_context_menu.bat
Download
4 Save the .bat file to your desktop.
5 Unblock the .bat file.
6 Right click or press and hold on the .bat file, and click/tap on Run as administrator.
7 When prompted by UAC, click/tap on Yes.
8 You will now notice your screen flicker and a command prompt quickly open and close as explorer is restarted to apply the registry changes.
9 When finished, you can delete the downloaded .bat file if you like.
That's it,
Shawn