1
0 Comments

Our application saves report data in a user’s %appdata%/local/temp directory using DevExpress report libraries. We don’t have control over this process. Usually, this works fine, but we’ve noticed a problem with one of our clients who is running Windows Server 2016. At 3pm every day, a folder with an incremented number in the user Temp directory (e.g. %appdata%/local/temp/96) is deleted, and the user needs to start a new windows session or open SQL Server Mgmt studio to recover the folder.

We’ve checked their scheduled tasks, and there doesn’t seem to be any explanation for the deletion. Their weekly scheduled Disk Clean up doesn’t run at 3pm, and they don’t have any CCleaner-style applications installed.

We haven’t seen this issue with any other clients.

What could be causing this deletion, and how can we prevent it from happening?

Askify Moderator Edited question April 24, 2023