How to Install OneDrive on Windows Server 2012 R2
Question details
The user is trying to install OneDrive on Windows Server 2012 R2 but encounters an operating system rejection error.

- Product
- OneDrive
- Device & OS
- Windows Server 2012 R2
- Scenario
- Installing the latest version of the OneDrive sync client on a Windows Server 2012 R2 environment.
- Observed behavior
- The current OneDrive installation executable rejects the operating system and fails to install, despite official documentation stating it is supported.
Ensure you are logged in with administrator privileges on your Windows Server machine and that you have access to the Microsoft 365 admin center.
Install an Older OneDrive Version in Compatibility Mode
Bypass the OS restriction by using a legacy Deferred Ring installer and running it in Windows 7 compatibility mode.
Because modern OneDrive production releases block installation on Windows Server 2012 R2, utilizing an older version (such as Deferred Ring version 21.230.1107.0004) is a proven workaround. Setting the installer's compatibility mode forces the system to allow the execution.
Obtain a legacy OneDrive setup file (specifically version 21) from your IT administrator or a trusted backup.
Right-click the downloaded OneDrive installer executable and select 'Properties' from the context menu.
Navigate to the 'Compatibility' tab, check the box for 'Run this program in compatibility mode for', and select 'Windows 7' from the dropdown list.
Click 'Apply' then 'OK'. Finally, right-click the file again and select 'Run as administrator' to install the software.

Contact Microsoft 365 Support for Legacy Installers
Request an approved, older OneDrive package securely from Microsoft Support.
Boost Productivity with WPS Office on Any Windows System
While resolving OneDrive compatibility issues on legacy servers, you can rely on WPS Office as a lightweight, powerful, and free alternative to Microsoft Office. It runs smoothly on various Windows versions without heavy system restrictions.

Frequently Asked Questions
Why is Windows Server 2012 R2 rejected by the OneDrive installer?
As Microsoft updates its cloud services, newer versions of the OneDrive sync app drop active support for older operating systems. This causes the installer to automatically block the setup, even if older support documentation claims it should work.
Can I download OneDrive version 21 directly from Microsoft?
Microsoft typically removes public download links for older Deferred Ring versions. To get a safe and official copy, you must reach out to your organization's Microsoft 365 administrator or submit a direct support ticket to Microsoft.
Is it safe to run OneDrive in Windows 7 compatibility mode?
Using Windows 7 compatibility mode for the installer is a functional workaround to bypass the OS check on Windows Server 2012 R2. However, running legacy software can pose security risks, so you should eventually plan to upgrade your server OS.




