/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: dj_xest 12 years ago
5th Degree Black Belt
1
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..

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
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ