Good Evening All,
We recently found a need to deploy a .Plist to the Monterey/Library/Launch Agents folder of our 80+ Macs in our company in an effort to ignore the .DSStore files they create while surfing network shares. This way any user who logs into the Mac has the command run to have the device ignore those files in an effort to speed up searching NAS locations.
Utilizing the follow article:
Deploying Custom Configuration Profiles Using Jamf Pro - Technical Articles | Jamf
I was able to create my own Custom Configuration Profile however I am uncertain what to put in for the Domain Preference. One article said com.jamf.compliancereporter but that wasnt working for us and returning "The mdm verb is not available on this version of MacOS." in the Monterey/private/var/log/jamf.log and I came up short looking that error up.
Any assistance that anyone has would be helpful and appreciated. I am going to post the .Plist text below that I am trying to utilize. I have tested that already and it works correctly I just dont want to deploy it manually on 80+ machines. XD
Thanks
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin</string>
</dict>
<key>Label</key>
<string>DS Store</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/defaults</string>
<string>write</string>
<string>com.apple.desktopservices</string>
<string>DSDontWriteNetworkStores</string>
<string>-bool</string>
<string>TRUE</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
