How to solve "Another application has exclusive access to the file" gracefully?
Hello,
I have a case with an .msi file that's already in prod and cannot be removed because "Another application has exclusive access to the file".
My question would be - what are my options to remove that installation package? Can I somehow exclude it from the list of removed components/"mark it as permament"?
Another possible option would be msizap?
P.S. Similar case - http://www.itninja.com/question/uninstalling-error
I have a case with an .msi file that's already in prod and cannot be removed because "Another application has exclusive access to the file".
My question would be - what are my options to remove that installation package? Can I somehow exclude it from the list of removed components/"mark it as permament"?
Another possible option would be msizap?
P.S. Similar case - http://www.itninja.com/question/uninstalling-error
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
dj_xest
12 years ago
First, you must find the culprit executable file and kill it. It can be found in list of processes in Task manager. Chances are you might be dealing with Java applications accessing its flag file. i.e. javaw.exe, java.exe, etc.
After killing it, your MSI will run smoothly..
After killing it, your MSI will run smoothly..
Comments:
-
It's "svchost.exe" process, so a possible solution might be to kill the specific handle that holds the file.
what about cleaning out component registry information? - GrGrGr 12 years ago -
if you can locate the actual program file which is running under the assumed process name of "svchost.exe", you can only kill that. Other than that, svchost.exe hosts several Windows services and might produce undesired results. - dj_xest 12 years ago