none
Hide "Access Media" & "Add a Network Location" icons using Group Policy

    Question

  • Hi

    I'm currently trying to finalise group policy settings for my Windows 8 students. All seems to be going well except, I cant for the life of me find out hide to hide 2 remaining items under "This PC", these being the "Access Media" & "Add a Network Location" icons on the File ribbon (image below), can anyone help please.

    Wednesday, July 02, 2014 11:32 AM

Answers

All replies

  • Hi,

    I think we can deploy script with set-acl powershell command to take ownership with Administrator of following keys, and set Deny permission on Users:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddMediaServer
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddNetworkLocation

    SET-ACL on registry key
    http://blogs.technet.com/b/brad_rutkowski/archive/2008/09/29/set-acl-on-registry-key.aspx

    Image like this:

    After doing this, my explorer appears like this: No these 2 options


    Kate Li
    TechNet Community Support


    Thursday, July 03, 2014 8:18 AM
    Moderator
  • Kate

    Works perfectly!!!!

    Many, many thanks.

    Paul

    Thursday, July 03, 2014 8:44 AM
  • Hello,

    finally I used these commands to hide Media Server button:

    SetACL.exe -on "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddMediaServer" -ot reg -actn setowner -ownr "n:Administrators"

    SetACL.exe -on "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddMediaServer" -ot reg -actn ace -ace "n:mfsinst1\users;p:full;m:deny;w:dacl"

    Wednesday, June 21, 2017 6:27 AM