Solved

Replacing notepad

Posted on 2000-02-29
6
191 Views
Last Modified: 2010-04-14
I think MS tried to get smart and put some sort of daemon in to check file sizes/placement.  I tried to replace the standard notepad with a replacement I downloaded, and everytime I rename the original notepad, or even delete it, after about 5 seconds, it re-appears!  (try it, go into your C:\winnt and delete notepad.exe.  Wait 5 seconds, and it will re-appear at the bottom of the list!) (Make sure you have a backup first, just in case!!!)

How do I turn the auto-replace feature off?  (if in fact it is a feature!)

Thanks,
0
Comment
Question by:PaulKorzycki
6 Comments
 

Expert Comment

by:wy2lam
ID: 2571306
You can always make a shortcut to your replacement and name it "notepad" and put it in the same directory as notepad.exe is in...
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 10 total points
ID: 2571348
I saw this demonstrated at PC Expo last year - it's "self healing" if a user deletes a file the system believes should be installed, it will put it back.  try deleting it from %systemroot%\system32\dllcache as well.
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 2571471
Leew is correct, but a "safer" method would be to copy your notepad.exe into the dllcache directory.  Then, if something tries to replace your version of notepad, Windows 2000's self healing properties will work to your advantage.
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

Author Comment

by:PaulKorzycki
ID: 2573735
Thanks for the input guys.  I knew MS had created some new feature, but I couldn't see it documented anywhere.  It turns out that even if you replace the the notepad.exe in the dllcache directory, Windows will complain that the file version has changed.  Fortunately, you can override the dialog and it will let you continue.

How do we distribute the points now? :)
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 2574254
give all to leew, his is the correct solution.
0
 

Author Comment

by:PaulKorzycki
ID: 2574347
Thanks for the information guys.

Unfortunately, MS didn't seem to give an option for disabling the feature, but I got my new notepad working anyway!

Thanks!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A Short Story about the Best File Recovery Software – Acronis True Image 2017
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now