Network and Internet Enable or Disable DLNA Media Streaming in Windows 10 and Windows 11


  • Staff
Media_library_banner.png

DLNA media streaming allows you to share media from your account's personal Music, Pictures, PlayLists, and Videos folders to other users (same computer), computers, and DLNA supported devices on your network. It also allows you to receive media from other computers and DLNA supported devices.

If you turn on media streaming, your current network profile and firewall settings will be modified. You should only turn on media streaming on networks that you trust, such as home or work networks.

This tutorial will show you how to turn on or off DLNA media streaming for your account or all users in Windows 10 and Windows 11.


Contents

  • Option One: Turn On DLNA Media Streaming for Current User
  • Option Two: Turn Off DLNA Media Streaming for Current User
  • Option Three: Enable or Disable DLNA Media Streaming for All Users in Local Group Policy Editor
  • Option Four: Enable or Disable DLNA Media Streaming for All Users using REG file


EXAMPLE: Your shared media library displayed as a media server device on another allowed Windows PC in File Explorer > This PC

DLNA_media_server_in_File_Explorer_This_PC-1.png
DLNA_media_server_in_File_Explorer_This_PC-2.png





Option One

Turn On DLNA Media Streaming for Current User


1 Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon.

2 Click/tap on the Media streaming options link on the left side of Network and Sharing Center. (see screenshot below)

DLNA_media_streaming-1.png

3 Click/tap on Turn on media streaming. (see screenshot below)

DLNA_media_streaming-2.png

4 Type a name you want for your media library in the Name your media library box.

This will be the name of the media server shown on devices you allowed to share you media library with.

If you have a local account, your media library name will be the same as your account name by default.

If you have a Microsoft account, your media library name will be the same as the email address used for your Microsoft account.



media_library_name.png

5 You can now change the following if wanted: (see screenshots below)
DLNA_media_streaming_specific-2.png
DLNA_media_streaming-3.png
DLNA_media_streaming-3.png
DLNA_media_streaming-4.png

6 Click/tap on OK when finished. (see screenshot below)

DLNA_media_streaming_device-5.png




Option Two

Turn Off DLNA Media Streaming for Current User


1 Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon.

2 Click/tap on the Media streaming options link on the left side of Network and Sharing Center. (see screenshot below)

DLNA_media_streaming-1.png

3 Click/tap on Block All, and click/tap on OK. (see screenshot below)

DLNA_media_streaming-off.png

4 You can now close the Network and Sharing Center if you like.




Option Three

Enable or Disable DLNA Media Streaming for All Users in Local Group Policy Editor


You must be signed in as an administrator to use this option.

The Local Group Policy Editor is only available in the Windows 10/11 Pro, Enterprise, and Education editions.

All editions can use Option Four to configure the same policy.


1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below)

Computer Configuration > Administrative Templates > Windows Components > Windows Media Player

DLNA_Media_Streaming_gpedit-1.png

3 In the right pane of Windows Media Player in the Local Group Policy Editor, double click/tap on the Prevent Media Sharing policy to edit it. (see screenshot above)

4 Do step 5 (enable) or step 6 (disable) below for what you want.

5 Enable DLNA Media Streaming for All Users

This is the default setting to allow users to use Option One to turn on media streaming.


A) Select (dot) Not Configured. (see screenshot below)​

B) Click/tap on OK, and go to step 7.​

DLNA_Media_Streaming_gpedit-2.png

6 Disable DLNA Media Streaming for All Users

This will disable and prevent users from using Option One to turn on media streaming.

Media_streaming_is_not_turned_on.png


A) Select (dot) Enabled. (see screenshot below)​

B) Click/tap on OK, and go to step 7.​

DLNA_Media_Streaming_gpedit-3.png

7 Close the Local Group Policy Editor.




Option Four

Enable or Disable DLNA Media Streaming for All Users using REG file


You must be signed in as an administrator to use this option.


1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.

2 Enable DLNA Media Streaming for All Users

This is the default setting to allow users to use Option One to turn on media streaming..


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Default_user_choice_turn_on_DLNA_media_sharing.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]
"PreventLibrarySharing"=-

3 Disable DLNA Media Streaming for All Users

This will disable and prevent users from using Option One to turn on media streaming.

Media_streaming_is_not_turned_on.png


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Disable_DLNA_media_sharing_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]
"PreventLibrarySharing"=dword:00000001

4 Save the REG file to your desktop.

5 Double click/tap on the downloaded REG file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded REG file if you like.


That's it,
Shawn Brink


 

Attachments

  • Default_user_choice_turn_on_DLNA_media_sharing.reg
    636 bytes · Views: 14
  • Disable_DLNA_media_sharing_for_all_users.reg
    662 bytes · Views: 13
  • Media_library.png
    Media_library.png
    15.4 KB · Views: 13
Last edited:

Latest Support Threads

Top Bottom