How to Reset or Reinstall OneDrive in Windows 11

Published by Nyau Wai Hoe - Updated on

OneDrive is a preinstalled software in Windows and is a pretty widely used cloud storage service for people who are looking to back up (by syncing) their files on the cloud. With Windows 11, OneDrive has become even more woven into the system. But, like any app, you might encounter random problems with it, and you might end up needing to give it a fresh start or reinstall it completely.

In this guide, we’ll show you step-by-step instructions on how to reset or reinstall OneDrive in Windows 11.

Also see: How to Disable or Remove OneDrive From Windows 11

Why reset or reinstall OneDrive?

You might want to reset or reinstall OneDrive on your Windows 11 device for a few reasons:

  • If your files aren’t syncing right, resetting or reinstalling OneDrive can often fix it.
  • If OneDrive is slow or using too much computer power, giving it a reset or reinstall might help.
  • If the files or settings in OneDrive get messed up, resetting or reinstalling can make it work like new.
  • If another program is causing trouble with OneDrive, resetting or reinstalling might solve the issue.

Resetting OneDrive in Windows 11

Resetting OneDrive makes it go back to its original settings, which can fix many problems. There are two ways to do it: through the Run dialog box or the Command Prompt.

Using the reset OneDrive command

Here’s how to reset OneDrive using the Run dialog box:

  1. First, close OneDrive by right-clicking its icon in the system tray, hitting the Settings icon, and choosing “Quit OneDrive.”Close OneDrive Windows 11
  2. Press Win + R to open the Run dialog box. Type or paste in this command:
    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

    How to reset OneDrive in Windows 11

  3. Hit Enter. OneDrive will close and reset, which might take a few minutes.
  4. After it resets, restart your computer to make sure everything works smoothly.

Reset OneDrive using Command Prompt

If you like using Command Prompt, follow these steps to reset OneDrive:

  1. Open the Start menu and look up “Command Prompt”.
  2. Right-click Command Prompt in the search results and choose “Run as administrator”.Command Prompt Run as Administrator
  3. In Command Prompt, type or paste this command to force OneDrive to close:
    taskkill /f /im OneDrive.exe
  4. Hit Enter. If OneDrive was open, it’ll close.
  5. Next, type or paste this command to reset OneDrive:
    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

    Reset OneDrive using Command Prompt

  6. Press Enter. OneDrive will reset, which might take a bit.
  7. After the reset, restart your computer to make sure all is well.

Reinstalling OneDrive in Windows 11

If resetting didn’t fix the problem, you might need to remove OneDrive completely and then put it back on your computer. Here are the steps to do just that in Windows 11.

Step 1: Completely uninstall OneDrive

There are a few ways to get rid of OneDrive in Windows 11. If one way doesn’t work, try another to make sure it’s gone for good.

Using the Settings app

The usual way to uninstall OneDrive is through the Apps & features settings.

  1. Hit Win + i to open the Settings app.
  2. Click “Apps” then “Apps & features”.
  3. Find Microsoft OneDrive, click the three-dot menu next to it, and choose “Uninstall”.Completely uninstall OneDrive in Windows 11

Using Command Prompt

You can also uninstall OneDrive with a command. Here’s how:

  1. Press Win + X and select “Command Prompt (Admin)”.
  2. In Command Prompt, type or paste this command to uninstall OneDrive:
    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

    Uninstall OneDrive CMD or PowerShell

  3. Hit Enter. OneDrive will be removed, which might take a few minutes.
  4. Restart your computer to finish up.

Delete the OneDrive Registry

If you’re seeing messages like “A newer version of OneDrive is installed – You need to uninstall it first before installing this version” or other signs that OneDrive wasn’t fully uninstalled, you might need to clean up the registry.

Warning: Editing the Windows registry can be risky. Be super careful. Wrong changes can cause big problems. It’s a good idea to create a system restore point first, just in case.

  1. Type “regedit” in the Start menu to open Registry Editor.
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\OneDrive.
  3. Right-click “OneDrive” and select “Delete”.Delete OneDrive Registry Windows 11
  4. Restart your computer.
  5. After restarting, follow the next steps to put OneDrive back on your computer.

Step 2: Download and install OneDrive

Now that OneDrive is completely gone, let’s get it back on there.

Download OneDrive from Microsoft

For the latest version of OneDrive, go straight to Microsoft’s website:

  1. Visit the OneDrive download page.
  2. Hit the “Download” button to get the OneDrive installer.
  3. Open the downloaded file to start putting OneDrive back on your computer.
  4. Follow the steps on the screen to finish up.

Reset OneDrive Windows 11

Use the local OneDriveSetup.exe

Or, you can use the OneDriveSetup.exe file already on your computer:

  1. Press Win + R to open Run. Type or paste this command:
    %SystemRoot%\SysWOW64\OneDriveSetup.exe

    Or find it here:

    %localappdata%\Microsoft\OneDrive\Update\OneDriveSetup.exe

    How to Reinstall OneDrive in Windows 11

  2. Hit Enter. OneDrive will reinstall. Wait a few minutes for it to finish.
  3. Restart your computer to make sure OneDrive works right.

Install the app from Microsoft Store

Getting OneDrive from the Microsoft Store is another great option:

  1. Open the Microsoft Store from the taskbar or Start menu.
  2. Search for “OneDrive” and pick the Microsoft OneDrive app.
  3. Click “Get” to add OneDrive back to your system.
  4. After it’s back, restart your computer to see the changes.

Install OneDrive from Microsoft Store

Other troubleshooting tips for OneDrive issues

If you’re still having trouble with OneDrive, here are some more things to try:

Verify file and folder names

Make sure your file and folder names follow these rules to avoid sync problems:

  • Don’t use these characters: ~ " # % & * : < > ? / \ { | }
  • Keep names under 400 characters
  • Don’t start or end names with a space

Check the DisableFileSync registry value

Sometimes, registry settings might stop OneDrive from syncing files properly. Here’s how to check:

  1. Press Win + R, type regedit, and hit Enter.
  2. Look in these registry keys:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Skydrive
  3. Find any values named DisableFileSyncNGSC or DisableFileSync.
  4. If they’re there, set them to 0. If not, you’re good to go.

Re-link Your OneDrive Account

If syncing issues are about your account, try linking it again:

  1. Right-click the OneDrive icon, choose Settings, then go to the Account tab.
  2. Click “Unlink this PC”.Unlink OneDrive account in Windows 11
  3. Log back in with your Microsoft account details.

Check for conflicting applications

Some apps, like antivirus or firewall software, might mess with OneDrive. Turning these off temporarily can help figure out if they’re the problem. If it works, think about making an exception for OneDrive in those apps.

Update Windows and OneDrive

Make sure both Windows 11 and OneDrive are up-to-date to avoid bugs and improve performance:

  1. Press Win + I for Settings, click “Windows Update”, then “Check for updates”. Install any that show up.
  2. Go to the Microsoft Store, hit the three-dot menu, and choose “Downloads and updates”. Look for OneDrive updates and get them.

Just one more thing

If you’ve reset or reinstalled OneDrive, you should double-check your OneDrive settings again. This is because, sometimes, these actions can revert settings back to their defaults. Take a minute and go through your OneDrive preferences and see if everything is set up the way you like it.

Categories: AppWindows 11

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of WindowsDigitals.com. With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link