Short and plain:
is it safe to delete the contents of %SYSTEMROOT%\assembly\temp
as in
rd /s "%SYSTEMROOT%\assembly\temp\*"
on a Windows Server 2008 R2 / SBS 2011 instance? Are any official documentation references or blog posts available?
In one case, I see this folder to have grown as large as 33 GB and this SE post suggests that purging the directory might be an option. In the end, it is called "temp" and apparently this folder is used for .net assembly uninstall procedures - the idea seems to be to move assembly-related files there prior to final deletion.
For one reason or the other, the final deletion is not performed on some instances and the folder keeps on growing. In the specific case I am looking at, the more than 5,600 directories under "temp" date on from May 15th, 2014, ~50 are added every day around 0:00 - 3:30 a.m. (probably as the result of some maintenance job) and each of them contains 1-2 .ni.dll file(s) like mscorlib.ni.dll
, system.ni.dll
, system.configuration.ni.dll
[...]. This seems to repeat every day.
What I am basically looking for is either an official statement that deletion is safe or another supported and documented way to clean it up.