Right-click the files or folder, choose Always keep on this device, and wait until each file shows a green tick. Then copy (Ctrl+C, Ctrl+V) them to the new folder instead of cutting or dragging. If you still need them gone from iCloud afterwards, delete the originals separately.

0x8007017B, explained

iCloud for Windows shows your photos and iCloud Drive files in File Explorer the same way OneDrive does: many of them are placeholders that only download when you open them. A file with a cloud icon isn't really on your PC yet.

When you move a placeholder out of the iCloud folder, Windows asks iCloud to hand the file over, and iCloud doesn't support that operation. Windows reports it as 0x8007017B. Once the file is fully downloaded, a normal copy works.

Signs of the problem

  • “An unexpected error is keeping you from moving the file… Error 0x8007017B: The operation is not supported by the cloud sync provider.”
  • Copying a single opened photo works, but moving a batch fails.
  • Lightroom or other apps can't import straight from the iCloud Photos folder.

Common causes

  • Files are cloud-only placeholders that haven't been downloaded.
  • Moving (cut/drag) instead of copying out of the iCloud folder.
  • Not enough free disk space for iCloud to download the originals.
  • An outdated iCloud for Windows app.

Fixes to try, in order

  1. Download the files firstIn File Explorer, select the photos or the whole folder, right-click and choose Always keep on this device. Wait until the status icons turn into green ticks.
  2. Copy instead of moveUse Ctrl+C and Ctrl+V (or right-drag and choose Copy here) to put them in the new location. Copying out of the iCloud folder doesn't need iCloud's permission the way a move does.
  3. Check free spaceDownloading originals needs room on the drive. Free up space if the download stalls.
  4. Update iCloud for WindowsOpen the Microsoft Store, go to Library, and install any iCloud update. Restart the PC afterwards.
  5. Use iCloud.com for large batchesSign in at icloud.com, open Photos, select the pictures and click the download button. This skips File Explorer entirely.
  6. Sign out and back inIf the folder still misbehaves, open iCloud for Windows, sign out, restart the PC and sign in again. Let Photos finish syncing before you try again.
How to tell it worked: The copied photos open from their new folder and no 0x8007017B message appears.

Prevent it from coming back

Copy rather than move files out of iCloud folders, and keep enough free space for iCloud to download originals.