在 Windows XP 上卸载记事本

Mar*_*ddy 4 notepad windows-xp

如何从 Windows XP Professional 系统卸载记事本应用程序?

它显然没有列在控制面板的“添加或删除程序”小程序中。我还检查了前面提到的屏幕中的“添加/删除 Windows 组件”小程序,但未列出该程序。有没有办法从机器上卸载这个应用程序?

xxl*_*3ww 13

如果您复制或删除它,Windows 会自动恢复记事本。

一种可能性是

1) 更改资源管理器视图选项以显示系统文件

2) 从以下位置删除 Notepad.exe:

  • C:\WINDOWS\ServicePackFiles\i386
  • C:\WINDOWS\system32\dllcache
  • C:\WINDOWS\system32
  • C:\WINDOWS

3) 现在,您需要通过将文件从 restore\filelist.xml 中排除来停止复制该文件。

attrib -s -h -r %windir%\system32\restore\filelist.xml
Run Code Online (Sandbox Code Playgroud)

编辑文件 %windir%\system32\restore\filelist.xml

现在将以下行添加到 filelist.xml 的 excludes 节点

<REC>%windir%\system32\notepad.exe</REC>
<REC>%windir%\notepad.exe</REC>
Run Code Online (Sandbox Code Playgroud)

将属性改回隐藏和只读。

attrib +r +h %windir%\system32\restore\filelist.xml 
Run Code Online (Sandbox Code Playgroud)