How to Prevent OneDrive from Installing on Windows and Mac
Question details
Administrators need a way to centrally manage or block the installation and usage of the OneDrive sync client across a mixed fleet of Windows and Mac endpoint devices.

- Product
- Microsoft OneDrive / Microsoft Intune
- Device & OS
- Windows and macOS
- Scenario
- Deploying Microsoft 365 or managing enterprise devices without allowing the OneDrive sync client to automatically install or run in the background.
- Observed behavior
- By default, Microsoft 365 installations and Windows system updates often push the OneDrive client to devices, requiring specific endpoint management policies to block the deployment.
Ensure you have administrative credentials for your Microsoft Intune admin center or local administrator rights on your Windows devices, as standard user accounts cannot enforce system-wide installation policies.
Use Microsoft Intune to Block OneDrive Installation
Microsoft Intune provides a centralized way to deploy device configuration policies across both macOS and Windows platforms to restrict OneDrive usage.
The Microsoft 365 admin center does not offer a direct toggle to stop local OneDrive installations. Intune is the recommended method for handling this across a mixed OS environment.
Sign in to the Microsoft Intune admin center using your administrator credentials.
Navigate to 'Devices' > 'Configuration profiles' and click 'Create profile'.
Select 'Windows 10 and later' as the platform and 'Settings catalog' as the profile type. Search for 'Prevent the usage of OneDrive for file storage' and set it to 'Enabled'.
Create a separate profile for macOS using a custom preference file (plist) targeting the 'com.microsoft.OneDrive' domain to restrict application launch and sign-in.
Assign the created profiles to your target device groups and save the configurations to push the policies to your network.

Block OneDrive via Group Policy Editor (Windows Only)
For local Windows environments not utilizing Intune, the Local Group Policy Editor can prevent the OneDrive sync client from functioning.
Switch to WPS Office for a Streamlined Deployment
If managing complex Microsoft 365 deployments and forced OneDrive sync clients is slowing down your IT workflow, consider WPS Office. It provides a lightweight, bloat-free productivity suite that gives you full control over your enterprise endpoints without forcing mandatory cloud sync applications on your users.

Frequently Asked Questions
Can I completely uninstall OneDrive if it is already on my Windows PC?
Yes, you can remove it manually. Go to Settings > Apps > Installed apps, search for 'Microsoft OneDrive', click the three-dot menu next to it, and select 'Uninstall'.
Does blocking OneDrive affect the activation of my Microsoft Office apps?
No. Preventing the OneDrive sync client from running or installing does not impact the licensing or local functionality of Microsoft Word, Excel, or PowerPoint.
Can I block the OneDrive installation directly from the Microsoft 365 admin center?
The Microsoft 365 admin center alone does not provide a feature to prevent local desktop installation of OneDrive. Endpoint management tools like Microsoft Intune or Group Policy are required.
Will disabling OneDrive via policy delete my existing local files?
No. Disabling the usage of OneDrive will simply sever the cloud connection and stop the sync process. Any files that were previously downloaded to your local drive will remain completely intact.




