We run an application in which users can create and validate files on a virtual machine (VMWare) equipped with Microsoft Windows Server 2019 Standard.
The users work on terminal servers (Windows Server 2012). They transfer the files to our server via a share.
We're running into the problem, that now and then all user sessions are frozen. The application goes into 'not responding'. The main application on the server does the same.
We found out that the main application on the server tries to delete a certain file but cannot. All other processes in the application are waiting in line for this deletion.
I tried to find out which process could lock the file but I couldn't. The file doesn't seem to be blocked, it's just not accessible.
Here's a screenshot of the open files in computer management:
I marked all accesses to the folder. The relevant file is 'Batch.inf'
This phenomenon occurs for a maximum of 35 seconds and it happens every few minutes. I cannot actively reproduce it.
Here's a screenshot of the handle in ProcessExplorer:
I was able to navigate into the folder and tried to move the file manually. Nothing happens until the time period is over. I would expect a message like 'Access denied'.
What could cause this behaviour?
We deinstalled antivirus software to exclude that.