Menu

Can't delete NppShell_01.dll

mbegley
2010-10-02
2012-11-13
  • mbegley

    mbegley - 2010-10-02

    I tried to uninstall Notepad 5.8.1 and it left a bunch of garbage files in my Program Files folder.  NppShell_01.dll was one of them.  When I tried to delete it manually, OS won't let me… any suggestions?

     
  • Jocelyn Legault

    Jocelyn Legault - 2010-10-03

    There is probably a process that still uses the said file.
    What I suggest:
    - Get Process Explorer if you don't already have it (it's such a useful tool!!!). You can find it here: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    - Dump the content of the zip file found on the site somewhere you're comfortable with (I chose C:\Windows\System32, but feel free to dump it where ever)
    - Start the Process Explorer executable, and go to Menu > Find > Find Handle or DLL…
    - In the "Handle or DLL substring" type NppShell_01.dll and press Search. There should be at least one process that would report to be using the said file.
    - Double click on the process, and you'll be brought back to the main interface, with the process using the said file highlighted.
    - Press the "delete" key on your keyboard. A popup asking you if you want to end the process will appear. Press yes.
    - You should then be ready to delete the file.

    cheers,

    joce.

     
  • Stefan Pendl

    Stefan Pendl - 2010-10-03

    Usually you only need to close all explorer windows, run regsvr32 /u NppShell_01.dll and then you should be able to delete the file.
    This file is the shell extension, which adds the Edit with Notepad++ menu item to the context menu within explorer.

    --
    Stefan

     
  • mbegley

    mbegley - 2010-10-03

    Thanks for the help, guys… the Process Explorer tracked it down, when Vista's own Task Manager wasn't able to.  Nice utility :)… For future reference, I tried both suggestions and they both worked.  The Process Explorer traced it to Explorer but when I killed it, I lost the Desktop icons, Start Menu and all means of navigating, so I had to reboot and delete it from cmd window, before Explorer had a chance to initialize it.  Regsvr32 could unload it, but the .dll was located in a folder in Program Files (x86) and I wasn't able to type the path in correctly.  Safe mode worked also

     
MongoDB Logo MongoDB