Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to install some software and it requires removing the following file:

  • cd %SYSTEMROOT%\assembly\GAC
  • rename Microsoft.Office.Interop.Outlook Microsoft.Office.Interop.Outlook.Old

the problem is that when I do the rename, it looks like it's successful but it doesn't seem to actually delete Microsoft.Office.Interop.Outlook

i tried to explicitly do:

 del Microsoft.Office.Interop.Outlook 

and again it looks like it works but then when i do a "dir" i still see that file.

Do you have any suggestions on why this wouldn't allow me to delete this file. I have outlook closed when i am doing this so i wouldn't think outlook is locking the file.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

1) you could use sysinternals ProcessMon to see what's using the file. Kill that, then delete the file.

2) You could also use the RunOnceEx registry key to have the file deleted on boot before you run anything that may use it. I don't have a windows box to create an example, maybe someone else can add to this answer.

share|improve this answer

Boot from a XP cd and get to the command prompt, delete it from there.

here is how to get to the command prompt from CD.

http://kb.wisc.edu/helpdesk/page.php?id=5097

share|improve this answer

When this happens to me I use Unlocker by Cedrick Collomb.

This little and hand utility always did the trick for me really easily: right click --> unlock & delete.

http://www.emptyloop.com/unlocker/

It is easier and more feature-packed than other suggested tools (check the "Similar programs and why Unlocker is better" table in the link above)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.