Every executable on my Win 7's Desktop got associated with Notepad

I was opening a zipped putty file sent by a colleague who suggested to me to use
Notepad to open after unzipping.

I don't know what I've clicked or selected: now every single executables (MS outlook,
Chrome, IE, Google Docs, 7zip, putty, Broadband on Mobile, etc) are showing Notepad
icons & when I double-click on them, Notepad edits those executables & show their
contents (often containing garbage characters).

What can I do to "de-associate" the Notepad associations?

I'm on Win 7 Professional x64
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
It appears your colleague sent you malware. Putty works just fine. I use it.

Run your own antivirus application and do a full scan. Follow this by a scan using Malwarebytes.

When complete, open an admin command prompt and run SFC /SCANNOW. Allow to complete. Close out and now shut down the computer.

Start back up and test. Any improvement?
JohnBusiness Consultant (Owner)Commented:
Also try re-associating an executable with its proper application. Do this in Control Panel, Default Programs. Can you do this?
Lior KarasentiCommented:
Try the following program: https://toolslib.net/downloads/finish/25/get/xEMX/
Click on "Tous" then click on "Restaurer". It should then restore every association listed and fix the problem.
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

☠ MASQ ☠Commented:
You've probably just reset the default program to open .exe's with Notepad.  If so re-associating the .exe extension with Lior's link above will fix this but if you just want to target .exe associations download and run the registry file here.

Just a note that Lior's link will download a file with an .scr extension.  This is deliberate as, of course, if it downloaded as an .exe you wouldn't currently be able to run it :)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sunhuxAuthor Commented:
For sure it's not a virus because my laptop is up-to-date with Officescan AV
& Malwarebytes scan did not fix it.

Lior's utility is in a non-English language but I ran the .scr anyway & selected
.exe to restore (ie I click "Restaurer") & it actually edit using notepad the
file which shows up a garbaged file.

I've also tab to the button "Restaurer" & press <Space> to select it & it
edits the file again, showing a garbaged file
sunhuxAuthor Commented:
Have also downloaded & run MASQ's default_EXE.reg but it did not restore back
the icons on the Desktop too : still doing "notepad of the file", showing garbage.

Do I need to reboot after running the above tools?  I'll try it tomorrow as it's
midnight now my time
sunhuxAuthor Commented:
After running Lior n defaultreg.exe, I also do a cold reboot of the laptop, still seeing all Desktop icons as Notepad icon n clicking any one of them wud edit them using Notepad which gives garbage content.   Wat can I do next?
JohnBusiness Consultant (Owner)Commented:
You can try running Windows 7 Repair Install. You need a working recovery partition or the Windows 7 DVD. Here is a Seven Forums tutorial to assist with this.


If this fails to fix the issue,  the next step is to back up the computer, format, and reinstall Windows 7
☠ MASQ ☠Commented:
- forgot the obvious one!

Have you tried a System Restore to a date prior to the Putty install?
sunhuxAuthor Commented:
C:\Users\sunhux\AppData\Local\Google\Chrome\User Data\Default\JumpListIcons

Our laptop support chap renamed away the above, rebooted the OS & voila, the
icons are all back to what it was prior to the 'putty' incident.  Was told Win 7 will
recreate the above if it finds it missing & the newly created JumpListIcons restores it

Did not try "System Restore"
JohnBusiness Consultant (Owner)Commented:
Thanks for the update!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.