Wednesday, November 30, 2022

Windows 10 - OneDrive - The Tag Present in the Reparse Point Buffer Is Invalid



Came across this error while scanning for QuickBook QBW files on a customers computer.

The error read: "Cannot access folder: The tag present in the reparse point buffer is invalid." when trying to access the folder directly from explorer.

The folder itself showed up as zero bytes and was inaccessible. Initially I saw this error while running the below PS script:

Get-ChildItem -Path "C:\Users\" -Filter *.qbw -r


The solution is actually really funny because in all the times I've seen it "prescribed", it didn't work for XYZ.

chkdsk c: /r /f
"C:" is the drive you want to scan

"/r" - Locates bad sectors and recovers readable information (implies /F, when /scan not specified).

"/f" - Fixes errors on the disk.


About 25 minutes later and the folder was accessible from both Powershell and Explorer. Surprisingly the files in the folder weren't corrupt.


No comments: