ASD ISM 1245 Remove temporary installation files after installing server applications
What it says
All temporary installation files created during server application installation processes are removed after server applications have been installed.
Quoted as published. Everything else on this page is written by Control Stack.
In plain English
After a server application is installed, remove every temporary file its installation created, such as unpacked setup packages and staging folders.
All temporary installation files created while a server application is being installed must be removed once the installation is complete. These are files needed only while the installation runs, such as downloaded or unpacked setup packages, staging folders, temporary scripts and response files that record setup choices. All means every such file, wherever the process wrote it, not just the obvious download folder. The installed application and the files it needs to run stay. ISM-2111 sets the same rule for user applications.
Free. Save your status, tasks and notes.
Why it matters
Leftover installation files can hold passwords, keys or details of how the application was set up. Removing them leaves less for a malicious actor who later reaches the server to read or reuse.
How to implement
Find out where each installer writes temporary files.
Read the vendor's installation documentation, then run the installation on a test server and compare file listings taken before and after, so files in system temporary folders and the installing account's profile are found too.
Add a clean-up step to every installation.
Put it at the end of the build script, template or checklist, deleting each setup package, staging folder, temporary script and response file found in the first step.
Check each installation before go-live.
Search the server for the known temporary file names and locations. Where a vendor or contractor installs the application, make the clean-up part of the job and check it yourself before accepting the server.
Keep it running
Run the same clean-up whenever an installer runs again, such as for a reinstall or an upgrade, and check new server builds and images for leftover setup files before they go into use.
Evidence and audit
- Check 1 of 2What an auditor asks for
Ask for
A search of a sample of servers, chosen from a discovery scan, for setup packages, staging folders, temporary scripts and response files left by server application installations.
Look at
Whether any temporary installation files remain, in every location the installers use.
Good evidence
No temporary installation files remain on any sampled server.
- Check 2 of 2What an auditor asks for
Ask for
A test installation of a server application, with file listings taken before installation and after the clean-up step.
Look at
Every file the installation created that is not part of the installed application.
Good evidence
After clean-up, the only files added are the installed application and the files it needs to run.
Mappings
Closest match in ISO/IEC 27001: A.8.19, Installation of software on operational systems, which this control partially meets.
ISO/IEC 27001: 1 mapping
This control partially meets A.8.19.
ISM-1245 requires all temporary installation files and logs created during server application installation to be removed after installation. Annex A 8.19 requires secure software installation procedures and measures for managing software installation on operational systems, which can include post-installation clean-up to reduce residual risk. ISM-1245 is a specific post-installation hygiene requirement, whereas Annex A 8.19 is broader across the full installation process (authorisation, validation, rollback, and integrity).
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




