Giter Club home page Giter Club logo

Comments (11)

Debee416 avatar Debee416 commented on May 13, 2024

There is a hotfix: "fsutil.exe behavior set disable8dot3 1"

but out customer needs 8.3 paths due some legacy software :(

from projfs-managed-api.

cgallred avatar cgallred commented on May 13, 2024

I'm not able to reproduce this issue. What version of Windows is this?

from projfs-managed-api.

Debee416 avatar Debee416 commented on May 13, 2024

Please try "fsutil.exe behavior set disable8dot3 0" before creating directory C:\Test\

rmdir /s /q C:\Test
fsutil.exe behavior set disable8dot3 0
mkdir C:\Test\Source\SomethingVeryLong\AnotherLongDirectoryName_1.0.0_Beta1.10\data
echo blah>C:\Test\Source\SomethingVeryLong\AnotherLongDirectoryName_1.0.0_Beta1.10\data\VeryLongFileName.txt
SimpleProviderManaged.exe --sourceroot C:\Test\Source\SomethingVeryLong\AnotherLongDirectoryName_1.0.0_Beta1.10\data --virtroot C:\Test\SomethingVeryLong\AnotherLongDirectoryName_1.0.0_Beta1.10\data

from another console:
rmdir /s /q C:\Test\SomethingVeryLong

image

image

image

from projfs-managed-api.

cgallred avatar cgallred commented on May 13, 2024

I did try the repro on a volume with short names enabled. This looks like a bug that is fixed in Windows build 18973 and above. Can you try to reproduce it on Windows 10 Version 2004 (i.e. May 2020 Update)? You could also try it on a recent Insiders build.

from projfs-managed-api.

Debee416 avatar Debee416 commented on May 13, 2024

Ok, thanks. I will try on Version 2004. Right now there is some problem with Windows Update on my machine, probably caused by ProjFs.
0x80070171 can be googled as ERROR_FILE_SYSTEM_VIRTUALIZATION_UNAVAILABLE
image

from projfs-managed-api.

cgallred avatar cgallred commented on May 13, 2024

Windows Update doesn't use ProjFS, so that error is certainly unexpected. The only way I can think of for that to happen is if somehow a virtualization root was created in a directory that Windows Update wants to use, and the provider for that virtualization root is no longer running. The system never does that, so something else would have to have done it.

In your experiments did you happen to set up a virtualization root in the %TEMP% directory or under some other directory that you didn't create yourself?

from projfs-managed-api.

Debee416 avatar Debee416 commented on May 13, 2024

Eh, that is embarrassing. I set c:\ as virtualization root by accident.

image

Found it in Procmon, it shows "The provider that supports file system virtualization is temporarily unavailable" as Result 0xC000CE01.

image

Is there any way out of it?

from projfs-managed-api.

cgallred avatar cgallred commented on May 13, 2024

You should be able to fix it with fsutil reparsePoint delete c:\ as Adminstrator.

from projfs-managed-api.

Debee416 avatar Debee416 commented on May 13, 2024

Nope :(
image

from projfs-managed-api.

cgallred avatar cgallred commented on May 13, 2024

Ah right, once again I'm thinking of more recent platform behavior. That approach should work starting with build 18876.

For your build, try unloading the ProjFS filter before doing it. First make sure you have no running virtualization instances on the system, otherwise the first command below will hang until they're stopped. Then as Administrator:

  1. sc.exe stop prjflt
  2. fsutil reparsePoint delete c:\
  3. sc.exe start prjflt

from projfs-managed-api.

Debee416 avatar Debee416 commented on May 13, 2024

Reparse point removed, May Update installed and rmdir with 8.3 paths is now working. Thanks a lot!

from projfs-managed-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.