Skip to main content
Question

Setting up the New OneDrive Sync Client plist (Config Profile)

  • January 31, 2017
  • 29 replies
  • 218 views

Show first post

29 replies

Forum|alt.badge.img+10
  • Valued Contributor
  • January 18, 2021

@dan-snelson Many thanks that solved the issue!
Cheers
Carlo


Forum|alt.badge.img+2
  • New Contributor
  • May 11, 2021

Hey folks, I am trying to disable personal sync and from this thread I built the following script. The script seems to work, and it inserts the line, but then it appears that the plist gets overwritten again by OneDrive, and it is removed.

Any help here would be appreciated.

killall OneDrive
loggedInUser=$(stat -f%Su /dev/console)
/usr/bin/defaults write /Users/$loggedInUser/Library/Preferences/com.microsoft.OneDrive.plist DisablePersonalSync -bool True
/usr/sbin/chown $loggedInUser /Users/$loggedInUser/Library/Preferences/com.microsoft.OneDrive.plist
sleep 10
open -a OneDrive

Forum|alt.badge.img+16
  • Valued Contributor
  • May 11, 2021

@rb_ if you want to set a preference so it can't be changed you're better off doing it with a config profile. see @carlo.anselmi 's post above for a good example


Forum|alt.badge.img
  • New Contributor
  • December 2, 2022

Hi all,

I'm trying to limit the bandwidth that upload uses for download and upload, I saw that this can be done by adding 2 keys (UploadBandwidthLimited and DownloadBandwidthLimited) to the com.microsoft.ondrive.plist file. is this correct? If in case this is correct, is there a way to do this through a script?