A Microsoft file hosting and synchronization service.
Warning: editing the registry incorrectly can cause serious problems. Back up the registry before making changes.
Reset the affected User Shell Folders entries to their default values:
- Press Win + R, type
regedit.exe, and press Enter. - Go to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders - Change these values back to the defaults for the current profile:
-
Desktop=%USERPROFILE%\Desktop -
Personal=%USERPROFILE%\Documents -
My Pictures=%USERPROFILE%\Pictures -
My Music=%USERPROFILE%\Music -
My Video=%USERPROFILE%\Videos -
Favorites=%USERPROFILE%\Favorites -
{374DE290-123F-4565-9164-39C4925E467B}=%USERPROFILE%\Downloads
-
- If any of those entries point to
C:\Users\Public\..., replace them with the matching%USERPROFILE%\...value above. - Restart Explorer.exe from Task Manager, or sign out and sign back in, or restart the PC.
After that, Windows should resolve Desktop, Documents, Pictures, and the other known folders back to the signed-in user profile instead of C:\Users\Public.
If files were physically moved into C:\Users\Public\Desktop, C:\Users\Public\Documents, or similar locations, the registry fix restores the folder paths, but the files may still need to be moved manually into the matching folders under the user profile.
References: