Newer OneDrive updates will kill sync on Server 2012 R2.
Block updates via Group Policy or registry:
reg add "HKLM\SOFTWARE\Policies\Microsoft\OneDrive" /v "PreventOneDriveUpdates" /t REG_DWORD /d 1 /f
Also disable OneDriveUpdaterService:
sc config "OneDrive Updater Service" start= disabled
For system administrators managing 10+ servers, use this exclusive Group Policy template: onedrive download windows server 2012 r2 exclusive
Using an exclusive OneDrive download for Windows Server 2012 R2 is a temporary solution. As of 2025, Microsoft has completely deprecated the legacy sync stack. While the methods above work today, they are fragile.
Do this if: You need a bridge solution for 6–12 months while planning a migration to Server 2019/2022. Do not do this if: You are handling PHI (HIPAA), PCI-DSS (credit cards), or CJIS data. The security patches for the OneDrive client on Server 2012 R2 are no longer guaranteed. Newer OneDrive updates will kill sync on Server 2012 R2
Phase 1: Enable Desktop Experience The OneDrive client relies on visual shell components that are stripped out of a default Server Core installation.
Phase 2: Procurement and Installation Since there is no official Server 2012 R2 download link, the Windows client version must be used. For system administrators managing 10+ servers, use this
Phase 3: Configuration (Silent Admin Install) For server administrators who prefer not to log in interactively, the client can be provisioned via command line:
OneDriveSetup.exe /allusers
This installs the client machine-wide, though per-user configuration is still required upon first login.