domingo, 24 de diciembre de 2023

Windows 11: restore My documents off One Drive

"Onedrive" took control of my personal folders. Even after removing the PC connection and uninstalling "One Drive". All of them could be changed by going to the "One Drive" folder in "My Documents" and right-clicking on Properties and choosing the Location tab. Use the "Restore default" option. But "My Documents" and "My Pictues" gave each other problems because an error appeared every time.



The only solution was to edit the Windows Registry and change these keys, basically delete "\OneDrive" and then move the respective files, if necessary.


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Key for My Pictures:

{0DDD015D-B06C-45D5-8C4C-F59713854639}

OneDrive Path:

C:\Users\MyUserName\OneDrive\Pictures

Changed to:

C:\Users\MyUserName\Pictures


The Same for My Documents folder, this is the key for OneDrive:

{F42EE2D3-909F-4907-8871-4C22FC0BF756}

OneDrive Path:

C:\Users\MyUserName\OneDrive\Documents

Changed to:

C:\Users\MyUserName\Documents

Restart computer so changes applied.

Just in case I reinstalled OneDrive in the future, I'll rename the OneDrives keys, adding a "-" before each special name:

-{0DDD015D-B06C-45D5-8C4C-F59713854639}

-{F42EE2D3-909F-4907-8871-4C22FC0BF756}


No hay comentarios.:

Publicar un comentario