How Can I Find Out Who's Causing These Annoying OneNote .onetoc2 Files on Our Network?

February 6, 2026 4 answers
Asked by UserNinja352
I've been dealing with an issue where every directory in our network share is cluttered with a file named "Open Notebook.onetoc2." No matter how many times I try to delete these files, they keep reappearing after just a few moments. After some research, I understand that this happens when someone opens a parent directory as a OneNote notebook, but I'm unable to identify who that person is. When I check the ownership of these .onetoc2 files, they are attributed to random users with access to the share, and bizarrely, one even claims I'm the owner. Since we have hundreds of users on the share, I can't just ask everyone. I would really appreciate any advice on how to track down the culprit or the machine causing this issue!

Answers

ConfusedUser
Have you checked the file properties to see who is listed as the owner? That might give you a clue about who is causing this.

UserNinja352: Yeah, I mentioned that in my question. The owners are random users, which is part of the problem!

Reply to this answer
AuditMaster
Definitely consider enabling file auditing, if you havenโ€™t already. This will help you see whatโ€™s creating the file. Just be cautious, as auditing can put a significant load on a large share.
Reply to this answer
TechGuru99
If you're using a Windows server, I recommend running Process Monitor with a filter on the specific folders where these files appear. Delete the .onetoc2 file from those folders and watch to see if Process Monitor logs when it gets recreated. You'll likely find out who or what created it, plus the file ownership of the new instance should match the original creator.

DetectiveCoder: Totally agree! Process Monitor is fantastic. Just make sure to get familiar with the filters since thereโ€™s so much data flowing through it.

Reply to this answer
PowershellWhiz
You can also delete these .onetoc2 files through PowerShell by navigating to the right top-level folder and using this command: Get-ChildItem -Filter "*.onetoc2" -Force -Recurse | Remove-Item โ€“Force. Make sure all OneNote notebooks are closed before doing this, but be careful with this command as it might also remove valid OneNote contents!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions