How to Disable Miracast Using Regedit

This guide provides a straightforward walkthrough on how to disable Miracast wireless projection on a Windows system using the Registry Editor (Regedit). Disabling this feature prevents your computer from functioning as a wireless display receiver, which is useful for enhancing network security, enforcing workplace device policies, or preventing unauthorized screen-casting connections.


Step-by-Step Guide to Disable Miracast

  1. Open the Registry Editor
    • Press Windows Key + R to open the Run dialog box.
    • Type regedit and press Enter or click OK.
    • Click Yes if prompted by User Account Control (UAC).
  2. Navigate to the Connect Policy Key
    • In the address bar at the top of the Registry Editor, paste the following path and press Enter:

      HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Connect
    • Note: If the Connect folder (key) does not exist under Windows, right-click on the Windows key, select New > Key, and name it Connect.

  3. Create and Configure the Value
    • Right-click on the Connect key in the left pane (or in any empty space in the right pane).

    • Select New > DWORD (32-bit) Value.

    • Name the new value:

      AllowProjectionToPC
    • Double-click AllowProjectionToPC.

    • Set the Value data to 0 and make sure the Base is set to Hexadecimal.

    • Click OK.

  4. Restart Your Computer
    • Close the Registry Editor.
    • Restart your PC to apply the changes.

How to Re-Enable Miracast

If you need to restore Miracast wireless projection capability in the future:

  1. Open regedit and navigate back to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Connect.
  2. Double-click AllowProjectionToPC and change the Value data to 1, or right-click the AllowProjectionToPC entry and select Delete.
  3. Restart your computer.