一些用户在尝试访问或下载 OneDrive 上可用的共享文件时可能会遇到“错误 0x80070185,云操作不成功(Error 0x80070185, The cloud operation was unsuccessful)”的消息。这篇文章提供了您可以尝试成功解决问题的最合适的解决方案。
错误背后可能有几个原因,例如文件较大、安装文件或证书损坏、缓存问题、Windows 注册表(Windows Registry)问题、互联网连接问题、防病毒或防火墙问题等。
当用户尝试使用特定库的“OneDrive 同步”功能从SharePoint库打开文件时,也会发生(SharePoint)OneDrive 错误。(OneDrive error)在这种情况下,受影响的用户已使用SharePoint 迁移工具(SharePoint Migration Tool)将他们的数据从本地迁移到SharePoint Online 。
只需重复单击“重试”(Try Again)按钮 4-10 次,即可针对特定文件快速解决此错误,但这与其说是解决方案,不如说是一种解决方法。因此,如果您正在寻找更永久的解决方案,请继续阅读下面的帖子。
OneDrive错误 0x80070185(Error 0x80070185) , 云操作不成功
如果您遇到此问题,可以尝试以下我们推荐的解决方案来解决此问题。
- 确保安装了OneDrive的分区上有足够的空间
- 重置 OneDrive
- (Map)为SharePoint 文档库(SharePoint Document Library)映射网络驱动(Network Drive)器
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
1]确保安装了OneDrive的分区上有足够的空间
如果您收到OneDrive 错误 0x80070185 ,云操作在尝试访问或下载文件到您的计算机时不成功,可能是您的(OneDrive Error 0x80070185)HDD上没有足够的可用空间。在这种情况下,您需要确保OneDrive所在的分区有足够的空间。
请执行下列操作:
右键单击 C 驱动器(C drive) 或您拥有 OneDrive 的任何分区。选择属性(Properties)并检查可用空间。如果存储空间不足,可以将OneDrive移动到另一个分区。就是这样:
- 在任务栏(Taskbar)最右侧的通知(Notification)区域中,右键单击OneDrive图标并选择 设置(Settings)。
- 在“ 帐户(Account)” 选项卡下,单击“ 取消链接此 PC (Unlink this PC ) ”按钮。
- (Log in) 使用您的凭据登录。
- (Select)为本地OneDrive(OneDrive)文件夹和要同步的文件选择另一个位置。如果文件很多,同步可能需要一些时间,具体取决于文件的大小和您的带宽。
如果空间不足不是您的问题,请尝试下一个解决方案。
2]重置OneDrive
OneDrive 预装在Windows 10设备上,有时应用程序缓存损坏或丢失会导致系统性能出现多个问题。这也可能是出现认证问题的另一个原因。在这种情况下, 将 OneDrive 重置(resetting OneDrive)为其默认设置应该可以解决问题。否则(Otherwise),请尝试下一个解决方案。
3]为SharePoint 文档库(SharePoint Document Library)映射(Map)网络驱动(Network Drive)器
如果重置OneDrive应用程序解决了您尝试访问的文件的错误,但当您尝试访问另一个文件时发生相同的错误,那么您应该尝试将 SharePoint文档库(Document Library)映射为网络驱动器(Network Drive)的解决方案。
请执行下列操作:
- 在 Web 浏览器上访问OneDrive 网站。(OneDrive website)
- (Sign in )使用您的 Microsoft 帐户登录。
- 导航到要访问的文件库。
- 从地址栏中复制文件/文件夹的URL (链接)。
- 接下来,按Windows key + E打开文件资源管理器。
- 右键单击左窗格中的 网络(Network) 类别。
- 选择 映射网络驱动器。(Map network drive.)
- 接下来,单击连接到可用于存储文档和图片的网站(Connect to a Web site that you can use to store your documents and pictures )链接。
- 在网络位置向导中,单击Next。
- 从指定(Specify)您的网站界面的位置,粘贴您之前复制的文件/文件夹URL 。
- 现在,将 http:// (在某些情况下为 https://)替换为 \\ ,然后单击 Next。
- 根据您的选择指定网络位置的名称。默认情况下,名称将保持不变OneDrive Document Library。
- 单击下一步(Next)。
- 单击完成( Finish)。
- 接下来,按Windows key + X打开高级用户菜单(open Power User Menu),然后点击键盘上的A以在管理员/提升模式下启动 PowerShell 。
- 在PowerShell控制台中,复制并粘贴以下命令,然后按 Enter(Enter)。
Get-ChildItem -Path 'C:\Users\%username%\OneDriveSharePointPath' -Include "*.xls*","*.doc*","*.ppt*" -Recurse | ForEach-Object {
$_.FullName
Get-Content -Path $_.FullName -first 1 | Out-Null
}
此PowerShell脚本将遍历库中的所有文档并读取第一行。这会触发云中的文件修复。
现在,您可以尝试访问或下载OneDrive内容——手头的问题现在应该得到解决。
希望这可以帮助!
相关帖子:(Related post:) 修复 OneDrive 无法连接到 Windows 错误消息(Fix OneDrive cannot connect to Windows error message)。
OneDrive Error 0x80070185, The cloud operation was unsuccessful
Some users while trying to access or download shared files avaіlable on OnеDriνe might encounter the message stating “Error 0x80070185, The cloud operation was unsuccessful“. This post offers the most suitable solutions you can try to successfully resolve the issue.
There can be a couple of reasons behind the error like bigger file size, corrupted setup file or certificates, issues with the cache, Windows Registry issues, internet connectivity issues, antivirus or firewall problems, etc.
The OneDrive error also occurs when a user tries to open a file from the SharePoint library using the “OneDrive Sync” function for that specific library. In this case, the affected users have had their data moved from on-premise to SharePoint online using the SharePoint Migration Tool.
This error can quickly be resolved for the specific file just by repeatedly clicking the Try Again button 4-10 times, but this is more of a workaround than a solution. So, if you’re looking for a more permanent solution, continue with the post below.
OneDrive Error 0x80070185, The cloud operation was unsuccessful
If you’re faced with this issue, you can try our recommended solutions below to resolve the issue.
- Ensure there’s enough space on the partition OneDrive is installed
- Reset OneDrive
- Map a Network Drive for SharePoint Document Library
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Ensure there’s enough space on the partition OneDrive is installed
If you receive the OneDrive Error 0x80070185, The cloud operation was unsuccessful while trying to access or download files to your computer, it’s likely you do not have enough free space on your HDD. In this case, you need to ensure the partition OneDrive is on has enough space.
Do the following:
Right-click on the C drive or whichever partition you have OneDrive on. Select Properties and examine the space available. If you’re running low on storage space, you can move OneDrive to another partition. Here’s how:
- In the Notification area on the extreme right of the Taskbar, right-click on the OneDrive icon and select Settings.
- Under the Account tab, click on the Unlink this PC button.
- Log in with your credentials.
- Select another location for the local OneDrive folder and the files you want to sync. If there’s a lot of files, the sync might take some time depending on their size and your bandwidth.
If low space isn’t the issue for you, try the next solution.
2] Reset OneDrive
OneDrive is pre-installed on Windows 10 devices of which sometimes a corrupted or missing cache of the app can cause multiple issues with the system performance. This can also be another reason to have certification issues. In which case resetting OneDrive to its default settings should fix the issue. Otherwise, try the next solution.
3] Map a Network Drive for SharePoint Document Library
If resetting OneDrive app resolves the error for the file you were trying to access but the same error occurs when you try to access another file, then you should try the solution where you map SharePoint Document Library as a Network Drive.
Do the following:
- Head over to the OneDrive website on your web browser.
- Sign in with your Microsoft account.
- Navigate to the file library that you want to access.
- Copy the URL (link) of the file/folder from the address bar.
- Next, press Windows key + E to open File Explorer.
- Right-click on the Network category from the left pane.
- Choose Map network drive.
- Next, click on the Connect to a Web site that you can use to store your documents and pictures link.
- On the network location wizard, click on Next.
- From the Specify the location of your website interface, paste the file/folder URL you copied earlier.
- Now, replace http:// (In some cases, https://) with \\ and click Next.
- Specify a name for the network location according to your choice. By default, the name will remain the same OneDrive Document Library.
- Click Next.
- Click Finish.
- Next, press Windows key + X to open Power User Menu and then tap A on the keyboard to launch PowerShell in admin/elevated mode.
- In the PowerShell console, copy and paste in the command below and hit Enter.
Get-ChildItem -Path 'C:\Users\%username%\OneDriveSharePointPath' -Include "*.xls*","*.doc*","*.ppt*" -Recurse | ForEach-Object {
$_.FullName
Get-Content -Path $_.FullName -first 1 | Out-Null
}
This PowerShell script will loop through all documents in the library and read the first line. This triggers the file repair in the cloud.
- Once the command executes, restart the computers.
Now, you can try accessing or downloading the OneDrive content – the issue at hand should be resolved now.
Hope this helps!
Related post: Fix OneDrive cannot connect to Windows error message.