How-to: Disable syncing of document library for individual users or groups

Currently, as far as I know, disabling syncing for a document library is all or nothing - everyone with access can sync, or nobody can sync.
Ideally, there would be an independent list permission, "disable syncing," which appears when assigning permissions to a permission level.  (Syncing is allowed by default if access to document library is granted, opposed to an alternative
approach of having "enable syncing" which would set the default the other way).
Given that this level of granularity is not provided out of the box (yet?),
is there any way (SPD?) to disable syncing for individuals?  (Or to disable syncing for the entire library, then enable syncing to individual users?  Depends on who there is more of, 'syncers' or 'nonsyncers'.)
* I know that syncing can be disabled across the board.  This is not an option.
(2) "Open with Explorer" seems to be tied in with syncing, disabling syncing disables "Open with Explorer".  Is there a way to keep "Open with Explorer" functionality while disabling syncing?

Hi,
According to your post, my understanding is that you want to disable sync option in library.
To disable sync option, and keen the open with explore option, we can use the JavaScript to achieve it.
I have made a code demo below to disable sync option for a particular user, it works like a charm, you can modify it to fit your scenario.
<script src="../jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="../jquery.SPServices-2014.01.min.js" type="text/javascript"></script>
<script type="text/javascript">
var userid= _spPageContextInfo.userId;
var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/getuserbyid(" + userid + ")";
var requestHeaders = { "accept" : "application/json;odata=verbose" };
$.ajax({
url : requestUri,
contentType : "application/json;odata=verbose",
headers : requestHeaders,
success : onSuccess,
error : onError
function onSuccess(data, request){
var loginName = data.d.Title;
//alert(loginName);
if(loginName=="Administrator"){
$("a[id='ctl00_SyncPromotedAction']").hide();
function onError(error) {
alert("error");
</script>
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • Hiding a document library from specific users or groups.

    Just FYI I am far from a SharePoint but have able to accomplish a lot from everyone's help on the forums, so thank you in advace.
    Now, Is it possible to hide a document library from specific users or groups? Here is what I am trying to accomplish.
    We have a Document library that we want the whole company to view, we will call this Company Share. We then want to have a separate library/app that
    is only visible to the Finance department. Then another library that is only visible to the shipping dept.
    So when Linda from finance logs into the SharePoint site under Site Contents she should only be able to see 2 items, Company share and Finance.
    Tom from shipping will only see Company Share and Shipping. Administrators and Management will see Company share, finance and shipping.
    I was able to hide the library using sharepoint designer by checking the box "Hide from Browser" which worked but now none of the users can view the library.
    They are only able to access it via a direct URLl link.
    Any help is appreciated.

    Hi 3s1k,
    What did you mean that "management does not want the actual folder library they are in to be visible"?
    Please give more information about your requirement?
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to List view web part to display document library for only users with access permission

    Hi
    I am trying to accomplish this requirement but I don't know if that is possible or how to get there.  Any suggestion or advice are helpful.
    On a site collection, I have several document libraries,  with each library have unique permission to a few user or SharePoint group.
    I want to create a web part page and make that the site home page.  On this web part page, I want to create a Content Search Web Part to list the content of the document library that the logged on users have permission to see. 
    Is this possible with CSWP or is there anything easier or if it is not possible at all,  please advise.
    Thanks
    Swanl

    Hi ,
    Based on your description, my understanding is that you want to create a Content Search Web Part to list the documents that the logged on users have access permission.
    It is feasible with CSWP, you can follow the below step:
    Edit Content Search Web Part->Change query-> Select a query: Items matching a content type (System); Restrict by app: Current site collection; Restrict by content type: Document.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]

  • Access denied error when Loading document library for "contribute" users : Unknown SPRequest error occurred. More information: 0x80070005

    Hi,
    We are facing a very strange issue on a SharePoint Publishing portal. Domain users (contribute level access) have access to document libraries under specific sub sites. Every morning if they try to access the document library pages, users complain about "Access Denied" issue on document library page. But if a SP Farm admin account login on site, and browse to document library page, access denied issue seems to disappear for end users also. For whole day it works fine. But next day access denied error occurs again. I am not sure why this is happening. I have looked into Event Log and SharePoint Logs, found following information useful, but not sure what to do next.
    Please help.
    Event log Details:
    Server: WFE01
    Event Type: Error
    Event Source: Office SharePoint Server
    Event Category: Publishing
    Event ID: 5169
    Date:  17/11/2009
    Time:  07:47:31
    User:  N/A
    Computer: SPWFE01
    Description:
    Console Configuration File Error: XML Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    SP Log files:
    All logs are for process: w3wp.exe (0x031C)                        0x17F4 Windows SharePoint Services  
    ·     Begin OnLoad of XmlConsoleDataSource from file "EditingMenu".
    ·     Attempting to load XML from config file "EditingMenu".
    ·     PermissionMask check failed. asking for 0x00010000, have 0x00000000
    ·     Unknown SPRequest error occurred. More information: 0x80070005
    ·     Access Denied for /Projects/LFB/03 Bid Stage 1/Forms/AllItems.aspx.
    ·     StackTrace: Microsoft.SharePoint.Utilities.SPUtility:Void HandleAccessDenied(System.Exception), Microsoft.SharePoint.SPGlobal:Void HandleUnauthorizedAccessException(System.UnauthorizedAccessException), Microsoft.SharePoint.Library.SPRequest:Void OpenWeb(System.String, System.String ByRef, System.String ByRef, System.String ByRef, System.Guid ByRef, System.String ByRef, UInt32 ByRef, System.Guid ByRef, UInt32 ByRef, UInt32 ByRef, UInt32 ByRef, UInt16 ByRef, Boolean ByRef, Int16 ByRef, UInt32 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Boolean ByRef, Int16 ByRef, UInt32 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Int32 ByRef, Boolean ByRef, System.String ByRef, System.String ByRef, Int32 ByRef, Int16 ByRef, ...
    ...System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.Object ByRef, Boolean ByRef, UInt64 ByRef, Boolean ByRef, Boolean ByRef, System.Guid ByRef, System.Guid ByRef, Int32 ByRef, System.DateTime ByRef, System.DateTime ByRef, System.String ByRef), Microsoft.SharePoint.SPWeb:Void InitWeb(), Microsoft.SharePoint.SPWeb:Microsoft.SharePoint.SPSecurableObjectImpl get_SecurableObjectImpl(), Microsoft.SharePoint.SPWeb:Microsoft.SharePoint.SPRoleAssignmentCollection get_RoleAssignments(), Microsoft.SharePoint.Publishing.WebControls.ConsoleXmlUtilities:System.String ConfigurationXml(System.String, Boolean), Microsoft.SharePoint.Publishing.W...
    ...ebControls.ConsoleXmlUtilities:Microsoft.SharePoint.Publishing.WebControls.ConsoleNode GetConsoleNodeCollectionFromXmlFile(System.String, Boolean), Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource:Void LoadTreeFromConfigXml(), Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource:Void OnLoad(System.EventArgs), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Page:Vo...
    ...id ProcessRequestMain(Boolean, Boolean), System.Web.UI.Page:Void ProcessRequest(Boolean, Boolean), System.Web.UI.Page:Void ProcessRequest(), System.Web.UI.Page:Void ProcessRequestWithNoAssert(System.Web.HttpContext), System.Web.UI.Page:Void ProcessRequest(System.Web.HttpContext), System.Web.HttpApplication+CallHandlerExecutionStep:Void System.Web.HttpApplication.IExecutionStep.Execute(), System.Web.HttpApplication:System.Exception ExecuteStep(IExecutionStep, Boolean ByRef), System.Web.HttpApplication+ApplicationStepManager:Void ResumeSteps(System.Exception), System.Web.HttpApplication:System.IAsyncResult System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext, System.AsyncCallback, System.Object), System.Web.HttpRuntime:Void ProcessRequestInternal(System.Web.HttpWorkerReque...
    ...st), System.Web.HttpRuntime:Void ProcessRequestNoDemand(System.Web.HttpWorkerRequest), System.Web.Hosting.ISAPIRuntime:Int32 ProcessRequest(IntPtr, Int32),
    ·     Releasing SPRequest with allocation Id {E3BC24ED-F243-4DBD-8625-EE7CF9FDA039}
    ·     Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    ·     Console Configuration File Error: XML Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    ·     Releasing SPRequest with allocation Id {D1A87724-6FB6-4009-B6D1-D7E15918E213}
    Pryank Rohilla
    MCTS, MCAD

    Hi pryank,
    From the log, it seems that the users don’t have permission on this page:
    /Projects/LFB/03 Bid Stage 1/Forms/AllItems.aspx
    Does the sub site have unique permission instead of inheriting permission from the parent site? If no, you need to make the sub site to inherit permission from the site collection so that master page also inherits the right. If this is not allowed in your organization, please go to “Site Actions”à “Site Settings” à “Master Pages and Page Layouts” to give users permissions on this document library.
    Hope this helps.
    Lu Zou

  • How do I use one iTunes library for several user accounts?

    This is definitely a question!
    I have several user accounts for my osx. One I use at home, one at work etc.
    What I never have been able ta manage is a way to use the same iTunes library (the same music files) for the different accounts.
    When a new user profile is created, everything in it is set to scratch.
    I have tried all kinds of tricks:
    - Direct iTunes to look for It's library on the other users folder (wich doesn't really work, cus even if you are Admin you don't have access to other users folders through another user).
    - Creat an alias for the other library-folder and refere to it.
    etc. etc. You name it...
    Anyone?

    Hi,
    This will help you - http://docs.info.apple.com/article.html?artnum=93195
    Regards

  • How to disable the annoying security warning for all users in Windows Server 2008 R2

    Hi,
    The employees from the administration complain all the time about the different types of security warning that they get when trying to run some applications which are used frequently.
    Since the number of the users is too big it is unfeasible to go through all the users and disable the User Access Control at their account settings.
    Is it possible to achieve this through given account policy settings. I want to perform the changes on the server so it applies to *all* (or maybe those of Administration department) users.
    One useful information here can be the following: we use 2 different severs, the application which cause the errors are in the terminal server, and the users are in the main server. Where should I perform the changes?
    Best,
    D

    Hiya,
    It could sound like that one indeed. There are a few options to go for, however it should be fairly easy to find out :)
    Create a test GPO and apply to a limited amount of users. GPUpdate and verify that the GPO has been applied using rsop.msc
    Then open the application to test and see if it has the desired effect. You might need to change more than one setting, depending on the application and desired behavior.

  • How to diable delete button in PO for all users excepting one

    Dear All
    Please guide how to disable delete button in PO for all users excepting only one.
    Thanks

    Hi,
    check following link
    [Disable fields at item level in ME22N;
    [Disable Delete Button;
    Regards
    Kailas Ugale

  • How to block calls based ANI for individual user?

    I want to know how to block calls based on ANI for individual user in CUCM?  Lets say if the individual wants to block calls from certain number.
    Malicious call id - softkey will not work for our purpose.
    calls come to cucm via mgcp gateway.  cucm 9.x
    thanks,

    How to block calls has been asked hundreds, and hundreds of times at CSC, a simple search would have provided you with all the necesarry information. Please search before you ask
    https://supportforums.cisco.com/docs/DOC-19628
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • I just purchased a Macbook, iPad, and iPhone and I am trying to sync my iTunes library from my Windows laptop.  How can I sync my iTunes library to all devices?

    I just recently purchased a MacBook Pro (13 inch with Retina display), an iPad Air 2, and an iPhone 6 plus.  Before these purchases, I was using a Windows 7 laptop to manage my iTunes library and iTunes purchases.  I am in need of syncing my iTunes library on my iPod classic (160 GB) with all of my new Apple devices.  How can I sync my iTunes library with all of my new devices?

    Devices can only sync to one library at a time. You can, however, have multiple copies of libraries on different computers though it can be tricky making sure they are always synchronized.  You can put your Windows iTunes on your Mac.
    Moving a library: Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its sub-folders and files) intact to the other drive.  Hold down the option (alt) key (shift on Windows) and open iTunes.  At the prompt to create or choose a library choose the copied iTunes folder.
    When this is to a new computer put the copied iTunes folder in the default location of Macintosh HD > Users > *User Name* > Music  then you don't even need to start with the option key held down, iTunes will automatically look for it there.  (Make sure there isn't anything already in the iTunes folder there that you want to keep since you will be replacing it with the one you are moving.)

  • How can I sync my iPhoto Library from my iMac to my iPad?

    How can I sync my iPhoto Library from my iMac to my iPad?

    Thanks so much.  As always with Apple products---it was super easy.  Who would have guessed to open iTunes?
    Thanks again for the magic first step!

  • How to rename the SharePoint Document Library existing file name using Web service

    Hi,
    How to rename the SharePoint Document Library existing file name using SharePoint Web service.
    Is it possible. How could i do it?
    Thanks & Regards
    Poomani Sankaran

    Hi,
    Lists.UpdateListItems Method
    would be helpful for your requirement.
    Here is a blog with code demo for your reference:
    http://blogs.msdn.com/b/knowledgecast/archive/2009/05/20/moss-using-the-list-web-service-to-rename-a-file.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How do i sync the music library on my iPhone 5s to my macbook air

    how do i sync the music library on my iPhone 5s to my macbook air. The original sync was on a work computer i no longer have. Please help!

    You will have to search on the Internet for third party software that will allow you to do that.  For business reasons, Apple has made the update process a one way street: ie: from the computer to the iPod/iPhone only.
    Ciao.

  • How can I use my itunes library for iphoto slideshow?

    how can I use my itunes library for iphoto slideshow?

    Here's a possible workaround:
    Create the slideshow in Iphoto and add a theme and music.
    Install Picasa  and it will include the slideshow on it's indexed list.
    Upload the slideshow to PicasaWebAlbums and send the link to anyone you wish.
    The music and theme is preserved.
    Caveat: My playback pictures appear darker than usual but that could be just lousy photography...:)
    Example:https://picasaweb.google.com/mb2180/Kona2011?authuser=0&authkey=Gv1sRgCPGWz_qPrM XKZA&feat=directlink

  • How can i sync my iTunes library from my iPhone with my new mac mini

    Recently my hard drive failed on my mac mini.  I had burned a bunch of CDs on the old mac mini and then sync'd it with my iphone.  Now the CDs are on my iphone but not on the new mac mini.  How can I sync my itunes library from my iphone to my new mac mini?

    The iphone is not a backup device.
    You need to copy everything from the backup copy of your computer computer to your new one.

Maybe you are looking for

  • Integrating Joint Venture staff in the enterprise structure - best ways?

    Hi, how would you integrate a new Joint Venture staff into the existing global structure of the enterpise (Personnel Admin and Talent/Development Management perspective)? What are the best practises? Joint Venture itself would be a separate Company C

  • Photoshop CS5 and CS6 does not start. Windows 7

    I am using Photoshop CS5 as well as CS6, 64-bit on Windows 7. Since the last few days, I noticed that Photoshop would take a very long time to start (earlier it used to start within few seconds). Today, I found that both the Photoshop versions do not

  • Pricing Tables for subcontracting PO

    Hi The scenario is: creation of PO for subcontracting, in my pricing procedure I need to use a discount condition that depends on the meterial code that I issue as component, using pricing rule I have structures KOMK and KOMP but there isn't the comp

  • Help with Ram & a Model number.

    Hi, Trying to purchase some additional RAM for my daughters iMac on the stealth. I have the model number #A1174 and the basics - like it's a 20", 2.0GHZ, and that it came with 512 MB installed - can anyone tell me by looking at the model number if th

  • Help needed: audio missing - export to html & pdf

    audio missing - export to html & pdf both soundtrack and audio on specific pages play fine as slideshow and as export Quicktime. exports to html & pdf are missing audio entirely. the audio assets are not in the html folder. i am not doing anything co