- 积分
- 654
- 最后登录
- 2024-4-24
- 精华
- 0
- 阅读权限
- 40
- 主题
- 37
- UID
- 737835
- 帖子
- 1636
- PB币
- 2904
- 威望
- 0
- 贡献
- 0
- 技术
- 0
- 活跃
- 2164
- UID
- 737835
- 帖子
- 1636
- PB币
- 2904
- 贡献
- 0
- 技术
- 0
- 活跃
- 2164
|
9F
发表于 2017-8-20 08:37:24
IP属地北京
|只看该作者
notepad2-mod 恢复系统记事本.bat
@ECHO OFF
PUSHD %~DP0
taskkill /f /im notepad*>NUL 2>NUL
Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行&&Pause >NUL&&Exit)
Rd "%WinDir%\System32\test_permissions" 2>NUL
SetLocal EnableDelayedExpansion
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /f
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /f
exit |
|