Win7 下用 Notepad2 替换系统自带的记事本
  • 首页 > 电脑网络
  • 作者: Joseffu
  • 2015年5月27日 15:47 星期三
  • 浏览:4074 次
  • 字号:   
  • 评论:0 条  
  • 时间:2015-5-27 15:47   浏览:4074  

    首先是下载 Notepad2,这个不用说了。
    重命名为 Notepad,与下列注册表或批处理文件放置于同一目录。
     
    步骤:
    一、右键单击文件夹,看看菜单里面看看有没有“管理员取得所有权”,如果没有“管理员取得所有权”,新建 txt 文件,复制以下代码,粘贴.修改 txt 文件名为"管理员取得所有权.reg",运行此 reg。然后右键单击 windows 文件夹,单击管管理员取得所有权。
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT*shellrunas]
    @="管理员取得所有权"
    "NoWorkingDirectory"=""
    [HKEY_CLASSES_ROOT*shellrunascommand]
    @="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
    [HKEY_CLASSES_ROOTexefileshellrunas2]
    @="管理员取得所有权"
    "NoWorkingDirectory"=""
    [HKEY_CLASSES_ROOTexefileshellrunas2command]
    @="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
    [HKEY_CLASSES_ROOTDirectoryshellrunas]
    @="管理员取得所有权"
    "NoWorkingDirectory"=""
    [HKEY_CLASSES_ROOTDirectoryshellrunascommand]
    @="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"

    二、新建 txt 文件,粘贴以下代码,修改文件名为替换 .bat,然后运行它
    copy notepad.exe c:\windows\system32\dllcache
    copy notepad.exe c:\windows\system32
    copy notepad.exe c:\windows

    替换完之后回到桌面,新建一个 txt 文档打开看看是不是变了。删除管理员取得所有权.将以下代码复制保存为 .reg 然后运行即可
    Windows Registry Editor Version 5.00
    [-HKEY_CLASSES_ROOT\*\shell\runas]
    [-HKEY_CLASSES_ROOT\*\shell\runas\command]
    [-HKEY_CLASSES_ROOT\exefile\shell\runas2]
    [-HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
    [-HKEY_CLASSES_ROOT\Directory\shell\runas]
    [-HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    昵称  邮箱  主页 
    表情1 表情2 表情3 表情4 表情5 表情6 表情7 表情8 表情9 表情10 表情11 表情12 表情13 表情14 表情15 表情16 表情17 表情18 表情19 表情20 表情21
    84 + 82 =
    Copyright © 2004-2024  Joseffu Online 博客首页 鲁ICP备2021023008号-1 繁体中文
  • 日志:296 篇
  • 评论:226 条
  • 微语:25 条
  • 友链:18 个
  • 分类:5 个
  • 标签:29 个
  • 建站:2004-11-22

    已运行