转载链接:https://www.zhihu.com/question/49167234/answer/1038034285
作者:「已注销」
链接:https://www.zhihu.com/question/49167234/answer/1038034285
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
C:\Windows\System32\drivers\etc\hosts
将以下添加到hosts文件
#通用
13.107.42.12 d.docs.live.net
13.107.42.12 docs.live.net
#Onedrive客户端
13.107.42.12 api.onedrive.com
13.107.42.12 public.bn.files.1drv.com
13.107.42.12 public.dm.files.1drv.com
40.90.136.163 skydrivesync.policies.live.net
157.55.109.230 skydrivesync.policies.live.net
40.77.224.8 skydrivesync.policies.live.net
104.74.21.118 oneclient.sfx.ms
23.1.189.37 oneclient.sfx.ms
23.56.30.148 oneclient.sfx.ms
52.114.88.20 mobile.pipe.aria.microsoft.com
52.114.132.73 mobile.pipe.aria.microsoft.com
52.114.77.33 mobile.pipe.aria.microsoft.com
40.90.136.166 storage.live.com
157.55.109.226 storage.live.com
40.90.136.1 storage.live.com
52.242.211.89 skydrive.wns.windows.com
52.139.250.253 skydrive.wns.windows.com
40.90.189.152 skydrive.wns.windows.com
#Onenote UWP客户端
52.109.132.2 contentsync.onenote.com
52.109.48.2 contentsync.onenote.com
52.109.44.3 contentsync.onenote.com
52.109.48.0 www.onenote.com
52.109.2.10 www.onenote.com
52.109.44.1 www.onenote.com
23.57.112.187 c1-onenote-15.cdn.office.net
修改该文件需要管理员权限,可以先复制出hosts文件在桌面上,然后修改后覆盖C:\Windows\System32\drivers\etc\的hosts文件。
笔者经测试后,确实同步成功了。