0

While generating reports our application stores data in a user's %appdata%/local/temp directory (using DevExpress report libraries - we have no control over this).

This works fine, except at 3pm, daily, at one of our clients (Running Windows Server 2016), when an incremented numbered folder in the user Temp directory (e.g. %appdata%/local/temp/96) is deleted, and requires either a new windows session to be started or SQL Server Mgmt studio to be opened to regain it.

We have gone through their scheduled tasks and have found nothing to explain it, their scheduled Disk Clean up runs weekly and not at 3pm, and there are no other 'CCleaner' style applications installed.

We have seen this at no other clients.

What may be causing this deletion and how can we stop it from happening?

2
  • Did you find which process was doing it in the end? – Innate Imunity is The Way Nov 15 '19 at 21:18
  • @Tomas, no, funnily enough, when we told out client we could monitor it, it strangely stopped ... I've never been one to blame a customer for problems on a project, but this is the closest I've got – lagerdalek Jan 8 '20 at 5:26
2

Process Monitor can help you monitor the system to log what application is deleting the folder.

1
  • Great idea, foolishly didn't consider procmon, – lagerdalek Jul 25 '19 at 1:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.