All your base are belong to notepad

by Jesse 28. September 2009 20:03

I was creating a virtual this evening in prep for moving boxes around on my network and I did something rather magical.  Long story cut REALLY short, I associated notepad with .exe file extensions ... which seems like no big deal, UNTIL you try to undo it.  Now if you let this simmer for a minute ... you have no regedit, no explorer, no command prompt, NOTHING with a .exe will run in anything except notepad.  They're done, gone, bye bye ... ok not GONE but ... just WOW.  What's worse, I'm not the only person who has done this

As for the fix, make yourself a registry key with the following data (in yep, NOTEPAD!), save it as whatever.reg and double click and merge it (worked on 2k3 and looks like it could work on a lot of other versions, vista)

[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

Anyway, just thought I would share.  Oh and restart after you un-do the snafu and expect it to be ...um, angry.  Yes, I'm saying you might have to/want to just ... reinstall.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Comments

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

Like the description says, at my core, I'm a scientist and engineer.  I came from humble beginnings on a 486DX2 Packard Hell playing doom2 on IPX to in a small time retail shop and got into hardware (ISO layers FTW!) and it was all downhill from there.  I'm infinitely curious about almost everything and always wanting to know.

According to personality tests (real ones) I classify under "Rational" more specifically, a Fieldmarshal.  I think there's something to that.

Some of the stuff I'm currently into/researching...

Sitefinity

Ninject

Subsonic 

Currently working on ...
i did the hundred


and some extra stuff

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's, their brother, their dog, cat, ferret nor gold fish's view in anyway.  At all.  Ever.

© Copyright 2007-2009