Hello,
Thank you for posting in Q&A forum.
To configure the Windows Media Player Network Sharing Service, please kindly follow below steps:\
1.Open GPO editor by pressing "Win + R" and input gpedit.msc.
2.Navigate to: Computer Configuration > Administrative Templates > Windows Components > Windows Media Player
3.Set "Prevent Media Sharing policy" as enabled.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.