It’s a little tricky to get this scenario implemented though, as OneDrive will create its own folder named OneDrive inside your user folder.
When you delete a file, it will go to OneDrive site’s recycle bin and will stay there for up to 93 days, even if you delete from your local recycle bin also. Now, everything you do on your machine (desktop, documents etc.) everything will be synced to OneDrive.
Consider this scenario – configure the entire users folder (c:\users\) as the OneDrive Sync location. Some organizations have been really innovative about OneDrive usage and are even using that as a backup solution. If all works so well, is there anything to worry about? Actually yes – Storage requirement on your client machines! Even though your OneDrive site can handle as much as 10TB of content, we need to wait for sometime to get that kind of storage in-built in our laptops/desktops. You can also set up the OneDrive sync on any other machine have the entire content replicated there. You can open these files now from any other device including OneDrive App on Mobile and read/update the content. You would see a green icon with your Files/Folders to highlight that the synchronization has been completed. The feature discussed in this article applies to Personal OneDrive storage as well using microsoft accounts like or Once logged in, it will start synchronizing all files within that folder with your OneDrive Site immediately. When OneDrive client is installed for the first time, it will prompt to login using your Office 365 account and the location on your machine where you want to keep your OneDrive Files synchronized. But I will not get into this discussion in this article. Organizations have love-hate relationship with OneDrive – Some have accepted it to the core whereas others see it as a potential security hazard, which might allow leakage of confidential data by their employees knowingly or unknowingly. It allows them to access their files anywhere from any device, of course, depending on organizational policies. OneDrive for Business sites combined with OneDrive client provides great way to ensure users are truly mobile. This is a place where they are supposed to store files which are not supposed to be shared or ready to be shared with larger audience. usr/bin/defaults write /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/ a complete Office 365 implementation, every user gets a personal web space called OneDrive Site. usr/bin/defaults write /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/ DisablePersonalSync -bool TRUE usr/bin/touch /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/ bin/mkdir -p /System/Library/User Template/English.lproj/Library/Containers/-mac/Data/Library/Preferences/ Stand Alone deployment turned out to be a challenge, since it has to be launched as the current user. JssLog "Microsoft OneDrive Defaults Configured" list /Users UniqueID | awk '$2 > 1000 " cfprefsd #Create a list of mobile user accounts who always have a UniqueID of greater than 1000 # OneDrive folder, and a SymLink created in the /Users/userid directory pointing to the new If the directories are present, then they are moved into the # already, then checks that the folders haven't already been migrated or symlinked to Checks if /Users/userid/OneDrive - Company folder exists # Migrates users' Documents and Desktop folders from their local home directory (/Users/userid) Here's what I have so far.it works and processes all local users, so long as they don't have any open files in Documents or Desktop folders: #!/bin/bash If anyone has experience with setting a default file path in a plist, and can check my work, that would be great. I want to turn this plist into a custom Configuration Profile to deploy to all my clients once I can test that it works. However, I'm not sure if I set the DefaultFolder path string correctly.Īfter looking at other plists in my ~/Library/Preferences folder that point to specific file paths, I think I have the right syntax. So, following the instructions in the article " Configure the new OneDrive sync client on macOS," I've made the following plist.
#ONEDRIVE SYNC CLIENT OPTIONS WINDOWS#
This new client enables users to also sync SharePoint folders to their Macs just like the Windows client. I'm trying to set up a plist that will have defaults settings for the new OneDrive Sync Client released 1/27/17.