找回资源管理器中的One Drive图标

近日遇到一个怪事,即资源管理器左侧的导航面板中的One Drive图标消失了,而One Drive for Business的图标却还在。尝试了重新登录One Drive、重新安装One Drive、修改注册表等方法,均无果。最后通过修改注册表找回了图标,注册表项文件内容如下:

Windows Registry Editor Version 5.00

; Created by: Shawn Brink
; Created on: March 20th 2015
; Updated on: December 5th 2019
; Tutorial: https://www.tenforums.com/tutorials/4818-add-remove-onedrive-navigation-pane-windows-10-a.html


[HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
"System.IsPinnedToNameSpaceTree"=dword:00000001

[HKEY_CURRENT_USER\Software\Classes\WOW6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
"System.IsPinnedToNameSpaceTree"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
@="OneDrive"