Error 0x80071129: The tag present in the reparse point buffer is invalid

When you access or delete files in the OneDrive folder, errors 0x80071129 or 0x80071128 may occur. The detailed error message is below:

Error 0x80071129: The tag present in the reparse point buffer is invalid

or

Error code 1128: The data present in the reparse point buffer is invalid.

or

Location is not available

The tag present in the reparse point buffer is invalid

onedrive 0x80071128 0x80071129 reparse point error

When using command-line tools (e.g., RoboCopy) to copy files in that folder, you may see the same error:

ERROR 4393 (0x00001129) Accessing Destination Directory C:\Users\Ramesh\OneDrive\Documents\

The tag present in the reparse point buffer is invalid.

This issue is seen when you try to modify or delete files that are set as “on-demand” or online-only files. The Files On-demand items are shown with a blue cloud icon in File Explorer.

Online-only files don’t take up space on your computer. You see a cloud icon for each online-only file in File Explorer, but the file doesn’t download to your device until you open it. You can’t open online-only files when your device isn’t connected to the Internet.

(Re-syncing, resetting, or reinstalling OneDrive, or unlinking & relinking OneDrive may not fix the issue. However, it doesn’t hurt to give them a try.)

Cause

The OneDrive application uses placeholders for files that are set as “online-only” (Files On-demand feature). They’re the same as reparse points that point to a cloud storage location. So, when you access the file, the file system driver (Windows Cloud Files Filter Driver cldflt.sys) is supposed to read the reparse tag attached with that file or folder, and pass it on to the relevant application. For each online-only file, OneDrive assigns a reparse tag (“0x9000401A“) for each file.

It’s possible that the error 0x80071128 or 0x80071129 is caused by a corrupt file system or incorrect reparse tag assigned for those files. It could be due to a bug in the OneDrive or in the file system driver that caused the file system to be put to a bad state.

Resolution

Running the Chkdsk utility or scanning with the “Error Checking” tool can fix the error 0x80071128 or 0x80071129.

Option 1: Chkdsk

  1. Open an administrator Command Prompt window:
  2. Type the following command and press Enter:
    chkdsk c: /f /r

    run chkdsk repair command

    (This assumes that the OneDrive folder is located on the C: drive. If not, change the drive letter accordingly in the above command line.)
  3. Type Y when you see the following prompt:
    The type of the file system is NTFS.
    Cannot lock current drive.
    
    Chkdsk cannot run because the volume is in use by another
    process. Would you like to schedule this volume to be
    checked the next time the system restarts? (Y/N)
    
  4. Restart the computer and let the system complete the disk checking procedure automatically.

See if you’re able to access your locally stored OneDrive files now.

User comments

Chkdsk seems to have worked 100%. Here are some comments by Windows users (via):

Worked for me. Thx!

Had this reparse buffer error situation a couple of times now. Usually surfacing after desynchronizing Teams/Sharepoint storage in OneDrive, and trying to delete the locally synced folder.

***

Worked for me!

But had to go to the SharePoint environment to delete the folder after the chkdsk operation.



***

Awesome! Thank you so much. I have 200+ staff on multiple Sharepoint sites. Constantly having to run the reset command, unlink PC, stop sync and delete root Libraries and re-sync. COnstantly. Bloody headache and you have helped my day.

Option 2: Disk Error Checker

Running the disk error checking tool (alternative solution to Chkdsk) may also fix the issue without requiring a reboot.

  1. Open File Explorer → This PC
  2. Right-click on the C: drive and click Properties
  3. Click Tools → click on the “Check” button.
  4. Click “Scan drive” and complete the procedure.
    disk error check tools

If the Error Checking tool finds some file system errors and prompts to fix them, follow the onscreen instructions and let the tool rectify the errors.

More Information

Here are some of the reparse point tags used by OneDrive:

0x9000001A
0x9000101A
0x9000201A
0x9000301A
0x9000401A
0x9000501A
0x9000601A
0x9000701A
0x9000801A
0x9000901A
0x9000A01A
0x9000B01A
0x9000C01A
0x9000D01A
0x9000E01A
0x9000F01A

(Reference: Reparse Tags | Microsoft Docs)

As said earlier, these tags are used by the Cloud Files filter, for files managed by a sync engine such as OneDrive.

FYI, the following command line example shows you the reparse tag assigned for the specified file:

fsutil reparsepoint query C:\Users\%username%\OneDrive\filename.txt

You’ll see something like this in the output:

Reparse Tag Value : 0x9000401a
Tag value: Microsoft
Tag value: Directory

Reparse Data Length: 0xcc
Reparse Data:
0000: 01 80 e8 01 c5 b0 00 46 65 52 70 6e 0a e8 a4 00 .......FeRpn....
0010: e4 01 00 00 02 00 0a 00 80 07 00 01 00 60 00 00 .............`..
0020: 00 48 08 04 00 64 00 38 06 00 08 00 82 c8 00 6c .H...d.8.......l
0030: 11 00 60 01 68 00 3c 5b 15 08 01 4e d0 00 4e 01 ..`.h.<[...N..N.
0040: 0e d8 00 0e 0a 30 00 04 00 e0 00 0e 00 04 00 40 .....0.........@
0050: 35 00 68 03 00 06 60 04 1e 00 14 00 0b 03 01 08 5.h...`.........
0060: 00 06 39 34 31 35 33 38 00 33 34 36 43 32 43 35 ..941538.346C2C5
0070: 38 80 33 35 21 33 39 36 35 04 1b e3 09 06 36 27 8.35!3965.....6'
0080: 31 34 30 10 4e 76 12 86 63 08 63 32 63 81 77 00 140.Nv..c.c2c.w.
0090: 47 f9 8f 98 f8 7f 00 82 b9 01 4a a1 5b 83 07 00 G....⌂....J.[...
00a0: b6 09 c8 00 16 60 5c 69 00 cf 3d ae 69 04 80 55 .....`\i..=.i..U
00b0: 24 e0 23 78 ec 3a 04 95 5a 80 1f 85 a7 01 05 11 $.#x.:..Z.......
00c0: 20 41 cb d0 07 97 d7 01 80 b8 00 00 A..........

You can see the Reparse Tag Value in the output. The reparse tag 0x9000401A denotes that the file or folder is configured as an online-only (“Files On-demand”) file.

I hope the Chkdsk command or the Disk Error Checking tool helped you fix the error 0x80071128 or 0x80071129 on your computer.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Comment