How to Disable SharePoint Sync but Keep Add Shortcut to OneDrive
Question details
The user wants to remove the SharePoint Sync option while keeping the Add shortcut to OneDrive feature for more reliable shared file access.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Administrators looking to optimize how users access shared SharePoint files by forcing the use of OneDrive shortcuts instead of traditional syncing.
- Observed behavior
- SharePoint does not provide a standard setting to disable Sync while retaining Add shortcut to OneDrive. Disabling offline availability removes both options.
Before making changes to SharePoint library settings, ensure you have Site Owner or SharePoint Administrator privileges, and note that native settings will affect both Sync and OneDrive shortcuts simultaneously.
Use SharePoint Library Settings (Disables Both Options)
Currently, the native GUI method disables offline client availability entirely, which removes both the Sync and Add shortcut to OneDrive options.
Because SharePoint does not natively separate the 'Sync' and 'Add shortcut to OneDrive' buttons, administrators can only disable offline access entirely using out-of-the-box settings. Use this method if completely disabling offline access is an acceptable compromise.
Open your SharePoint document library, click the Gear icon in the top right corner, and select 'Library settings' followed by 'More library settings'.
Under the General Settings column, click on 'Advanced settings'.
Scroll down to the 'Offline Client Availability' section. Select 'No' for the option 'Allow items from this document library to be downloaded to offline clients?'.
Scroll to the bottom of the page and click 'OK'. Note that this will remove both the Sync and Add shortcut to OneDrive buttons for all users.

Use SPFx Application Customizers (Developer Workaround)
Since there is no native toggle, developers often use SharePoint Framework (SPFx) to inject custom code that visually hides the Sync button.
Enhance Your Document Productivity with WPS Office
While managing SharePoint and OneDrive sync limitations can be frustrating, working with your files shouldn't be. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office, allowing you to edit your locally synced or cloud documents effortlessly.
- 1. Download and Install: Visit the official WPS website to download and install WPS Office for free on your PC or mobile device.
- 2. Open Your Synced Files: Launch WPS Office and navigate to your OneDrive sync folder through the file explorer to open any document, spreadsheet, or presentation.
- 3. Edit and Save Seamlessly: Edit your files using the intuitive interface. Changes are saved directly to your synced folder, automatically updating across your network.

Frequently Asked Questions
Why do users prefer 'Add shortcut to OneDrive' over traditional SharePoint Sync?
Adding a shortcut to OneDrive integrates the shared folders directly into your personal OneDrive hierarchy. It is generally more reliable, causes fewer sync conflicts, and makes the files easily accessible across all devices including mobile, without needing to sync entire separate libraries.
Will disabling Offline Client Availability delete files already synced to my computer?
No, changing the setting to 'No' will not delete files that are already on your local hard drive. However, it will stop the OneDrive client from syncing any future updates between the local folder and the SharePoint server.
Are there any PowerShell commands to disable only the Sync button?
There are no out-of-the-box PowerShell cmdlets that specifically disable just the Sync button while leaving the OneDrive shortcut option active. Administrators typically have to rely on custom SPFx development to hide the UI element visually.




