Microsoft OneDrive silent install and uninstall
Keep your files and memories protected, up to date, and easily accessible across all your devices.
- Vendor
- Microsoft Corporation
- Category
- Cloud Storage
- Installer
- Custom EXE installer
- Architecture
- x86, x64, arm64
- Checked version
- 26.153.0809.0004
- winget ID
Microsoft.OneDrive- License
- Proprietary
- Download
- Official download
Silent install
OneDriveSetup.exe /silent /allusers - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - Run the command above. Adjust the file name if you downloaded a different version.
Or install with winget
winget install --id Microsoft.OneDrive --exact --silent --scope machine --accept-package-agreements --accept-source-agreements Silent uninstall
winget uninstall --id Microsoft.OneDrive --exact --silent --accept-source-agreements Run the command from an elevated Command Prompt.
About the Custom EXE installer installer
The vendor uses its own installer, so only the switches listed above are documented. Test them before mass deployment.
Deploy Microsoft OneDrive with Microsoft Intune
Package the installer as a Win32 app (.intunewin) and use these settings:
| Install command | OneDriveSetup.exe /silent /allusers |
|---|---|
| Uninstall command | Use the uninstaller from the install folder; winget is not available to the SYSTEM account by default. |
| Install behavior | System |