I have been having this problem for some time. At times after logon, when i try to open a file in my drive it pops up a windows error dialog saying 'Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item.'
Earlier, i used to solve this by restarting my system and everything would be back to normal. I thought it was just a glitch or someting due to any windows updates. But it started popping out more frequently that i had to find the cause for this issue. And then i figured out that somehow the Real-Time scanning feature in McAfee was causing this all along. I confirmed it by accessing the file(tried with my personal image and document files) by turning the feature ON and OFF. I was able to access the file when it was set to OFF. Now i really don't have any idea as of why this popup occurs and i do not know if it has to do with any setting/changes i had made inside of McAfee. I require support/solution for solving this as of what had gone wrong with my system. And thanks in advance.
Note: when this popup occurs, it occurs for .jpg .png images and .pdf documents (so far) in both of my hdd/ssd drives. It does not occur for any video or .txt files. The only workaround i have been trying is to restart the system (or) turning OFF the real-time protection when i need a file to be accessed.