Macbooks accessing windows shares?

Discussion in 'Mac Pro' started by sparky2020, Apr 25, 2018.

  1. sparky2020 macrumors newbie

    Joined:
    Apr 25, 2018
    Location:
    bradford
    #1
    Hi All.
    I have been running windows networks for the past many years. Server 2012 with lots of windows machines. the school decided to buy 30 macbooks. have them running with profile manager on macserver with AD on server2012 for login authentication. mapped drives, homefolders and everything working fine so far, JUST ONE BIG problem. macbooks can see all the windows machines on the network and the associated shares in the finder. I managed to get a script that hides them, until you click show. Is there anyway i can hise them permanently? or something i can use on the profile manager on macserver to do this.
    the current script I am testing is below. but when it runs it works but the pop up shows on the desktop of the mac, which i dont want to happen. running this script silently would help.
    any help would be greatly appreciated.
    I am not too clever with scripting on macs but will always give it a bash.

    defaults write com.apple.sidebarlists networkbrowser -dict-add CustomListProperties
    "<dict><key>com.apple.NetworkBrowser.backToMyMacEnabled</key><false/>
    <key>com.apple.NetworkBrowser.bonjourEnabled</key><false/>
    <key>com.apple.NetworkBrowser.connectedEnabled</key><false/>
    </dict>"

    defaults write com.apple.sidebarlists systemitems -dict-add ShowServers -bool NO
    defaults write com.apple.sidebarlists favorites -dict-add ShowServers -bool NO
    defaults write com.apple.finder SidebarSharedSectionDisclosedState -bool NO

    killall Finder
     
  2. ActionableMango macrumors G3

    ActionableMango

    Joined:
    Sep 21, 2010
    #2
    This forum you posted in is about the desktop model Mac Pro, which doesn't really have anything to do with what you are asking about.

    You might want to post in one or both of the following forums instead, where people with more relevant knowledge might be able to help:

    MacOS General:
    https://forums.macrumors.com/forums/macos.69/

    MacOS Networking:
    https://forums.macrumors.com/forums/mac-os-x-server-xserve-and-networking.123/
     

Share This Page