Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Problem Completely Deleting Notepad++

25 Aug 2012   #1

Windows 7 Home Premium 64bit
Problem Completely Deleting Notepad++

Here's the issue. I downloaded a version of Notepad called Notepad++ a while back and was successful in uninstalling it from Windows and removing the desktop icon but when I try to delete the folder and contents from Program Files(x86) folder it gives me the message that the file is open in Windows Explorer and that it can't delete it. Furthermore when I try to delete it at the command line level C:>, I get a message telling me that Access Denied. How can I not have access to a file that I downloaded to my own computer? Please Help! Thanks very much.

My System SpecsSystem Spec
25 Aug 2012   #2

Windows 7 Home Premium 64bit

BTW, I forgot to include that the name of the file is: NppShell_04.dll
My System SpecsSystem Spec
25 Aug 2012   #3

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 8.1 Pro

Reinstall Notepad ++ and then download and install Revo UnInstaller free version and try to use that to uninstall it use the highest setting when scanning for leftovers Download Revo Uninstaller Freeware - Free and Full Download - Uninstall software, remove programs, solve uninstall problems
My System SpecsSystem Spec

25 Aug 2012   #4

Windows 7 32 bit

If the DLL is a shell extension it may allow you to delete it after you log out, then log back in. Or you can try unlocking using UnLocker. Or you might have to unregister it using regsvr32 /u NppShell_04.dll.

Explorer is notorious for hanging onto DLLs that are no longer in use. It's typical to log off or kill Explorer to make it let go.

If it really is Access Denied then you may have to Take Ownership of the dll before you can delete it. See tutorials Take Ownership.

Another approach. Make a .cmd batch file such as DelDLL.cmd with the line below:
cmd.exe /c "del x:\pathNppShell_04.dl"

where x: is the drive and path is the folder to make the complete path of the dll.
Download my RunItOnce utility from this page:

When you double click RunItOnce it will bring up a file open dialog. Select the .cmd file you made. Then log off, and log back in. It should delete the file before Windows has protected it, then the login continues normally. If log off isn't enough, you may have to reboot. Since RunItOnce only runs it once, you'll have to set it again if it needs to reboot(or just reboot on the first attempt instead of logging off.)
My System SpecsSystem Spec
25 Aug 2012   #5

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

As Miles said, Unregistering will probabaly do it.
My System SpecsSystem Spec
25 Aug 2012   #6

Windows 7 Home Premium 64bit

O.k. Thanks to you all for your suggestions. I'll muddle through these for a while and then let you all know the results.
My System SpecsSystem Spec
25 Aug 2012   #7

Windows 7 Home Premium 64bit

Call it beginner's luck or whatever but sometimes just the plain and simple works. I switched my default browser to Google Chrome and then went back into Windows Explorer to the Notepad++ folder and deleted it with no problem. Technically, I don't know why it worked because my specialty is not browsers so if someone can explain please do. Thanks again for all your suggestions.
My System SpecsSystem Spec
26 Aug 2012   #8

Windows 7 32 bit

Sounds like the DLL is a BHO. Browser Helper Object. I'm guessing when you changed default browser it unregistered the DLL. An ActiveX control most likely. I haven't heard of any browser that doesn't use the IE engine using ActiveX. That's one reason I don't surf with IE. I don't want to use BHOs as they can do serious damage if you get one that's malware.

Anyway, at least it's gone.
My System SpecsSystem Spec
26 Aug 2012   #9

Windows 7 Home Premium 64bit

Yeah, I'm glad I was able to delete it. Will mark this one as solved.
My System SpecsSystem Spec

 Problem Completely Deleting Notepad++

Thread Tools

Similar help and support threads for2: Problem Completely Deleting Notepad++
Thread Forum
Notepad email attachment problem Browsers & Mail
Notepad and Dragon NaturallySpeaking Deleting Spaces After Saving Software
Solved notepad symbol pasting problem Software
Windows 7 Notepad Problem General Discussion
problem from replaced notepad ++ with notepad Installation & Setup
Annoying MS Notepad problem Software
NOTEPAD question/problem Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:50 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33