Category filter

Configuration profile to disable iCloud sync for Desktop & Documents folders on Mac

With iCloud Drive, a macOS user can sync files stored in their Desktop and Documents folders with all their Apple devices or access them at from a web browser. While it is a helpful feature, concerns may arise about the corporate data being accessed outside of a company device or the folders taking up excessive iCloud storage space. In such instances, IT admins could employ a custom configuration profile to disable synchronizing the data of their Desktop and Documents folders over iCloud. IT admins who wish to remotely deploy the configuration profile to multiple macOS devices enrolled in their organizations can use Hexnode’s Deploy Custom Configuration feature.


The configuration profile provided below is adapted from a third-party open-source site.


This configuration profile is supported on macOS 10.12.4 and later devices enrolled in Hexnode.

Disable iCloud sync for Desktop & Documents folders

The device management profile configures the allowCloudDesktopAndDocuments key, which accepts the boolean values, true or false. To disable the iCloud sync for Desktop & Documents folders, the key value has to be set to false.

What happens at the device end?

Once the policy and custom configuration are associated, the ‘Desktop & Documents Folders’ option in System Settings > iCloud > iCloud Drive gets disabled.


  • To create and customize configuration profiles, you can use tools like Apple Configurator, Profile Manager or manually create them using text editors.
  • Use non-encrypted .mobileconfig, .xml, or plist files to deploy profiles across macOS devices.
  • Ensure that you do not associate conflicting configurations with the devices.
  • Use wildcards to fetch key values from the portal.
  • It is recommended to manually validate the configuration profile execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the configuration profile.

  • Configuration Profile Repository