• Mac OS X,  Mass Deployment

    Optical Sharing

    I recently needed to temporarily enable optical disk sharing on a couple of machines at a number of different sites (don’t ask why, long story). There were enough to where I wanted to do it sending a script. But where is this stuff stored? Snapshot says: in com.apple.NetworkBrowser.plist. Which keys? diff says: EnableODiskBrowsing and ODSSupported, both boolean. Resulting command to enable sharing out my DVD drive: defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true defaults write com.apple.NetworkBrowser ODSSupported -bool true Not the kind of thing I wanted to leave running, so to then disable it again: defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool NO defaults write com.apple.NetworkBrowser ODSSupported -bool NO