Removing OneDrive traces remaining after uninstall

Ron Sipherd 246 Reputation points
2021-06-16T17:15:28.783+00:00

I can't unpin the Desktop shortcut from Quick Access in File Explorer.
It doesn't point to
C:\Users\myusername\Desktop
but instead to
C:\Users\myusername\OneDrive\Desktop
even though I uninstalled OneDrive after a day or two of trying it.

Any folders or shortcuts I put in the first folder above are ignored.
But folders/shortcuts deleted from the OneDrive subfolder vanish from the desktop.

I would like to restore the first folder to be the functioning desktop directory.
And also to delete the OneDrive folder and other traces of OneDrive that uninstall missed.

OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,252 questions
{count} votes

Accepted answer
  1. Viki Ji_MSFT 4,456 Reputation points
    2021-06-18T05:20:31.057+00:00

    @Ron Sipherd ,

    This is because your OneDrive is connected to your Microsoft account as a service in Office 2019.

    Please close and save all Office files firstly, then try to add the following registry and type the corresponding value to have a check.

    1. Type Run in search bar, Enter. Then type regedit in Run box to open Registry Edit.
    2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Internet.
    3. Right-click on empty space to create a new DWORD (32-bit) Value. Rename it to OnlineStorage and change the value to 3.

    106800-image.png

    Then use the same steps to add the following in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\General.

    • SkipOpenAndSaveAsPlace (Value 1)
    • PreferCloudSaveLocations (Value 0)
    • SkyDriveSignInOption (Value 0)

    Hope the information could be helpful to you.


    If an Answer is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    6 people found this answer helpful.

9 additional answers

Sort by: Most helpful
  1. Viki Ji_MSFT 4,456 Reputation points
    2021-06-17T07:46:37.437+00:00

    @Ron Sipherd ,

    Welocme to Q&A forum!
    I understand your confusion about this issue. Please try the following steps to check this issue.

    • Type C:\Users\<UserName>\OneDrive\Desktop on search bar, press Enter.
    • Then go to the path of OneDrive, right-click on Desktop folder and click Properties, click Restore Default on the Location tab.
    • Click Apply and OK.
      106467-image.png

    For more information about completely deleting OneDrive, please refer to this article Turn off, disable, or uninstall OneDrive.

    Hope the information could be helpful to you. Any updates, please let me know.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    8 people found this answer helpful.

  2. Emileigh Starbrook 16 Reputation points
    2022-04-08T02:54:55.89+00:00

    I was able to go into the registry and search for onedrive, and found most of the paths for my document, photos, music etc still had the onedrive path. Changing that to %USERPROFILE%\xxx worked well enough. With that done it was a matter of deleting relevant OneDrive entries and then deleting the folders.

    One thing that I have noticed about Windows 11 is it is very sloppy about uninstalling apps. It doesn't matter which software or who made it, the registry is littered with leftovers that didn't get fully uninstalled. It really feels like this OS was rushed to market with very little testing. At the very least it seems it will be the next Vista, and at the very worse could be Windows ME.

    3 people found this answer helpful.
    0 comments No comments

  3. Ron Sipherd 246 Reputation points
    2021-06-18T03:35:44.077+00:00

    Yes, that seems to have done it; thanks!
    And (I think this is a related query to add here, feel free to point me to the right forum if not) I would also like to eliminate OneDrive from the Save As list in MS Office Professional 2019. I see this "OneDrive Personal" top-level option in Excel, Word, and probably the other components. Haven't found a way to eliminate it.
    106768-excelsaveaspersonalb.jpg

    0 comments No comments

  4. Ron Sipherd 246 Reputation points
    2021-06-18T21:04:16.23+00:00

    Thanks again! A little bit more complicated, but it is working.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.