Hi heres what you do. the old method doesnt work anymore but the new method is even simpler. All you have to do is go to installed apps, remove the new notepad, then go to regedit, do a search for notepad, the 2nd key says "donotuse", remove that key. Then set the default program for txt, etc, files to notepad and it works. Its probably possible to script that if you think about it. Hope this helps..
Reset Notepad in Windows 11 24H2
Hi
We were using a script in our computer School to reset a lot of Windows/Office settings between two classes of new students.
However since last time, the reset of the Notepad to the default settings doesn't work anymore sadly!
Before we were just removing with a batch code the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
But with the last updates the latter doesn't seem to exist anymore. What is the alternative now because i can't found anything.
Thanks for your help.
***moved from Windows / Windows 11 / Settings***
Windows for business | Windows Client for IT Pros | Directory services | Deploy group policy objects
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
3 answers
Sort by: Most helpful
-
Anonymous
2025-02-19T04:43:48+00:00 -
Anonymous
2025-01-08T08:05:14+00:00 Hello
Thanks for posting in Microsoft Community.
In Windows 11 (especially since the 22H2 and 24H2 updates), Notepad has been updated and its settings are now stored differently compared to previous versions. The registry key you're referencing (HKEY_CURRENT_USER\Software\Microsoft\Notepad) is no longer in use for resetting Notepad settings in modern Windows versions.
I hope the above information is helpful to you.
Best regards
Runjie Zhai
-
Anonymous
2025-01-08T08:53:01+00:00 Thanks
So what is the nee way to programmatically reset the Notepad to default settings now ?