- To reinstall OneDrive on Windows 11 (or 10), open Command Prompt (admin) and run the “winget install –id microsoft.onedrive” command.
- Or you can download and run the “OneDriveSetup.exe” file to install the sync client again on the computer.
On Windows 11 (and 10), you can install the OneDrive app in two ways, and in this guide, I’ll outline the steps to complete this process.
OneDrive is the default client application to sync your files to the cloud. If you use the Windows Backup, the app also works to back up your settings, apps, and credentials to your online storage. However, if the sync client is missing or you removed it because it wasn’t working, you can reinstall it using the Windows Package Manager (winget) or download the installer.
In this guide, I’ll teach you the two ways to install OneDrive on Windows 11 as well as on Windows 10.
Install OneDrive using WinGet
To install the OneDrive app on Windows 11 (or 10) with the winget command, use these steps:
-
Open Start on Windows 11 (or 10).
-
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
-
Type the following command to reinstall OneDrive and press Enter:
winget install --id microsoft.onedrive
Once you complete the steps, the Windows Package Manager platform will download and install OneDrive on your computer.
Install OneDrive using installer
To download and install OneDrive on your computer, use these steps:
-
Open web browser.
-
Click the Download button to save the installer on the computer.
-
Double-click the OneDriveSetup.exe file to proceed with the installation.
After you complete the steps, the OneDrive installer will set up the sync client automatically on your Windows 11 or 10 device.
The last thing left is to launch the application, sign in with your Microsoft account credentials, and confirm the folder location. You only need to change the folder location if you don’t want to upload the current files on the computer to the cloud storage. If you have files in the OneDrive folder, it’s recommended to move those files to another location so you can continue without modifying the default storage location. After the setup, you can transfer the files into the OneDrive folder again.