However, if the second command issues any errors you’ll need to address them. You can ignore any errors from the first command. Remove-Item -Path "HKCU:\Software\Microsoft\OneDrive" -Force -Recurse Remove-Item -Path "$env:LOCALAPPDATA\Microsoft\OneDrive" -Force -Recurse This is just modifying things belonging to your user account, and isn’t modifying the operating system itself. Next, we’ll delete all the system registry keys (settings) and files that OneDrive has installed. Stop-Process -processname "OneDrive" -ErrorAction Silentl圜ontinue Start-Process "$env:LOCALAPPDATA\Microsoft\OneDrive\OneDrive.exe" / reset -ErrorAction Silentl圜ontinue We’ll deal with resetting everything properly in the next few steps anyway. This will often not work, but as you can see from the command arguments we’ll tell PowerShell to give it its best shot and ignore any error that might occur.
The first step is to stop OneDrive’s background process and then tell OneDrive to reset itself. You can just copy and paste each of the below commands verbatim (each command is one line separated by an empty line), but please read along to understand what each command does. Go ahead and open Windows PowerShell from the Start menu.
#REINSTALL ONEDRIVE WINDOWS 10 HOME HOW TO#
However, the instructions to achieve this would fill a small book on its own so I’ll show you how to do it with just a few commands in Windows PowerShell instead. It’s possible to reset and reinstall OneDrive using nothing but point-and-click tools. (I’m not one to recommend this approach to such problems lightly.) Rather than wasting time trying to identify what has upset OneDrive this time, it’s best just to wipe it off your system and start anew with a fresh configuration. Click this and you will be prompted to sign-into OneDrive, and with this done you can choose which folders you want visible, or syncing to your PC.įor in-depth Windows 10 Troubleshooting advice, Mike Halsey’s book “ Windows 10 Troubleshooting, Second Edition” is on sale now from Apress, Amazon, and all good booksellers.The OneDrive app on Windows 10 simply loves throwing up annoying error messages, complains its up to date and not up to date or claims you’re already logged in and not logged in at the same time. If you don’t see the OneDrive sign-in dialog appear once OneDrive has been reinstalled, look in the System Tray at the far right of the desktop Taskbar for the OneDrive icon: note you may have to click the expand ( ˄) icon in the System Tray to display the OneDrive icon.
#REINSTALL ONEDRIVE WINDOWS 10 HOME DOWNLOAD#
Type the command %localappdata%\Microsoft\OneDrive\onedrive.exe /reset.