microsoft / microsoft/Windows-classic-samples

[CloudMirror] The sample's CfDehydratePlaceholder return 0x80070187

Open
#388 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
5.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

OS version: Win11 10.0.26100
Windwos SDK version: 10.0.26100.0 & 10.0.22621.0
Arch: Intel x64

The CloudMirror sample runs ok in Win10. But it's dehydration didn't work in my Win11 platform. The file icon didn't convert from

Image

to

Image when i click the 'free up space' menu, it's

Image instead. And i checked the file property which capacity was not zero, it didn't free up sapce indeed.

I made a small change below and get the return code is 0x80070187

Image

I searched the code which seems mean the cloud file is in use, but who else was using the file?

why does it work well in Win10?

what's more weird is it worked fine in files i choosed in batch and then little of them would convert to

Image as expected.

Can someone help to explain the reason?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CloudMirror sample's CfDehydratePlaceholder call and reproduce the behavior on the reported Windows 11 and Windows 10 SDK versions. Inspect the returned 0x80070187 code and compare successful batch dehydration with the files that remain hydrated. Done means identifying the cause and documenting or implementing a verified fix.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.