A file you never made sits on your desktop. Its name means nothing, such as kx4qz.dat, or it’s a .tmp file, an empty folder or a document nobody wrote. You delete it, and after the next restart it’s back.
Deleting it again won’t help while the program that makes it keeps running. Most of the time that program is harmless: an app that saves its cache or its log in the wrong place, an update that finishes its work on the desktop, or a security tool that leaves decoy files to catch ransomware. CapyWatcher names the program, so you know which one it is.
Find the program that makes it
- Open CapyWatcher and select Tracked folders in the left column. Check the box of the folder where the file shows up, such as Desktop, as Choosing folders to track shows.
- Delete the file, then wait until it comes back. The app records it the moment a program creates it again.
- When it’s back, right-click it in Explorer. On Windows 11, select Show more options at the bottom of the menu, then CapyWatcher: who created this file?.
- Read Created by in the window that opens. It names the process that wrote the file. A process is a program while it runs, named after its program file, such as
OneDrive.exe. - Read Started by under it, the program that started that process. Often that’s the app you know, while Created by is one of its helpers.
- Select Open process folder. Explorer opens the folder that holds the program’s file, and its name usually tells you which app it belongs to.
Every line of that window is explained on Who created this file?.
If the file was already there
When you skip step 2 and look up the file that was already on the desktop, the answer reads “Created before monitoring started”. The app wasn’t recording the folder yet when that copy appeared, so it can’t say who made it. Delete the file and wait for the next one.
What to do once you know
- An app you use: look in its settings for where it saves its files, its cache or its log, and choose another folder. If there’s no such setting, the app’s support can tell you why it writes there.
- An app you no longer need: uninstall it in Windows’ Settings, under Apps, then Installed apps.
- Windows itself, such as
explorer.exeor a program inC:\Windows: leave the file alone. Windows keeps a hiddendesktop.iniin many folders, for example, and makes it again when it’s gone. - A program you can’t place, running from a temporary folder or from
AppData: read Is a strange program making files? before you do anything else.
Tip
Once you know the program, History shows everything else it made. In the answer window, select Show in History, or open History and pick the program in the Process list.
Important
The app records only new files in the folders you track, from the moment you track them, and only while monitoring is on. A file that a program changes without making it again keeps its first creator, since History doesn’t record changes inside a file. After the free trial, without a license, the answer reads “Locked” until you enter a license key.