How to disable desktop sync for all SharePoint sites ?

%3CLINGO-SUB%20id%3D%22lingo-sub-159796%22%20slang%3D%22en-US%22%3EHow%20to%20disable%20desktop%20sync%20for%20all%20SharePoint%20sites%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-159796%22%20slang%3D%22en-US%22%3EWe%20would%20like%20to%20hide%20the%20desktop%20sync%20for%20all%20SharePoint%20sites%20by%20default%20and%20give%20users%20the%20opportunity%20to%20only%20enable%20this%20for%20required%20document%20libraries%20in%20a%20ShatePoint%20site.%20Are%20there%20UI%20settings%20to%20hide%20this%20for%20all%20SharePoint%20sites%20while%20having%20this%20turned%20on%20for%20OneDrive%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-159796%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-161108%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20desktop%20sync%20for%20all%20SharePoint%20sites%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161108%22%20slang%3D%22en-US%22%3EIs%20ther%20an%20alternate%20way%20other%20than%20scripts%20to%20update%20existing%20and%20newly%20created%20sites%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-159901%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20desktop%20sync%20for%20all%20SharePoint%20sites%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-159901%22%20slang%3D%22en-US%22%3E1.%20Go%20to%20Site%20Settings%20%26gt%3B%20Search%20and%20Offline%20availability%20(under%20Search%20section).%20You%20need%20to%20be%20Site%20Administrator%20to%20do%20this.%3CBR%20%2F%3E%3CBR%20%2F%3E2.%20In%20the%20Offline%20Client%20Availability%20section%2C%20under%20Allow%20items%20from%20this%20site%20to%20be%20downloaded%20to%20offline%20clients%3F%2C%20choose%20No%20radio%20button%20(default%20is%20Yes).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-159891%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20desktop%20sync%20for%20all%20SharePoint%20sites%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-159891%22%20slang%3D%22en-US%22%3EAre%20you%20asking%20or%20just%20stating%20%3A-)%3F%20I'm%20not%20sure%20what%20you%20mean%20by%20at%20the%20site%20level...can%20you%20elaborate%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-159889%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20desktop%20sync%20for%20all%20SharePoint%20sites%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-159889%22%20slang%3D%22en-US%22%3EThis%20setting%20can%20be%20configured%20at%20site%20level%20as%20well.%20This%20means%20that%20we%20would%20need%20to%20write%20a%20power%20shell%20script%20that%20disables%20this%20for%20all%20SP%20sites%20and%20configure%20a%20job%20that%20does%20this%20for%20all%20newly%20created%20sites.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-159883%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20desktop%20sync%20for%20all%20SharePoint%20sites%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-159883%22%20slang%3D%22en-US%22%3EIf%20you%20mean%20to%20hide%20the%20sync%20option%20in%20document%20libraries%2C%20this%20is%20something%20you%20can%20configure%20on%20per-document%20library%3A%3CBR%20%2F%3ESettings%20-%26gt%3B%20Document%20Library%20Settings%20-%26gt%3B%20Advanced%20Settings%20-%26gt%3B%20Allow%20items%20from%20this%20document%20library%20to%20be%20downloaded%20to%20offline%20clients%3F%20-%26gt%3B%20No%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20could%20automate%20this%20setting%20using%20some%20PowerShell%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1149353%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20desktop%20sync%20for%20all%20SharePoint%20sites%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1149353%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F14864%22%20target%3D%22_blank%22%3E%40Dominic%20Horne%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20worked%20for%20me.%3C%2FP%3E%3CP%3EBe%20wary%20of%20setting%20global%20settings%20like%20this%20though%2C%20as%20you%20don't%20want%20to%20set%20a%20blanket%20rule%20unless%20you're%20sure%20it%20won't%20affect%20your%20business%20process%20or%20your%20governance.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor
We would like to hide the desktop sync for all SharePoint sites by default and give users the opportunity to only enable this for required document libraries in a ShatePoint site. Are there UI settings to hide this for all SharePoint sites while having this turned on for OneDrive ?
6 Replies
Highlighted
If you mean to hide the sync option in document libraries, this is something you can configure on per-document library:
Settings -> Document Library Settings -> Advanced Settings -> Allow items from this document library to be downloaded to offline clients? -> No

You could automate this setting using some PowerShell
Highlighted
This setting can be configured at site level as well. This means that we would need to write a power shell script that disables this for all SP sites and configure a job that does this for all newly created sites.
Highlighted
Are you asking or just stating :-)? I'm not sure what you mean by at the site level...can you elaborate?
Highlighted
1. Go to Site Settings > Search and Offline availability (under Search section). You need to be Site Administrator to do this.

2. In the Offline Client Availability section, under Allow items from this site to be downloaded to offline clients?, choose No radio button (default is Yes).
Highlighted
Is ther an alternate way other than scripts to update existing and newly created sites?
Highlighted

@Dominic Horne 

This worked for me.

Be wary of setting global settings like this though, as you don't want to set a blanket rule unless you're sure it won't affect your business process or your governance.