Unexpected error 0x80070032 copying OneDrive files to NAS

JayCarper-5747 361 Reputation points
2023-02-14T20:27:54.8066667+00:00

I am trying to copy OneDrive synced files to a NAS device. All files are set to "keep on this device" and they have all been fully downloaded. When I try to copy using Windows Explorer, I get this error:

An unexpected error is keeping you from copying the file. If you continue to receive this error, you can use the error code to search for help with this problem.

Error 0x80070032: The request is not supported.

When I try to copy using copy or robocopy in CMD, I just get "The request is not supported." Although Robocopy gives me this additional information:

2023/02/14 14:18:16 ERROR 50 (0x00000032) Copying File C:\Users<username>\OneDrive<filename>

The request is not supported.

Copy-Item in Powershell also returns "This request is not supported".

Even if I copy the OneDrive files to another folder on the hard drive (e.g. C:\Temp) first, I am still unable to copy them to the NAS. It's as if OneDrive has added an attribute to the files that is interfering.

I am able to copy any file that is not synced to OneDrive, and I am able to copy the OneDrive files to USB-attached storage.

Microsoft 365 and Office | OneDrive | For business | Windows
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Geoff Welch 0 Reputation points
    2025-05-15T04:04:01.25+00:00

    @JayCarper-5747 I realize this is an old question but, over 2 years later, I am still encountering the exact same issue you outlined above and I found a solution that I wanted to share in case it helps anybody else...

    After downloading a file from OneDrive via the "keep on this device" function (in my case, old cell phone videos originally backed up to OneDrive), right click on the downloaded file and go to Properties. Then, click the Details tab and scroll to the bottom. That screen shows that the files coming down from OneDrive are being tagged with Attributes "A" and "P". I do not know of a way to modify those attributes from the properties screen but, using the following command in Command Prompt, you can remove both the A and P attributes from either an individual file or a set of files in a specified directory.

    attrib -a -p C:\Users\Your Name\Directory of Files\* . *

    After doing so, the file(s) can be moved to the NAS without any issue. I hope this helps someone in the future!

    You found this answer helpful.
    0 comments No comments

  2. Mariusz Matusiak 0 Reputation points
    2025-08-28T17:28:17.19+00:00

    It seems like Microsoft is not very interested in sharing the actual solution for this problem. ;)

    @Geoff Welch 's comment helped me solve the issue, thank you so much for this! I'd like to follow up as I did some additional analysis.

    What's really preventing one from copying OneDrive files to an external network storage is the P (pinned) attribute assigned automatically by the OneDrive's client on selecting the Always keep on this device option. According to some resources, it is supposed to prevent a file from being removed when there's low space left on a hard drive. Removing the A (archive-ready) attribute is purely optional here. I was able to copy files with both L and AL attributes, but not with P.

    Capture

    Hence, in order to copy files synced manually with OneDrive, open the command prompt and enter:

    attrib -p Path\To\Your\Filename
    

    to remove the attribute from a single file or

    attrib -p Path\To\Your\Files\Directory\*.*
    

    to remove the attributes from all files in a given directory.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.