Overlay Icons from Shell extension not working correctly in Windows Explorer OneDrive folder.

BlueIceCastle 20 Reputation points
2024-08-05T01:03:38.04+00:00

Made a Custom Icon Overlay Handler with C# using shell extension.

In Explorer, files in folders are well overlaid with icons I created. (For example, only pptx files are overlaid with red star icons.)

By the way, the problem is that the files in the OneDrive Home folder don't overlay the icons I created.

Of course, in order to increase the priority in the registry, I put some spaces in front of the name and made it the first priority.

It is specified above the one-drive setting and has also restarted explorer.exe.

I also made and applied a thumbnail handler just in case, but this also comes out as the bitmap I specified in the file in the other folder, but the file in the one-drive folder comes out with the existing thumbnail.

For your information, the files in the OneDrive folder are copies of files in different folders, so they are the same files.

Is the one-drive folder separately processing icon overlays or thumbnails in the explorer?

If you know, please reply.

And how do I overlay files in my OneDrive Home folder with icons I made? Is there a way?

Please help me.

Microsoft 365 and Office SharePoint For business Windows
Microsoft 365 and Office OneDrive For business Windows
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2024-08-06T05:47:40.0333333+00:00

    Hi,

    OneDrive has its own set of icon overlays and thumbnail handlers that can interfere with custom shell extensions.

    OneDrive uses a status column to display sync status, which might override custom icon overlays. Unfortunately, this behavior is by design, and there isn’t a straightforward way to disable it.

    If you have any feedback or suggestion about this behavior, you can try to give a feedback to Microsoft about your requirement:

    https://support.microsoft.com/en-us/office/how-do-i-give-feedback-on-microsoft-office-2b102d44-b43f-4dd2-9ff4-23cf144cfb11

    Microsoft values your opinion. Your feedback goes directly to our engineers and helps us shape the future of Microsoft products and services for all our users.

    Hope the information is helpful.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.