Me: I live in Silicon Valley with my wife, child and cat. I have worked at Microsoft since I graduated from College, both in the Macintosh Business Unit on products such as Outlook Express, Entourage, IE, and Virtual PC and in Windows Live on Hotmail, Calendar and People. I am currently a Principal Lead Program Manager on the Windows Live Social Networking team. I basically manage a team of Program Managers responsible for delivering features to support our web and client applications. I've been blogging since 2001 and like to play around with .NET in my spare time working on projects such as dasBlog (the blog that powers this site) and Send to SmugMug (an application for uploading photos to SmugMug). I blog about a number of technology and productivity related topics.
Powered by: newtelligence dasBlog 2.1.8251.15563
Disclaimer The posts on this weblog are provided "AS IS" with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2009, Omar Shahine
E-mail
Thanks to some great comments and a specific one from James I have now replaced notepade.exe with the vastly superior notepad2.exe and prevented Windows File Protection from replacing the new notepad.
Here are the steps (warning, process with care, no warranties etc):
1) Rename Notepad2.exe to Notepad.exe2) go to %windir%\system323) Rename Notepad.exe to NotepadX.exe4) go to %windir%\system32\Restore5) Turn off hide invisible files in Tools->Folder Options->View6) Select filelist.xml and right click->Properties and uncheck Read-only7) Edit the file8) Add:
<REC>%windir%\notepad.exe</REC>
to:
<Exclude> <REC>%windir%\system.ini</REC> <REC>%windir%\tasks\desktop.ini</REC> <REC>%windir%\win.ini</REC> <REC>*:\AUTOEXEC.BAT</REC> <REC>*:\CONFIG.MSI</REC> <REC>*:\CONFIG.SYS</REC></Exclude>
9) copy the newly renamed notepad2.exe (now named notepad.exe) to %windir%\system32
note: it turns out that for some folks, this doesn't work. It did not work for me on my tablet pc. Thanks to Shakeel Mahate here is method #2.
The dllcache contains copies of the windows protected files. The dllcache isnt itself protected.
 
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u