Improved Temporary File Handling for Windows Agents
Temporary files generated during discovery scans and agent communication previously accumulated in the Windows system temp directory over time, consuming unnecessary disk space and affecting long-running agent stability in environments with a high scan frequency. The Discovery Application now manages and cleans up temporary request data after each use, preventing file accumulation and improving long-term agent stability in customer environments where repeated scan cycles generate a high volume of temporary processing data.
Where the improvement appears
The new cleanup behavior is visible in the following locations:
| Location | What changed |
|---|---|
| Windows agent machines | Temporary files under C:\Windows\Temp\Attr_* are cleaned up automatically after each use. |
| Long-running agent stability | Agents in high-frequency scan environments no longer accumulate temp files over time. |
Procedure
No action is required for new deployments. For machines where temp files have already accumulated, complete the following optional cleanup step.
-
Clean up existing accumulated temp files (if affected).
From an elevated command prompt on the affected machine, run the following command to remove abandoned temporary files:
del /q /f "C:\Windows\Temp\Attr_*"
Note: The fix takes effect automatically after upgrading the Discovery Application. The cleanup command above is needed only on machines that already have abandoned temp files from previous releases.