系统优化.cmd
上传用户:clb8006
上传日期:2013-07-30
资源大小:29182k
文件大小:46k
源码类别:

系统/网络安全

开发平台:

Visual C++

  1. @echo off
  2. @Title=㊣版技术联合·综合群出品
  3. @color 27
  4. set NT_SERVER_CHK=TRUE
  5. set find=%SystemRoot%System32find.exe
  6. set regedit=%SystemRoot%regedit.exe
  7. echo  Checking system version ...
  8. if /I "%NT_SERVER_CHK%"=="FALSE" goto :SKIP_NT_SERVER_CHK
  9. REM Checking for running server version
  10. "%regedit%" /e "%TEMP%~svr.txt" "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlProductOptions"
  11.   type "%TEMP%~svr.txt"|"%find%" /i "Server" >NUL
  12. if not errorlevel 1 set SERVER=TRUE
  13.   type "%TEMP%~svr.txt"|"%find%" /i "LanMan" >NUL
  14. if not errorlevel 1 set SERVER=TRUE
  15. if exist "%TEMP%~svr.txt" del /F /Q "%TEMP%~svr.txt"
  16. if /I "%SERVER%"=="TRUE" goto :NTSERVER
  17. :SKIP_NT_SERVER_CHK
  18. ver | "%find%"  /i "Windows 2000" > nul
  19. if not errorlevel 1 goto :OS2K
  20. ver | "%find%"  /i "Windows XP" > nul
  21. if not errorlevel 1 goto :OSXP
  22. ver | "%find%"  /i "Microsoft Windows [Version 5.2.3790]" > nul
  23. if not errorlevel 1 goto :OSXP64
  24. echo  !!Failed!!
  25. echo  __________
  26. echo.
  27. echo  Dieses Script ist nur unter Windows 2000 oder XP lauffaehig!
  28. echo.
  29. echo  This script works only on Windows 2000/XP machines!
  30. echo.
  31. goto :SELECT_MENU
  32. :NOFIND
  33. echo.
  34. echo  !!Failed!!
  35. echo  __________
  36. echo.
  37. echo  Leider konnte folgende Datei nicht gefunden werden:
  38. echo. 
  39. echo  Sorry, but following file is missing:
  40. echo.
  41. echo.
  42. echo  # %SystemRoot%System32FIND.EXE
  43. echo.
  44. echo. 
  45. goto :SELECT_MENU
  46. :NOREGEDIT
  47. echo.
  48. echo  !!Failed!!
  49. echo  __________
  50. echo.
  51. echo  Leider konnte folgende Datei nicht gefunden werden:
  52. echo. 
  53. echo  Sorry, but following file is missing:
  54. echo.
  55. echo.
  56. echo  # %SystemRoot%REGEDIT.EXE
  57. echo.
  58. echo. 
  59. goto :SELECT_MENU
  60. :NTSERVER
  61. echo.
  62. echo  !!Failed!!
  63. echo  __________
  64. echo.
  65. echo  Dieses Script unterstuetzt keine NT Server Versionen!
  66. echo.
  67. echo  This script doesn't support NT server versions!
  68. echo.
  69. goto :SELECT_MENU
  70. :OS2K
  71. rem Specific OS Detection I
  72. set SYSTEM=2k
  73. rem Testing for XP ServicePacks
  74. "%regedit%" /e "%TEMP%~svclist.txt" "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion"
  75. type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 4" >NUL
  76. if errorlevel==1 (
  77.    type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 3" >NUL
  78.    if errorlevel==1 (
  79. type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 2" >NUL
  80.    if errorlevel==1 (
  81. type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 1" >NUL
  82. if errorlevel==1 (
  83. echo  !Windows 2000 [no or unknown Service Pack] detected!
  84. goto NO_2KSP
  85. )
  86. echo  !Windows 2000 [Service Pack 1] detected!
  87.    goto :NO_2KSP
  88. )
  89. echo  !Windows 2000 [Service Pack 2] detected!
  90.    goto :NO_2KSP
  91. )
  92. echo  !Windows 2000 [Service Pack 3] detected!
  93. goto :NO_2KSP
  94. )
  95. echo  !Windows 2000 [Service Pack 4] detected!
  96. goto :NO_2KSP
  97. :NO_2kSP
  98. if exist "%TEMP%~svclist.txt" del /F /Q "%TEMP%~svclist.txt"
  99. goto :SELECT_MENU
  100. :OSXP
  101. rem Specific OS detection II
  102. set SYSTEM=xp
  103. rem Testing for XP ServicePack 2
  104. "%regedit%" /e "%TEMP%~svclist.txt" "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion"
  105. type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 2" >NUL
  106. if errorlevel==1 (
  107.    type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 1" >NUL
  108.    if errorlevel==1 (
  109. SET XPSP2=FALSE
  110. echo  !Windows XP [no or unknown Service Pack] detected!
  111. goto NO_XPSP
  112. )
  113. SET XPSP2=FALSE
  114.    echo  !Windows XP [Service Pack 1] detected!
  115.    goto :NO_XPSP
  116. )
  117. SET XPSP2=TRUE
  118. echo  !Windows XP [ServicePack 2] detected!
  119. goto :NO_XPSP
  120. :OSXP64
  121. rem Specific OS detection II
  122. set SYSTEM=xp
  123. rem Testing for XP ServicePack 2
  124. "%regedit%" /e "%TEMP%~svclist.txt" "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion"
  125. type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 2" >NUL
  126. if errorlevel==1 (
  127.    type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 1" >NUL
  128.    if errorlevel==1 (
  129. SET XPSP2=FALSE
  130. echo  !EXPERIMENTAL! Windows XP64 [no or unknown Service Pack] detected!
  131. goto NO_XPSP
  132. )
  133. SET XPSP2=FALSE
  134.    echo  !EXPERIMENTAL! Windows XP64 [Service Pack 1] detected!
  135.    goto :NO_XPSP
  136. )
  137. SET XPSP2=TRUE
  138. echo  !EXPERIMENTAL! Windows XP64 [ServicePack 2] detected!
  139. goto :NO_XPSP
  140. :NO_XPSP
  141. if exist "%TEMP%~svclist.txt" del /F /Q "%TEMP%~svclist.txt"
  142. goto :SELECT_MENU
  143. SET MENU_ITEM_1_USED=0
  144. SET MENU_ITEM_2_USED=0
  145. SET MENU_ITEM_3_USED=0
  146. SET MENU_ITEM_4_USED=0
  147. :SELECT_MENU
  148. CLS
  149. echo 系统优化设置工具 4.56 制作人:Sunny 日期:01.02.21
  150. echo 本工具只适用于XP和2003操作系统请确认后再进行选择
  151. echo 如果您的系统不是XP和2003操作系统请退出!!!
  152. IF /I "%MENU_ITEM_1_USED%"=="0" ECHO [1] 新装系统优化处理
  153. IF /I "%MENU_ITEM_2_USED%"=="0" ECHO [2] 清除注册表中无用的信息
  154. IF /I "%MENU_ITEM_3_USED%"=="0" ECHO [3] 清除多余的输入法
  155. IF /I "%MENU_ITEM_4_USED%"=="0" ECHO [4] 禁止使用 USB 等存储设备
  156. ECHO [x] 退出
  157. SET /P MENU_CHOICE=请选择你所需要的操作按回车执行[ ]:
  158. IF /I "%MENU_CHOICE%"=="" GOTO SELECT_MENU
  159. IF /I "%MENU_CHOICE%"=="1" ( @IF "%MENU_ITEM_1_USED%"=="0" (GOTO OS_OPTIMIZE) ELSE (GOTO SELECT_MENU) )
  160. IF /I "%MENU_CHOICE%"=="2" ( @IF "%MENU_ITEM_2_USED%"=="0" (GOTO CLEAN_REG) ELSE (GOTO SELECT_MENU) )
  161. IF /I "%MENU_CHOICE%"=="3" ( @IF "%MENU_ITEM_3_USED%"=="0" (GOTO CLEAN_KL) ELSE (GOTO SELECT_MENU) )
  162. IF /I "%MENU_CHOICE%"=="4" ( @IF "%MENU_ITEM_4_USED%"=="0" (GOTO DISABLE_USBSTOR) ELSE (GOTO SELECT_MENU) )
  163. IF /I "%MENU_CHOICE%"=="x" GOTO END
  164. GOTO SELECT_MENU
  165. :OS_OPTIMIZE
  166. SET MENU_CHOICE=""
  167. :INPUT_PHYSICS_MEMORY
  168. CLS
  169. ECHO [1] 设置 16M  磁盘缓存(适用于机器有 256M 物理内存)
  170. ECHO [2] 设置 32M  磁盘缓存(适用于机器有 512M 物理内存)
  171. ECHO [3] 设置 64M  磁盘缓存(适用于机器有 1G   物理内存)
  172. ECHO [4] 设置 128M 磁盘缓存(适用于机器有 2G   物理内存)
  173. ECHO [n] 我的机器内存太少了,不设置(建议少于 256M 物理内存的用户选择)
  174. SET /P MENU_CHOICE=请选择你所需要的操作按回车确认[ ]:
  175. IF /I "%MENU_CHOICE%"=="" GOTO INPUT_PHYSICS_MEMORY
  176. IF /I "%MENU_CHOICE%"=="1" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00004000 ) && GOTO START_OPTIMIZE
  177. IF /I "%MENU_CHOICE%"=="2" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00008000 ) && GOTO START_OPTIMIZE
  178. IF /I "%MENU_CHOICE%"=="3" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00010000 ) && GOTO START_OPTIMIZE
  179. IF /I "%MENU_CHOICE%"=="4" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00020000 ) && GOTO START_OPTIMIZE
  180. IF /I "%MENU_CHOICE%"=="n" GOTO START_OPTIMIZE
  181. GOTO INPUT_PHYSICS_MEMORY
  182. :START_OPTIMIZE
  183. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化 IE 相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  184. ECHO ◢显示 XBM 图片,解决部分网上的验证图片,适用于 Windwows XP SP2
  185. REG ADD "HKLMSoftwareMicrosoftInternet ExplorerSecurity" /f /v "BlockXBM" /t REG_DWORD /d 0x00000000
  186. ECHO ◢以独立线程加载 IE 浏览器
  187. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerBrowseNewProcess" /f /v "BrowseNewProcess" /t REG_SZ /d "Yes"
  188. ECHO ◢不让 IE 收藏夹里自动产生“链接”这个目录
  189. REG ADD "HKCUSoftwareMicrosoftInternet ExplorerToolbar" /f /v "LinksFolderName" /t REG_SZ /d ""
  190. REG ADD "HKCUSoftwareMicrosoftInternet ExplorerToolbar" /f /v "Locked" /t REG_DWORD /d 0x00000001
  191. ECHO ◢把Internet Explorer可同时下载的文件数目增大到10(默认是2)
  192. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /f /v "MaxConnectionsPer1_0Server" /t REG_DWORD /d 0x0000000a
  193. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /f /v "MaxConnectionsPerServer" /t REG_DWORD /d 0x0000000a
  194. ECHO ◢禁止修改 IE 主页
  195. REG ADD "HKCUSoftwarePoliciesMicrosoftInternet ExplorerControl Panel" /f /v "HomePage" /t REG_DWORD /d 0x00000001
  196. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化网络相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  197. ECHO ◢网速优化,要分不同上网类型的
  198. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "SackOpts" /t REG_DWORD /d 0x00000001
  199. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "TcpWindowSize" /t REG_DWORD /d 0x0003e640
  200. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "Tcp1323Opts" /t REG_DWORD /d 0x00000001
  201. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "DefaultTTL" /t REG_DWORD /d 0x00000040
  202. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "EnablePMTUBHDetect" /t REG_DWORD /d 0x00000000
  203. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "EnablePMTUDiscovery" /t REG_DWORD /d 0x00000001
  204. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "GlobalMaxTcpWindowSize" /t REG_DWORD /d 0x0003e640
  205. ECHO ◢启动XP的路由功能和IP的过滤功能
  206. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "IPEnableRouter" /t REG_DWORD /d 0x00000001
  207. REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "EnableSecurityFilters" /t REG_DWORD /d 0x00000001
  208. ECHO ◢Windows XP-2003 网上邻居加速浏览
  209. REG DELETE "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorerECHOoteComputerNameSpace{D6277990-4C6A-11CF-8D87-00AA0060F5BF}" /f
  210. REG DELETE "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorerECHOoteComputerNameSpace{2227A280-3AEA-1069-A2DE-08002B30309D}" /f
  211. ECHO ◢禁止默认硬盘共享
  212. IF %TARGET_OS%=="XP" REG ADD "HKLMSYSTEMCurrentControlSetServicesLanManServerParameters" /f /v "AutoShareWks" /t REG_DWORD /d 0x00000000
  213. IF %TARGET_OS%=="2003" REG ADD "HKLMSYSTEMCurrentControlSetServicesLanManServerParameters" /f /v "AutoShareServer" /t REG_DWORD /d 0x00000000
  214. ECHO ◢限制匿名用户的访问(IPC$)
  215. REG ADD "HKLMSystemCurrentControlSetControlLsa" /f /v "restrictanonymous" /t REG_DWORD /d 0x00000001
  216. ECHO ◢取消使用简单文件共享
  217. REG ADD "HKLMSYSTEMCurrentControlSetControlLsa" /f /v "forceguest" /t REG_DWORD /d 0x00000000
  218. ECHO ◢关闭 445 端口
  219. ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetServicesNetBTParameters" /f /v "SMBDeviceEnabled" /t REG_DWORD /d 0x00000000
  220. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化磁盘相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  221. ECHO ◢禁止系统更新磁盘格式 NTFS 的文件最后访问日期
  222. ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlFileSystem" /f /v "NtfsDisableLastAccessUpdate" /t REG_DWORD /d 0x00000001
  223. ECHO ◢禁止创建兼容 MS-DOS 8.3 的文件名
  224. ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlFileSystem" /f /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d 0x00000001
  225. ECHO ◢禁止提示磁盘空间低警告
  226. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoLowDiskSpaceChecks" /t REG_DWORD /d 0x00000001
  227. ECHO ◢重启后,进入系统时不自动连接网络磁盘
  228. REG ADD "HKLMSystemCurrentControlSetControlNetworkProvider" /f /v "RestoreConnection" /t REG_DWORD /d 0x00000000
  229. ECHO ◢关机时自动清除页面文件
  230. ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "ClearPageFileAtShutdown" /t REG_DWORD /d 0x00000001
  231. ECHO ▍让XP更好支持137GB以上大硬盘
  232. REG ADD "HKLMSYSTEMCurrentControlSetServicesatapiParameters" /f /v "EnableBigLba" /t REG_DWORD /d 0x00000001
  233. ECHO ◢禁止注册表被恶意代码修改
  234. ECHO ▍REG DELETE "HKCRCLSID{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}" /f
  235. ECHO ◢禁止向移动存储设备写入数据
  236. ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlStorageDevicePolicies" /f /v "WriteProtect" /t REG_DWORD /d 0x00000001
  237. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化系统相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  238. ECHO ◢允许对“回收站”进行重命名
  239. REG ADD "HKCRCLSID{645FF040-5081-101B-9F08-00AA002F954E}ShellFolder" /f /v "Attributes" /t REG_BINARY /d 50010020
  240. REG ADD "HKCRCLSID{645FF040-5081-101B-9F08-00AA002F954E}ShellFolder" /f /v "CallForAttributes" /t REG_DWORD /d 0x00000000
  241. ECHO ◢禁止自动运行
  242. REG ADD "HKCUMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoDriveTypeAutoRun" /t REG_DWORD /d 0x000000b1
  243. ECHO ◢禁止在桌面使用 Web 内容(动态桌面)
  244. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoActiveDesktop" /t REG_BINARY /d 01000000
  245. ECHO ◢使用系统内置搜索功能时,搜索所有文件
  246. REG ADD "HKLMSYSTEMCurrentControlSetControlContentIndex" /f /v "FilterFilesWithUnknownExtensions" /t REG_DWORD /d 0x00000001
  247. ECHO ◢自动关闭停止响应的程序
  248. REG ADD "HKCUControl PanelDesktop" /f /v "AutoEndTasks" /t REG_SZ /d "1"
  249. ECHO ◢关闭调试工具的自动调试功能
  250. REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionAeDebug" /f /v "Auto" /t REG_SZ /d "0"
  251. ECHO ◢如果程序停止响应后持续多久就杀掉该程序(毫秒)
  252. REG ADD "HKLMSYSTEMCurrentControlSetControl" /f /v "WaitToKillServiceTimeout" /t REG_SZ /d "2000"
  253. ECHO ◢自动回收系统不使用的 DLL 文件所占用的内存空间
  254. REG ADD "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorer" /f /v "AlwaysUnloadDLL" /t REG_DWORD /d 0x00000001
  255. ECHO ◢分配更多的处理器时间运行程序
  256. IF %TARGET_OS%=="XP" REG ADD "HKLMSYSTEMCurrentControlSetControlPriorityControl" /f /v "Win32PrioritySeparation" /t REG_DWORD /d 0x00000026
  257. ECHO ◢分配更多的处理器时间运行后台服务
  258. IF %TARGET_OS%=="2003" REG ADD "HKLMSYSTEMCurrentControlSetControlPriorityControl" /f /v "Win32PrioritySeparation" /t REG_DWORD /d 0x00000018
  259. ECHO ◢内存使用性能以“系统缓存”优先
  260. IF %TARGET_OS%=="2003" REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "LargeSystemCache" /t REG_DWORD /d 0x00000001
  261. ECHO ◢以不同的进程运行资源管理器
  262. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "SeparateProcess" /t REG_DWORD /d 0x00000001
  263. ECHO ◢禁止自动与 Internet 时间服务器同步
  264. REG ADD "HKLMSYSTEMCurrentControlSetServicesW32Time" /f /v "Start" /t REG_DWORD /d 0x00000004
  265. REG ADD "HKLMSYSTEMCurrentControlSetServicesW32TimeParameters" /f /v "Type" /t REG_SZ /d "NoSync"
  266. ECHO ◢完全禁用 Dr.WatSon 调试
  267. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "AppendToLogFile" /t REG_DWORD /d 0x00000000
  268. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "CrashDumpType" /t REG_DWORD /d 0x00000000
  269. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "CreateCrashDump" /t REG_DWORD /d 0x00000000
  270. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "DumpAllThreads" /t REG_DWORD /d 0x00000000
  271. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "DumpSymbols" /t REG_DWORD /d 0x00000000
  272. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "Instructions" /t REG_DWORD /d 0x00000000
  273. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "MaximumCrashes" /t REG_DWORD /d 0x00000000
  274. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "NumberOfCrashes" /t REG_DWORD /d 0x00000000
  275. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "SoundNotification" /t REG_DWORD /d 0x00000000
  276. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "VisualNotification" /t REG_DWORD /d 0x00000000
  277. REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "WaveFile" /t REG_SZ /d ""
  278. ECHO ◢运行命令行自动完成
  279. REG ADD "HKCUSoftwareMicrosoftCommand Processor" /f /v "PathCompletionChar" /t REG_DWORD /d 0x00000009
  280. ECHO ◢为 16 位程序专门开辟专用的内存空间,以提高运行的稳定性
  281. REG ADD "HKLMSYSTEMCurrentControlSetControlWOW" /f /v "DefaultSeparateVDM" /t REG_SZ /d "Yes"
  282. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化多媒体相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  283. ECHO ◢启用 Media Player 的 DVD 播放功能
  284. REG ADD "HKCUSoftwareMicrosoftMediaPlayerPlayerSettings" /f /v "EnableDVDUI" /t REG_SZ /d "yes"
  285. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化资源管理器相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅
  286. ECHO ◢去掉资源管理器中的共享文档
  287. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSharedDocuments" /t REG_DWORD /d 0x00000001
  288. REG ADD "HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSharedDocuments" /t REG_DWORD /d 0x00000001
  289. REG DELETE "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpaceDelegateFolders{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /f
  290. ECHO ◢创建快捷方式时不添加前缀“快捷方式”四个字
  291. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorer" /f /v "link" /t REG_BINARY /d 00000000
  292. ECHO ◢在右键菜单中显示“命令提示符”
  293. REG ADD "HKCRDirectoryshell<SPAN class=highlight>cmd</SPAN>" /f /v "" /t REG_SZ /d "命令提示符(&amp;W)"
  294. REG ADD "HKCRDirectoryshell<SPAN class=highlight>cmd</SPAN>command" /f /v "" /t REG_SZ /d "<SPAN class=highlight>cmd</SPAN>.exe /k "cd %L""
  295. REG ADD "HKCRDriveshell<SPAN class=highlight>cmd</SPAN>" /f /v "" /t REG_SZ /d "命令提示符(&amp;W)"
  296. REG ADD "HKCRDriveshell<SPAN class=highlight>cmd</SPAN>command" /f /v "" /t REG_SZ /d "<SPAN class=highlight>cmd</SPAN>.exe /k "cd %L""
  297. ECHO ◢双击文件夹时以资源管理器方式打开
  298. ECHO ▍REG ADD "HKCRFoldershell" /f /v "" /t REG_SZ /d "explore"
  299. ECHO ◢不缓存缩略图
  300. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "DisableThumbnailCache" /t REG_DWORD /d 0x00000001
  301. ECHO ◢显示系统文件夹的内容
  302. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "WebViewBarricade" /t REG_DWORD /d 0x00000001
  303. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "Hidden" /t REG_DWORD /d 0x00000001
  304. ECHO ◢不要记住每个文件夹的视图设置
  305. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ClassicViewState" /t REG_DWORD /d 0x00000001
  306. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "SuperHidden" /t REG_DWORD /d 0x00000000
  307. ECHO ◢禁用在任务状态栏中出现“气球警告提示”
  308. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "EnableBalloonTips" /t REG_DWORD /d 0x00000000
  309. ECHO ◢显示已知文件类型的扩展名
  310. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "HideFileExt" /t REG_DWORD /d 0x00000000
  311. ECHO ◢显示受保护的操作系统文件夹
  312. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ShowSuperHidden" /t REG_DWORD /d 0x00000001
  313. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "NoNetCrawling" /t REG_DWORD /d 0x00000001
  314. ECHO ◢鼠标指向文件夹和桌面项时不要显示提示信息
  315. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ShowInfoTip" /t REG_DWORD /d 0x00000000
  316. ECHO ◢禁止突出显示新安装的程序
  317. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "Start_NotifyNewApps" /t REG_DWORD /d 0x00000000
  318. ECHO ◢在资源管理器中显示状态栏
  319. REG ADD "HKCUSoftwareMicrosoftInternet ExplorerMain" /f /v "StatusBarOther" /t REG_DWORD /d 0x00000001
  320. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ShowStatusBar" /t REG_DWORD /d 0x00000001
  321. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化系统菜单相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅
  322. ECHO ◢在“我的电脑”右键菜单中显示“设备管理器”
  323. ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellDevMgr" /f /v "" /t REG_SZ /d "设备管理器"
  324. ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellDevMgrcommand" /f /v "" /t REG_SZ /d "mmc.exe devmgmt.msc"
  325. ECHO ◢在“我的电脑”右键菜单中显示“服务管理器”
  326. ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellSerMgr" /f /v "" /t REG_SZ /d "服务管理器"
  327. ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellSerMgrcommand" /f /v "" /t REG_SZ /d "mmc.exe services.msc"
  328. ECHO ◢在“我的电脑”右键菜单中显示“事件查看器”
  329. ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellEveMgr" /f /v "" /t REG_SZ /d "事件查看器"
  330. ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellEveMgrcommand" /f /v "" /t REG_SZ /d "mmc.exe eventvwr.msc"
  331. ECHO ◢在“开始”菜单中不显示姓名
  332. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoUserNameInStartMenu" /t REG_BINARY /d 01000000
  333. ECHO ◢禁止在经典“开始”菜单中显示“我的文档”
  334. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSMMyDocs" /t REG_BINARY /d 01000000
  335. ECHO ◢禁止在“开始”菜单中显示“帮助”
  336. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSMHelp" /t REG_BINARY /d 01000000
  337. ECHO ◢禁止在“开始”菜单中显示“最近的文档”
  338. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoRecentDocsMenu" /t REG_BINARY /d 01000000
  339. ECHO ◢在“所有程序”和开始菜单上显示“管理工具”
  340. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_AdminToolsRoot" /t REG_DWORD /d 0x00000002
  341. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "StartMenuAdminTools" /t REG_DWORD /d 0x00000001
  342. ECHO ◢禁止在开始菜单中显示“帮助”
  343. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowHelp" /t REG_DWORD /d 0x00000000
  344. ECHO ◢允许在开始中显示“打印机”
  345. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowPrinters" /t REG_DWORD /d 0x00000001
  346. ECHO ◢允许在开始菜单中显示“控制面板”
  347. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowControlPanel" /t REG_DWORD /d 0x00000001
  348. ECHO ◢允许在开始菜单中使用拖放
  349. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_EnableDragDrop" /t REG_DWORD /d 0x00000001
  350. ECHO ◢禁止在开始菜单中显示“搜索”
  351. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowSearch" /t REG_DWORD /d 0x00000000
  352. ECHO ◢禁止在开始菜单中显示“我的图片”
  353. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyPics" /t REG_DWORD /d 0x00000000
  354. ECHO ◢允许在开始菜单中显示“我的电脑”
  355. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyComputer" /t REG_DWORD /d 0x00000001
  356. ECHO ◢禁止在开始菜单中显示“我的文档”
  357. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyDocs" /t REG_DWORD /d 0x00000000
  358. ECHO ◢禁止在开始菜单中显示“我的音乐”
  359. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyMusic" /t REG_DWORD /d 0x00000000
  360. ECHO ◢允许在开始菜单中显示“运行”
  361. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowRun" /t REG_DWORD /d 0x00000001
  362. ECHO ◢禁止在开始菜单中显示“最近访问的文档”
  363. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowRecentDocs" /t REG_DWORD /d 0x00000000
  364. ECHO ◢
  365. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_AutoCascade" /t REG_DWORD /d 0x00000001
  366. ECHO ◢设置任务栏程序分组数
  367. REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "TaskbarGroupSize" /t REG_DWORD /d 0x00000014
  368. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化系统登陆相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅
  369. ECHO ◢经典登陆界面
  370. REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "LogonType" /t REG_DWORD /d 0x00000000
  371. ECHO ◢优先登陆域
  372. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultDomainName" /t REG_SZ /d ""
  373. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultUserName" /t REG_SZ /d ""
  374. ECHO ◢备用登陆域,如果登陆优先域失败时,则自动转为登陆后备域
  375. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "AltDefaultDomainName" /t REG_SZ /d ""
  376. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "AltDefaultUserName" /t REG_SZ /d ""
  377. ECHO ◢设置缓存上次登陆的用户名次数
  378. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "cachedlogonscount" /t REG_SZ /d "0"
  379. ECHO ◢显示登陆选项
  380. REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "ShowLogonOptions" /t REG_DWORD /d 0x00000001
  381. ECHO ◢在登陆框显示关机选项
  382. REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "ShutdownWithoutLogon" /t REG_SZ /d "1"
  383. ECHO ◢自动登陆
  384. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultUserName" /t REG_SZ /d ""
  385. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultPassword" /t REG_SZ /d ""
  386. ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "AutoAdminLogon" /t REG_SZ /d "1"
  387. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 屏蔽 ActiveX 黑名单 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  388. ECHO ◢B83FC273-3522-4CC6-92EC-75CC86678DA4 /3721网络实名
  389. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{B83FC273-3522-4CC6-92EC-75CC86678DA4}" /f /v "Compatibility Flags" /d 0x00000400
  390. ECHO ◢1B0E7716-898E-48CC-9690-4E338E8DE1D3 /3721上网助手
  391. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{1B0E7716-898E-48CC-9690-4E338E8DE1D3}" /f /v "Compatibility Flags" /d 0x00000400
  392. ECHO ◢7CA83CF1-3AEA-42D0-A4E3-1594FC6E48B2 /3721上网助手
  393. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{7CA83CF1-3AEA-42D0-A4E3-1594FC6E48B2}" /f /v "Compatibility Flags" /d 0x00000400
  394. ECHO ◢4522DBFE-14CD-4A59-AC2A-54BADFDD6D53 /3721网络实名(新版)
  395. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4522DBFE-14CD-4A59-AC2A-54BADFDD6D53}" /f /v "Compatibility Flags" /d 0x00000400
  396. ECHO ◢4EDBBAEA-F509-49F6-94D1-ECEC4BE5B686 /3721中文邮
  397. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4EDBBAEA-F509-49F6-94D1-ECEC4BE5B686}" /f /v "Compatibility Flags" /d 0x00000400
  398. ECHO ◢8D898B17-976D-44C1-84E6-AF38842AC9EC /3721升级包
  399. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{8D898B17-976D-44C1-84E6-AF38842AC9EC}" /f /v "Compatibility Flags" /d 0x00000400
  400. ECHO ◢4B106874-DD36-11D0-8B44-00A024DD9EFF /Adodb.Stream 2.5
  401. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4B106874-DD36-11D0-8B44-00A024DD9EFF}" /f /v "Compatibility Flags" /d 0x00000400
  402. ECHO ◢00000566-0000-0010-8000-00AA006D2EA4 /Adodb.Stream 2.7
  403. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{00000566-0000-0010-8000-00AA006D2EA4}" /f /v "Compatibility Flags" /d 0x00000400
  404. ECHO ◢69A72A8A-84ED-4a75-8CE7-263DBEF3E5D3 /Alexa Toolbar
  405. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{69A72A8A-84ED-4a75-8CE7-263DBEF3E5D3}" /f /v "Compatibility Flags" /d 0x00000400
  406. ECHO ◢8522F9B3-38C5-4aa4-AE40-7401F1BBC851 /Ahmm Dialers
  407. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{8522F9B3-38C5-4aa4-AE40-7401F1BBC851}" /f /v "Compatibility Flags" /d 0x00000400
  408. ECHO ◢8135EF31-FE8C-4C6E-A18A-F59944C3A488 /Dudu加速器
  409. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{8135EF31-FE8C-4C6E-A18A-F59944C3A488}" /f /v "Compatibility Flags" /d 0x00000400
  410. ECHO ◢9BBC1154-218D-453C-97F6-A06582224D81 /百度搜霸
  411. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{9BBC1154-218D-453C-97F6-A06582224D81}" /f /v "Compatibility Flags" /d 0x00000400
  412. ECHO ◢BC207F7D-3E63-4ACA-99B5-FB5F8428200C /百度搜索伴侣
  413. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{BC207F7D-3E63-4ACA-99B5-FB5F8428200C}" /f /v "Compatibility Flags" /d 0x00000400
  414. ECHO ◢9A578C98-3C2F-4630-890B-FC04196EF420 /CNNIC通用域名
  415. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{9A578C98-3C2F-4630-890B-FC04196EF420}" /f /v "Compatibility Flags" /d 0x00000400
  416. ECHO ◢CF051549-EDE1-40F5-B440-BCD646CF2C25 /网易泡泡
  417. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{CF051549-EDE1-40F5-B440-BCD646CF2C25}" /f /v "Compatibility Flags" /d 0x00000400
  418. ECHO ◢15DDE989-CD45-4561-BF99-D22C0D5C2B74 /新浪点点通
  419. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{15DDE989-CD45-4561-BF99-D22C0D5C2B74}" /f /v "Compatibility Flags" /d 0x00000400
  420. ECHO ◢98FA5667-513F-4F15-8A15-C171477B8847 /新浪IE通
  421. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{98FA5667-513F-4F15-8A15-C171477B8847}" /f /v "Compatibility Flags" /d 0x00000400
  422. ECHO ◢CD1A82F2-3770-4509-8355-0D2F45158F21 /新浪iGame
  423. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{CD1A82F2-3770-4509-8355-0D2F45158F21}" /f /v "Compatibility Flags" /d 0x00000400
  424. ECHO ◢D7F0CC2E-FB09-4B38-B9A7-6807CBCD4859 /新浪iGame
  425. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{D7F0CC2E-FB09-4B38-B9A7-6807CBCD4859}" /f /v "Compatibility Flags" /d 0x00000400
  426. ECHO ◢2D0C7226-747E-11D6-83F0-00E04C4A2F90 /搜狐视频播放器
  427. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{2D0C7226-747E-11D6-83F0-00E04C4A2F90}" /f /v "Compatibility Flags" /d 0x00000400
  428. ECHO ◢CE7C3CF0-4B15-11D1-ABED-709549C10000 /搜狐搜索工具
  429. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{CE7C3CF0-4B15-11D1-ABED-709549C10000}" /f /v "Compatibility Flags" /d 0x00000400
  430. ECHO ◢484FF54A-CC44-467E-9C31-5B89FC753007 /搜狐工具栏
  431. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{484FF54A-CC44-467E-9C31-5B89FC753007}" /f /v "Compatibility Flags" /d 0x00000400
  432. ECHO ◢03C543A1-C090-418F-A1D0-FB96380D601D /Holisty
  433. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{03C543A1-C090-418F-A1D0-FB96380D601D}" /f /v "Compatibility Flags" /d 0x00000400
  434. ECHO ◢018B7EC3-EECA-11D3-8E71-0000E82C6C0D /XXXToolbar
  435. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{018B7EC3-EECA-11D3-8E71-0000E82C6C0D}" /f /v "Compatibility Flags" /d 0x00000400
  436. ECHO ◢EF86873F-04C2-4a95-A373-5703C08EFC7B /XXXToolbar
  437. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{EF86873F-04C2-4a95-A373-5703C08EFC7B}" /f /v "Compatibility Flags" /d 0x00000400
  438. ECHO ◢E8EDB60C-951E-4130-93DC-FAF1AD25F8E7 /Mtree Dialers
  439. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{E8EDB60C-951E-4130-93DC-FAF1AD25F8E7}" /f /v "Compatibility Flags" /d 0x00000400
  440. ECHO ◢FC87A650-207D-4392-A6A1-82ADBC56FA64 /Mtree Dialers
  441. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{FC87A650-207D-4392-A6A1-82ADBC56FA64}" /f /v "Compatibility Flags" /d 0x00000400
  442. ECHO ◢3717DF57-0396-463d-98B7-647C7DC6898A /SearchIt Toolbar
  443. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{3717DF57-0396-463d-98B7-647C7DC6898A}" /f /v "Compatibility Flags" /d 0x00000400
  444. ECHO ◢7EB2A76C-97AE-4cf3-9C6A-EA0F61F137E1 /Sexxx拨号程序
  445. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{7EB2A76C-97AE-4cf3-9C6A-EA0F61F137E1}" /f /v "Compatibility Flags" /d 0x00000400
  446. ECHO ◢FC327B3F-377B-4CB7-8B61-27CD69816BC3 /WeatherCAST
  447. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{FC327B3F-377B-4CB7-8B61-27CD69816BC3}" /f /v "Compatibility Flags" /d 0x00000400
  448. ECHO ◢D6862A22-1DD6-11D3-BB7C-444553540000 /PortalSearchingToolbar
  449. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{D6862A22-1DD6-11D3-BB7C-444553540000}" /f /v "Compatibility Flags" /d 0x00000400
  450. ECHO ◢32B88AFD-33DA-4E17-BE89-1029DE44DED6 /每步直达网址
  451. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{32B88AFD-33DA-4E17-BE89-1029DE44DED6}" /f /v "Compatibility Flags" /d 0x00000400
  452. ECHO ◢051299DE-2CFD-4EA8-A432-F0429B4E7A5D /信天搜霸
  453. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{051299DE-2CFD-4EA8-A432-F0429B4E7A5D}" /f /v "Compatibility Flags" /d 0x00000400
  454. ECHO ◢36CB6B28-FC08-4373-8F54-1A02E3C15B7D  /藏鲸阁
  455. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{36CB6B28-FC08-4373-8F54-1A02E3C15B7D}" /f /v "Compatibility Flags" /d 0x00000400
  456. ECHO ◢09F59435-7814-48ED-A73A-96FF861A91EB  /阿里巴巴商务
  457. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{09F59435-7814-48ED-A73A-96FF861A91EB}" /f /v "Compatibility Flags" /d 0x00000400
  458. ECHO ◢54F8C0E2-34F9-474F-B47F-2CFCFE2300A2 /IMU
  459. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{54F8C0E2-34F9-474F-B47F-2CFCFE2300A2}" /f /v "Compatibility Flags" /d 0x00000400
  460. ECHO ◢4EA20CD0-BF89-4666-9DB1-B5410D27DA54 /3721上网助手
  461. REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4EA20CD0-BF89-4666-9DB1-B5410D27DA54}" /f /v "Compatibility Flags" /d 0x00000400
  462. SET MENU_ITEM_1_USED=1
  463. GOTO SELECT_MENU
  464. :CLEAN_REG
  465. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅ 正在清除注册表中无用的信息 ▅▅▅▅▅▅▅▅▅▅▅▅▅
  466. ECHO "正在清理 WinRAR 最近打开文件的信息"
  467. REG DELETE "HKCUSoftwareWinRARArcHistory" /f
  468. REG ADD "HKCUSoftwareWinRARArcHistory" /f
  469. ECHO "正在清理 EditPlus 2 最近打开文件的信息"
  470. REG DELETE "HKCUSoftwareES-ComputingEditPlus 2Recent Dir List" /f
  471. REG ADD "HKCUSoftwareES-ComputingEditPlus 2Recent Dir List" /f
  472. REG DELETE "HKCUSoftwareES-ComputingEditPlus 2Recent File List" /f
  473. REG ADD "HKCUSoftwareES-ComputingEditPlus 2Recent File List" /f
  474. ECHO "正在清理 Microsoft Media Player Serials 最近打开文件及 URL 的信息"
  475. REG DELETE "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentFileList" /f
  476. REG ADD "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentFileList" /f
  477. REG DELETE "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentURLList" /f
  478. REG ADD "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentURLList" /f
  479. ECHO "正在清理 Alcohol 120% 最近打开文件的信息"
  480. REG DELETE "HKCUSoftwareAlcohol SoftAlcohol 120%%MountedMRU" /f
  481. REG ADD "HKCUSoftwareAlcohol SoftAlcohol 120%%MountedMRU" /f
  482. ERASE /F /S /Q %SystemRoot%Temp
  483. SET MENU_ITEM_2_USED=1
  484. GOTO SELECT_MENU
  485. :CLEAN_KL
  486. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 正在清除输入法 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  487. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000402" /f
  488. ECHO 保加利亚语
  489. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000405" /f
  490. ECHO 捷克语
  491. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000406" /f
  492. ECHO 丹麦语
  493. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000407" /f
  494. ECHO 德语
  495. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000408" /f
  496. ECHO 希腊语
  497. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000040a" /f
  498. ECHO 西班牙语
  499. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000040b" /f
  500. ECHO 芬兰语
  501. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000040c" /f
  502. ECHO 法语
  503. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000040e" /f
  504. ECHO 匈牙利语
  505. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000040f" /f
  506. ECHO 冰岛语
  507. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000410" /f
  508. ECHO 意大利语
  509. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000411" /f
  510. ECHO 日语
  511. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000412" /f
  512. ECHO 朝鲜语
  513. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000413" /f
  514. ECHO 荷兰语
  515. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000414" /f
  516. ECHO 挪威语
  517. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000415" /f
  518. ECHO 波兰语 (程序员)
  519. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000416" /f
  520. ECHO 葡萄牙语 (巴西 ABNT)
  521. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000418" /f
  522. ECHO 罗马尼亚语
  523. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000419" /f
  524. ECHO 俄语
  525. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000041A" /f
  526. ECHO 克罗地亚语
  527. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000041b" /f
  528. ECHO 斯洛伐克语
  529. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000041c" /f
  530. ECHO 阿尔巴尼亚语
  531. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000041d" /f
  532. ECHO 瑞典语
  533. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000041f" /f
  534. ECHO 土耳其语 Q
  535. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000422" /f
  536. ECHO 乌克兰语
  537. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000423" /f
  538. ECHO 比利时语
  539. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000424" /f
  540. ECHO 斯洛文尼亚语
  541. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000425" /f
  542. ECHO 爱沙尼亚语
  543. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000426" /f
  544. ECHO 拉脱维亚语
  545. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000427" /f
  546. ECHO 立陶宛语 IBM
  547. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000042c" /f
  548. ECHO 阿塞里语 (拉丁文)
  549. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000042f" /f
  550. ECHO 马其顿语(FYROM)
  551. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000438" /f
  552. ECHO 法罗语
  553. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000043a" /f
  554. ECHO 马耳他语 47-键
  555. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000043b" /f
  556. ECHO 挪威萨摩斯语
  557. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000043f" /f
  558. ECHO 哈萨克语
  559. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000440" /f
  560. ECHO 吉尔吉斯西里尔文
  561. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000444" /f
  562. ECHO 塔但语
  563. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000450" /f
  564. ECHO 外蒙古西里尔文
  565. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000452" /f
  566. ECHO 英国扩展
  567. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000481" /f
  568. ECHO 毛利语
  569. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000807" /f
  570. ECHO 瑞士德语
  571. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000809" /f
  572. ECHO 英国
  573. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000080a" /f
  574. ECHO 拉丁美洲语
  575. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000080c" /f
  576. ECHO 比利时法语
  577. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000813" /f
  578. ECHO 比利时语 (Period)
  579. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000816" /f
  580. ECHO 葡萄牙语
  581. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000081a" /f
  582. ECHO 塞尔维亚语(拉丁文)
  583. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000082c" /f
  584. ECHO 阿塞里语 (西里尔文)
  585. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000083b" /f
  586. ECHO 瑞典萨摩斯语
  587. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000843" /f
  588. ECHO 乌兹别克语 (西里尔文)
  589. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000c0c" /f
  590. ECHO 加拿大法语 (传统)
  591. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000c1a" /f
  592. ECHO 塞尔维亚语(西里尔文)
  593. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0001009" /f
  594. ECHO 加拿大法语
  595. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000100c" /f
  596. ECHO 瑞士法语
  597. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts000141a" /f
  598. ECHO 波斯尼亚语
  599. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0001809" /f
  600. ECHO 爱尔兰语
  601. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010402" /f
  602. ECHO 保加利亚语 (拉丁文)
  603. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010405" /f
  604. ECHO 捷克语 (QWERTY)
  605. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010407" /f
  606. ECHO 德语 (IBM)
  607. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010408" /f
  608. ECHO 希腊语 (220)
  609. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010409" /f
  610. ECHO 美国英语-Dvorak
  611. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001040a" /f
  612. ECHO 西班牙变体语
  613. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001040e" /f
  614. ECHO 匈牙利语 101-键
  615. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010410" /f
  616. ECHO 意大利语 (142)
  617. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010415" /f
  618. ECHO 波兰语 (214)
  619. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010416" /f
  620. ECHO 葡萄牙语 (巴西 ABNT2)
  621. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010419" /f
  622. ECHO 俄语(印刷文字)
  623. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001041b" /f
  624. ECHO 斯洛伐克语 (QWERTY)
  625. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001041f" /f
  626. ECHO 土耳其语 F
  627. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010426" /f
  628. ECHO 拉脱维亚语 (QWERTY)
  629. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0010427" /f
  630. ECHO 立陶宛语
  631. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001043a" /f
  632. ECHO 马耳他语 48-键
  633. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001043b" /f
  634. ECHO 挪威萨摩斯语
  635. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001080c" /f
  636. ECHO 比利时 (Comma)
  637. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts001083b" /f
  638. ECHO 芬兰萨摩斯语
  639. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0011009" /f
  640. ECHO 加拿大多语种标准
  641. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0011809" /f
  642. ECHO 盖尔语
  643. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0020405" /f
  644. ECHO 捷克语 (程序员)
  645. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0020408" /f
  646. ECHO 希腊语 (319)
  647. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0020409" /f
  648. ECHO 美国英语-国际
  649. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts002083b" /f
  650. ECHO 芬兰瑞典萨摩斯语
  651. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0030408" /f
  652. ECHO 希腊语 (220) 拉丁文
  653. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0030409" /f
  654. ECHO 美国英语-Dvorak (惯用左手)
  655. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0040408" /f
  656. ECHO 希腊语 (319) 拉丁文
  657. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0040409" /f
  658. ECHO 美国英语-Dvorak (惯用右手)
  659. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0050408" /f
  660. ECHO 希腊语 (拉丁文)
  661. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0060408" /f
  662. ECHO 多元化希腊语
  663. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010411" /f
  664. ECHO 日语输入系统 (MS-IME2002)
  665. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010412" /f
  666. ECHO 朝鲜语输入系统 (IME 2000)
  667. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000404" /f
  668. ECHO 中文 (繁体) - 美式键盘
  669. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010404" /f
  670. ECHO 中文 (繁体) - 注音
  671. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0020404" /f
  672. ECHO 中文 (繁体) - 仓颉
  673. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0030404" /f
  674. ECHO 中文 (繁体) - 速成
  675. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0040404" /f
  676. ECHO 中文 (繁体) - Big5 码
  677. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0050404" /f
  678. ECHO 中文 (繁体) - 行列
  679. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0060404" /f
  680. ECHO 中文 (繁体) - 大易
  681. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0070404" /f
  682. ECHO 中文 (繁体) - Unicode
  683. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0080404" /f
  684. ECHO 中文 (繁体) - 新注音
  685. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0090404" /f
  686. ECHO 中文 (繁体) - 新仓颉
  687. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE01F0404" /f
  688. ECHO 中文 (繁体) - 英数
  689. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010804" /f
  690. ECHO 中文 (简体) - 全拼
  691. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0020804" /f
  692. ECHO 中文 (简体) - 双拼
  693. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0050804" /f
  694. ECHO 中文 (简体) - 内码
  695. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0030804" /f
  696. ECHO 中文 (简体) - 郑码
  697. REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0040804" /f
  698. ECHO 中文 (简体) - 智能 ABC
  699. ECHO REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000804" /f
  700. ECHO 中文 (简体) - 美式键盘
  701. ECHO REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE00E0804" /f
  702. ECHO 中文 (简体) - 微软拼音
  703. ECHO REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts0000409" /f
  704. ECHO 美国英语
  705. SET MENU_ITEM_3_USED=1
  706. GOTO SELECT_MENU
  707. :DISABLE_USBSTOR
  708. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 正在处理禁用移动存储设备 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  709. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "Type" /t REG_DWORD /d 0x00000001
  710. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "Start" /t REG_DWORD /d 0x00000004
  711. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "ErrorControl" /t REG_DWORD /d 0x00000001
  712. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "ImagePath" /t REG_EXPAND_SZ /d "system32DRIVERSUSBSTOR.SYS"
  713. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "DisplayName" /t REG_SZ /d "USB Mass Storage Driver"
  714. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTORSecurity" /f /v "Security" /t REG_BINARY /d 01001480a0000000ac000000140000003000000002001c000100000002801400ff010f00010100000000000100000000020070000400000000001800  fd0102000101000000000005120000000000000000001c00ff010f000102000000000005200000002002000000000000000018008d01020001010000  000000050b0000002002000000001c00fd01020001020000000000052000000023020000000000000101000000000005120000
  715. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOREnum" /f /v "Count" /t REG_DWORD /d 0x00000000
  716. REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOREnum" /f /v "NextInstance" /t REG_DWORD /d 0x00000000
  717. SET MENU_ITEM_4_USED=1
  718. GOTO SELECT_MENU
  719. :END
  720. cls
  721. ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 退出系统优化设置工具 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
  722. ECHO ◢ 本工具由㊣版技术联合·综合群各位管理联合打造,未经许可不得非法使用
  723. ECHO ◢ ㊣版技术联合·综合群提醒您升级杀毒软件和防火墙,注意网络安全
  724. ECHO ◢ 希望大家能够有个良好的工作环境,请大家使用清除钓鱼台工具!
  725. ECHO ◢ 请按任意键退出本工具......
  726. PAUSE>nul
  727. exit