- @echo off
- @Title=㊣版技术联合·综合群出品
- @color 27
- set NT_SERVER_CHK=TRUE
- set find=%SystemRoot%System32find.exe
- set regedit=%SystemRoot%regedit.exe
- echo Checking system version ...
- if /I "%NT_SERVER_CHK%"=="FALSE" goto :SKIP_NT_SERVER_CHK
- REM Checking for running server version
- "%regedit%" /e "%TEMP%~svr.txt" "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlProductOptions"
- type "%TEMP%~svr.txt"|"%find%" /i "Server" >NUL
- if not errorlevel 1 set SERVER=TRUE
- type "%TEMP%~svr.txt"|"%find%" /i "LanMan" >NUL
- if not errorlevel 1 set SERVER=TRUE
- if exist "%TEMP%~svr.txt" del /F /Q "%TEMP%~svr.txt"
- if /I "%SERVER%"=="TRUE" goto :NTSERVER
- :SKIP_NT_SERVER_CHK
- ver | "%find%" /i "Windows 2000" > nul
- if not errorlevel 1 goto :OS2K
- ver | "%find%" /i "Windows XP" > nul
- if not errorlevel 1 goto :OSXP
- ver | "%find%" /i "Microsoft Windows [Version 5.2.3790]" > nul
- if not errorlevel 1 goto :OSXP64
- echo !!Failed!!
- echo __________
- echo.
- echo Dieses Script ist nur unter Windows 2000 oder XP lauffaehig!
- echo.
- echo This script works only on Windows 2000/XP machines!
- echo.
- goto :SELECT_MENU
- :NOFIND
- echo.
- echo !!Failed!!
- echo __________
- echo.
- echo Leider konnte folgende Datei nicht gefunden werden:
- echo.
- echo Sorry, but following file is missing:
- echo.
- echo.
- echo # %SystemRoot%System32FIND.EXE
- echo.
- echo.
- goto :SELECT_MENU
- :NOREGEDIT
- echo.
- echo !!Failed!!
- echo __________
- echo.
- echo Leider konnte folgende Datei nicht gefunden werden:
- echo.
- echo Sorry, but following file is missing:
- echo.
- echo.
- echo # %SystemRoot%REGEDIT.EXE
- echo.
- echo.
- goto :SELECT_MENU
- :NTSERVER
- echo.
- echo !!Failed!!
- echo __________
- echo.
- echo Dieses Script unterstuetzt keine NT Server Versionen!
- echo.
- echo This script doesn't support NT server versions!
- echo.
- goto :SELECT_MENU
- :OS2K
- rem Specific OS Detection I
- set SYSTEM=2k
- rem Testing for XP ServicePacks
- "%regedit%" /e "%TEMP%~svclist.txt" "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion"
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 4" >NUL
- if errorlevel==1 (
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 3" >NUL
- if errorlevel==1 (
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 2" >NUL
- if errorlevel==1 (
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 1" >NUL
- if errorlevel==1 (
- echo !Windows 2000 [no or unknown Service Pack] detected!
- goto NO_2KSP
- )
- echo !Windows 2000 [Service Pack 1] detected!
- goto :NO_2KSP
- )
- echo !Windows 2000 [Service Pack 2] detected!
- goto :NO_2KSP
- )
- echo !Windows 2000 [Service Pack 3] detected!
- goto :NO_2KSP
- )
- echo !Windows 2000 [Service Pack 4] detected!
- goto :NO_2KSP
- :NO_2kSP
- if exist "%TEMP%~svclist.txt" del /F /Q "%TEMP%~svclist.txt"
- goto :SELECT_MENU
- :OSXP
- rem Specific OS detection II
- set SYSTEM=xp
- rem Testing for XP ServicePack 2
- "%regedit%" /e "%TEMP%~svclist.txt" "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion"
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 2" >NUL
- if errorlevel==1 (
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 1" >NUL
- if errorlevel==1 (
- SET XPSP2=FALSE
- echo !Windows XP [no or unknown Service Pack] detected!
- goto NO_XPSP
- )
- SET XPSP2=FALSE
- echo !Windows XP [Service Pack 1] detected!
- goto :NO_XPSP
- )
- SET XPSP2=TRUE
- echo !Windows XP [ServicePack 2] detected!
- goto :NO_XPSP
- :OSXP64
- rem Specific OS detection II
- set SYSTEM=xp
- rem Testing for XP ServicePack 2
- "%regedit%" /e "%TEMP%~svclist.txt" "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion"
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 2" >NUL
- if errorlevel==1 (
- type "%TEMP%~svclist.txt"|"%find%" /i "Service Pack 1" >NUL
- if errorlevel==1 (
- SET XPSP2=FALSE
- echo !EXPERIMENTAL! Windows XP64 [no or unknown Service Pack] detected!
- goto NO_XPSP
- )
- SET XPSP2=FALSE
- echo !EXPERIMENTAL! Windows XP64 [Service Pack 1] detected!
- goto :NO_XPSP
- )
- SET XPSP2=TRUE
- echo !EXPERIMENTAL! Windows XP64 [ServicePack 2] detected!
- goto :NO_XPSP
- :NO_XPSP
- if exist "%TEMP%~svclist.txt" del /F /Q "%TEMP%~svclist.txt"
- goto :SELECT_MENU
- SET MENU_ITEM_1_USED=0
- SET MENU_ITEM_2_USED=0
- SET MENU_ITEM_3_USED=0
- SET MENU_ITEM_4_USED=0
- :SELECT_MENU
- CLS
- echo 系统优化设置工具 4.56 制作人:Sunny 日期:01.02.21
- echo 本工具只适用于XP和2003操作系统请确认后再进行选择
- echo 如果您的系统不是XP和2003操作系统请退出!!!
- IF /I "%MENU_ITEM_1_USED%"=="0" ECHO [1] 新装系统优化处理
- IF /I "%MENU_ITEM_2_USED%"=="0" ECHO [2] 清除注册表中无用的信息
- IF /I "%MENU_ITEM_3_USED%"=="0" ECHO [3] 清除多余的输入法
- IF /I "%MENU_ITEM_4_USED%"=="0" ECHO [4] 禁止使用 USB 等存储设备
- ECHO [x] 退出
- SET /P MENU_CHOICE=请选择你所需要的操作按回车执行[ ]:
- IF /I "%MENU_CHOICE%"=="" GOTO SELECT_MENU
- IF /I "%MENU_CHOICE%"=="1" ( @IF "%MENU_ITEM_1_USED%"=="0" (GOTO OS_OPTIMIZE) ELSE (GOTO SELECT_MENU) )
- IF /I "%MENU_CHOICE%"=="2" ( @IF "%MENU_ITEM_2_USED%"=="0" (GOTO CLEAN_REG) ELSE (GOTO SELECT_MENU) )
- IF /I "%MENU_CHOICE%"=="3" ( @IF "%MENU_ITEM_3_USED%"=="0" (GOTO CLEAN_KL) ELSE (GOTO SELECT_MENU) )
- IF /I "%MENU_CHOICE%"=="4" ( @IF "%MENU_ITEM_4_USED%"=="0" (GOTO DISABLE_USBSTOR) ELSE (GOTO SELECT_MENU) )
- IF /I "%MENU_CHOICE%"=="x" GOTO END
- GOTO SELECT_MENU
- :OS_OPTIMIZE
- SET MENU_CHOICE=""
- :INPUT_PHYSICS_MEMORY
- CLS
- ECHO [1] 设置 16M 磁盘缓存(适用于机器有 256M 物理内存)
- ECHO [2] 设置 32M 磁盘缓存(适用于机器有 512M 物理内存)
- ECHO [3] 设置 64M 磁盘缓存(适用于机器有 1G 物理内存)
- ECHO [4] 设置 128M 磁盘缓存(适用于机器有 2G 物理内存)
- ECHO [n] 我的机器内存太少了,不设置(建议少于 256M 物理内存的用户选择)
- SET /P MENU_CHOICE=请选择你所需要的操作按回车确认[ ]:
- IF /I "%MENU_CHOICE%"=="" GOTO INPUT_PHYSICS_MEMORY
- IF /I "%MENU_CHOICE%"=="1" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00004000 ) && GOTO START_OPTIMIZE
- IF /I "%MENU_CHOICE%"=="2" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00008000 ) && GOTO START_OPTIMIZE
- IF /I "%MENU_CHOICE%"=="3" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00010000 ) && GOTO START_OPTIMIZE
- IF /I "%MENU_CHOICE%"=="4" ( REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "" /t REG_DWORD /d 0x00020000 ) && GOTO START_OPTIMIZE
- IF /I "%MENU_CHOICE%"=="n" GOTO START_OPTIMIZE
- GOTO INPUT_PHYSICS_MEMORY
- :START_OPTIMIZE
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化 IE 相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢显示 XBM 图片,解决部分网上的验证图片,适用于 Windwows XP SP2
- REG ADD "HKLMSoftwareMicrosoftInternet ExplorerSecurity" /f /v "BlockXBM" /t REG_DWORD /d 0x00000000
- ECHO ◢以独立线程加载 IE 浏览器
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerBrowseNewProcess" /f /v "BrowseNewProcess" /t REG_SZ /d "Yes"
- ECHO ◢不让 IE 收藏夹里自动产生“链接”这个目录
- REG ADD "HKCUSoftwareMicrosoftInternet ExplorerToolbar" /f /v "LinksFolderName" /t REG_SZ /d ""
- REG ADD "HKCUSoftwareMicrosoftInternet ExplorerToolbar" /f /v "Locked" /t REG_DWORD /d 0x00000001
- ECHO ◢把Internet Explorer可同时下载的文件数目增大到10(默认是2)
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /f /v "MaxConnectionsPer1_0Server" /t REG_DWORD /d 0x0000000a
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /f /v "MaxConnectionsPerServer" /t REG_DWORD /d 0x0000000a
- ECHO ◢禁止修改 IE 主页
- REG ADD "HKCUSoftwarePoliciesMicrosoftInternet ExplorerControl Panel" /f /v "HomePage" /t REG_DWORD /d 0x00000001
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化网络相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢网速优化,要分不同上网类型的
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "SackOpts" /t REG_DWORD /d 0x00000001
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "TcpWindowSize" /t REG_DWORD /d 0x0003e640
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "Tcp1323Opts" /t REG_DWORD /d 0x00000001
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "DefaultTTL" /t REG_DWORD /d 0x00000040
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "EnablePMTUBHDetect" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "EnablePMTUDiscovery" /t REG_DWORD /d 0x00000001
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "GlobalMaxTcpWindowSize" /t REG_DWORD /d 0x0003e640
- ECHO ◢启动XP的路由功能和IP的过滤功能
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "IPEnableRouter" /t REG_DWORD /d 0x00000001
- REG ADD "HKLMSYSTEMCurrentControlSetServicesTcpipParameters" /f /v "EnableSecurityFilters" /t REG_DWORD /d 0x00000001
- ECHO ◢Windows XP-2003 网上邻居加速浏览
- REG DELETE "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorerECHOoteComputerNameSpace{D6277990-4C6A-11CF-8D87-00AA0060F5BF}" /f
- REG DELETE "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorerECHOoteComputerNameSpace{2227A280-3AEA-1069-A2DE-08002B30309D}" /f
- ECHO ◢禁止默认硬盘共享
- IF %TARGET_OS%=="XP" REG ADD "HKLMSYSTEMCurrentControlSetServicesLanManServerParameters" /f /v "AutoShareWks" /t REG_DWORD /d 0x00000000
- IF %TARGET_OS%=="2003" REG ADD "HKLMSYSTEMCurrentControlSetServicesLanManServerParameters" /f /v "AutoShareServer" /t REG_DWORD /d 0x00000000
- ECHO ◢限制匿名用户的访问(IPC$)
- REG ADD "HKLMSystemCurrentControlSetControlLsa" /f /v "restrictanonymous" /t REG_DWORD /d 0x00000001
- ECHO ◢取消使用简单文件共享
- REG ADD "HKLMSYSTEMCurrentControlSetControlLsa" /f /v "forceguest" /t REG_DWORD /d 0x00000000
- ECHO ◢关闭 445 端口
- ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetServicesNetBTParameters" /f /v "SMBDeviceEnabled" /t REG_DWORD /d 0x00000000
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化磁盘相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢禁止系统更新磁盘格式 NTFS 的文件最后访问日期
- ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlFileSystem" /f /v "NtfsDisableLastAccessUpdate" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止创建兼容 MS-DOS 8.3 的文件名
- ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlFileSystem" /f /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止提示磁盘空间低警告
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoLowDiskSpaceChecks" /t REG_DWORD /d 0x00000001
- ECHO ◢重启后,进入系统时不自动连接网络磁盘
- REG ADD "HKLMSystemCurrentControlSetControlNetworkProvider" /f /v "RestoreConnection" /t REG_DWORD /d 0x00000000
- ECHO ◢关机时自动清除页面文件
- ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "ClearPageFileAtShutdown" /t REG_DWORD /d 0x00000001
- ECHO ▍让XP更好支持137GB以上大硬盘
- REG ADD "HKLMSYSTEMCurrentControlSetServicesatapiParameters" /f /v "EnableBigLba" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止注册表被恶意代码修改
- ECHO ▍REG DELETE "HKCRCLSID{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}" /f
- ECHO ◢禁止向移动存储设备写入数据
- ECHO ▍REG ADD "HKLMSYSTEMCurrentControlSetControlStorageDevicePolicies" /f /v "WriteProtect" /t REG_DWORD /d 0x00000001
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化系统相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢允许对“回收站”进行重命名
- REG ADD "HKCRCLSID{645FF040-5081-101B-9F08-00AA002F954E}ShellFolder" /f /v "Attributes" /t REG_BINARY /d 50010020
- REG ADD "HKCRCLSID{645FF040-5081-101B-9F08-00AA002F954E}ShellFolder" /f /v "CallForAttributes" /t REG_DWORD /d 0x00000000
- ECHO ◢禁止自动运行
- REG ADD "HKCUMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoDriveTypeAutoRun" /t REG_DWORD /d 0x000000b1
- ECHO ◢禁止在桌面使用 Web 内容(动态桌面)
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoActiveDesktop" /t REG_BINARY /d 01000000
- ECHO ◢使用系统内置搜索功能时,搜索所有文件
- REG ADD "HKLMSYSTEMCurrentControlSetControlContentIndex" /f /v "FilterFilesWithUnknownExtensions" /t REG_DWORD /d 0x00000001
- ECHO ◢自动关闭停止响应的程序
- REG ADD "HKCUControl PanelDesktop" /f /v "AutoEndTasks" /t REG_SZ /d "1"
- ECHO ◢关闭调试工具的自动调试功能
- REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionAeDebug" /f /v "Auto" /t REG_SZ /d "0"
- ECHO ◢如果程序停止响应后持续多久就杀掉该程序(毫秒)
- REG ADD "HKLMSYSTEMCurrentControlSetControl" /f /v "WaitToKillServiceTimeout" /t REG_SZ /d "2000"
- ECHO ◢自动回收系统不使用的 DLL 文件所占用的内存空间
- REG ADD "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorer" /f /v "AlwaysUnloadDLL" /t REG_DWORD /d 0x00000001
- ECHO ◢分配更多的处理器时间运行程序
- IF %TARGET_OS%=="XP" REG ADD "HKLMSYSTEMCurrentControlSetControlPriorityControl" /f /v "Win32PrioritySeparation" /t REG_DWORD /d 0x00000026
- ECHO ◢分配更多的处理器时间运行后台服务
- IF %TARGET_OS%=="2003" REG ADD "HKLMSYSTEMCurrentControlSetControlPriorityControl" /f /v "Win32PrioritySeparation" /t REG_DWORD /d 0x00000018
- ECHO ◢内存使用性能以“系统缓存”优先
- IF %TARGET_OS%=="2003" REG ADD "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /f /v "LargeSystemCache" /t REG_DWORD /d 0x00000001
- ECHO ◢以不同的进程运行资源管理器
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "SeparateProcess" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止自动与 Internet 时间服务器同步
- REG ADD "HKLMSYSTEMCurrentControlSetServicesW32Time" /f /v "Start" /t REG_DWORD /d 0x00000004
- REG ADD "HKLMSYSTEMCurrentControlSetServicesW32TimeParameters" /f /v "Type" /t REG_SZ /d "NoSync"
- ECHO ◢完全禁用 Dr.WatSon 调试
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "AppendToLogFile" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "CrashDumpType" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "CreateCrashDump" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "DumpAllThreads" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "DumpSymbols" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "Instructions" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "MaximumCrashes" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "NumberOfCrashes" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "SoundNotification" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "VisualNotification" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSoftwareMicrosoftDrWatson" /f /v "WaveFile" /t REG_SZ /d ""
- ECHO ◢运行命令行自动完成
- REG ADD "HKCUSoftwareMicrosoftCommand Processor" /f /v "PathCompletionChar" /t REG_DWORD /d 0x00000009
- ECHO ◢为 16 位程序专门开辟专用的内存空间,以提高运行的稳定性
- REG ADD "HKLMSYSTEMCurrentControlSetControlWOW" /f /v "DefaultSeparateVDM" /t REG_SZ /d "Yes"
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化多媒体相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢启用 Media Player 的 DVD 播放功能
- REG ADD "HKCUSoftwareMicrosoftMediaPlayerPlayerSettings" /f /v "EnableDVDUI" /t REG_SZ /d "yes"
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化资源管理器相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢去掉资源管理器中的共享文档
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSharedDocuments" /t REG_DWORD /d 0x00000001
- REG ADD "HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSharedDocuments" /t REG_DWORD /d 0x00000001
- REG DELETE "HKLMSoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpaceDelegateFolders{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /f
- ECHO ◢创建快捷方式时不添加前缀“快捷方式”四个字
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorer" /f /v "link" /t REG_BINARY /d 00000000
- ECHO ◢在右键菜单中显示“命令提示符”
- REG ADD "HKCRDirectoryshell<SPAN class=highlight>cmd</SPAN>" /f /v "" /t REG_SZ /d "命令提示符(&W)"
- REG ADD "HKCRDirectoryshell<SPAN class=highlight>cmd</SPAN>command" /f /v "" /t REG_SZ /d "<SPAN class=highlight>cmd</SPAN>.exe /k "cd %L""
- REG ADD "HKCRDriveshell<SPAN class=highlight>cmd</SPAN>" /f /v "" /t REG_SZ /d "命令提示符(&W)"
- REG ADD "HKCRDriveshell<SPAN class=highlight>cmd</SPAN>command" /f /v "" /t REG_SZ /d "<SPAN class=highlight>cmd</SPAN>.exe /k "cd %L""
- ECHO ◢双击文件夹时以资源管理器方式打开
- ECHO ▍REG ADD "HKCRFoldershell" /f /v "" /t REG_SZ /d "explore"
- ECHO ◢不缓存缩略图
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "DisableThumbnailCache" /t REG_DWORD /d 0x00000001
- ECHO ◢显示系统文件夹的内容
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "WebViewBarricade" /t REG_DWORD /d 0x00000001
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "Hidden" /t REG_DWORD /d 0x00000001
- ECHO ◢不要记住每个文件夹的视图设置
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ClassicViewState" /t REG_DWORD /d 0x00000001
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "SuperHidden" /t REG_DWORD /d 0x00000000
- ECHO ◢禁用在任务状态栏中出现“气球警告提示”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "EnableBalloonTips" /t REG_DWORD /d 0x00000000
- ECHO ◢显示已知文件类型的扩展名
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "HideFileExt" /t REG_DWORD /d 0x00000000
- ECHO ◢显示受保护的操作系统文件夹
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ShowSuperHidden" /t REG_DWORD /d 0x00000001
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "NoNetCrawling" /t REG_DWORD /d 0x00000001
- ECHO ◢鼠标指向文件夹和桌面项时不要显示提示信息
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ShowInfoTip" /t REG_DWORD /d 0x00000000
- ECHO ◢禁止突出显示新安装的程序
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "Start_NotifyNewApps" /t REG_DWORD /d 0x00000000
- ECHO ◢在资源管理器中显示状态栏
- REG ADD "HKCUSoftwareMicrosoftInternet ExplorerMain" /f /v "StatusBarOther" /t REG_DWORD /d 0x00000001
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "ShowStatusBar" /t REG_DWORD /d 0x00000001
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化系统菜单相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢在“我的电脑”右键菜单中显示“设备管理器”
- ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellDevMgr" /f /v "" /t REG_SZ /d "设备管理器"
- ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellDevMgrcommand" /f /v "" /t REG_SZ /d "mmc.exe devmgmt.msc"
- ECHO ◢在“我的电脑”右键菜单中显示“服务管理器”
- ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellSerMgr" /f /v "" /t REG_SZ /d "服务管理器"
- ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellSerMgrcommand" /f /v "" /t REG_SZ /d "mmc.exe services.msc"
- ECHO ◢在“我的电脑”右键菜单中显示“事件查看器”
- ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellEveMgr" /f /v "" /t REG_SZ /d "事件查看器"
- ECHO ▍REG ADD "HKCRCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellEveMgrcommand" /f /v "" /t REG_SZ /d "mmc.exe eventvwr.msc"
- ECHO ◢在“开始”菜单中不显示姓名
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoUserNameInStartMenu" /t REG_BINARY /d 01000000
- ECHO ◢禁止在经典“开始”菜单中显示“我的文档”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSMMyDocs" /t REG_BINARY /d 01000000
- ECHO ◢禁止在“开始”菜单中显示“帮助”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoSMHelp" /t REG_BINARY /d 01000000
- ECHO ◢禁止在“开始”菜单中显示“最近的文档”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "NoRecentDocsMenu" /t REG_BINARY /d 01000000
- ECHO ◢在“所有程序”和开始菜单上显示“管理工具”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_AdminToolsRoot" /t REG_DWORD /d 0x00000002
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "StartMenuAdminTools" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止在开始菜单中显示“帮助”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowHelp" /t REG_DWORD /d 0x00000000
- ECHO ◢允许在开始中显示“打印机”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowPrinters" /t REG_DWORD /d 0x00000001
- ECHO ◢允许在开始菜单中显示“控制面板”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowControlPanel" /t REG_DWORD /d 0x00000001
- ECHO ◢允许在开始菜单中使用拖放
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_EnableDragDrop" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止在开始菜单中显示“搜索”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowSearch" /t REG_DWORD /d 0x00000000
- ECHO ◢禁止在开始菜单中显示“我的图片”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyPics" /t REG_DWORD /d 0x00000000
- ECHO ◢允许在开始菜单中显示“我的电脑”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyComputer" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止在开始菜单中显示“我的文档”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyDocs" /t REG_DWORD /d 0x00000000
- ECHO ◢禁止在开始菜单中显示“我的音乐”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowMyMusic" /t REG_DWORD /d 0x00000000
- ECHO ◢允许在开始菜单中显示“运行”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowRun" /t REG_DWORD /d 0x00000001
- ECHO ◢禁止在开始菜单中显示“最近访问的文档”
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_ShowRecentDocs" /t REG_DWORD /d 0x00000000
- ECHO ◢
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /f /v "Start_AutoCascade" /t REG_DWORD /d 0x00000001
- ECHO ◢设置任务栏程序分组数
- REG ADD "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /f /v "TaskbarGroupSize" /t REG_DWORD /d 0x00000014
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅ 开始优化系统登陆相关部分 ▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢经典登陆界面
- REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "LogonType" /t REG_DWORD /d 0x00000000
- ECHO ◢优先登陆域
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultDomainName" /t REG_SZ /d ""
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultUserName" /t REG_SZ /d ""
- ECHO ◢备用登陆域,如果登陆优先域失败时,则自动转为登陆后备域
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "AltDefaultDomainName" /t REG_SZ /d ""
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "AltDefaultUserName" /t REG_SZ /d ""
- ECHO ◢设置缓存上次登陆的用户名次数
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "cachedlogonscount" /t REG_SZ /d "0"
- ECHO ◢显示登陆选项
- REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "ShowLogonOptions" /t REG_DWORD /d 0x00000001
- ECHO ◢在登陆框显示关机选项
- REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "ShutdownWithoutLogon" /t REG_SZ /d "1"
- ECHO ◢自动登陆
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultUserName" /t REG_SZ /d ""
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "DefaultPassword" /t REG_SZ /d ""
- ECHO ▍REG ADD "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogon" /f /v "AutoAdminLogon" /t REG_SZ /d "1"
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 屏蔽 ActiveX 黑名单 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢B83FC273-3522-4CC6-92EC-75CC86678DA4 /3721网络实名
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{B83FC273-3522-4CC6-92EC-75CC86678DA4}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢1B0E7716-898E-48CC-9690-4E338E8DE1D3 /3721上网助手
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{1B0E7716-898E-48CC-9690-4E338E8DE1D3}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢7CA83CF1-3AEA-42D0-A4E3-1594FC6E48B2 /3721上网助手
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{7CA83CF1-3AEA-42D0-A4E3-1594FC6E48B2}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢4522DBFE-14CD-4A59-AC2A-54BADFDD6D53 /3721网络实名(新版)
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4522DBFE-14CD-4A59-AC2A-54BADFDD6D53}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢4EDBBAEA-F509-49F6-94D1-ECEC4BE5B686 /3721中文邮
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4EDBBAEA-F509-49F6-94D1-ECEC4BE5B686}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢8D898B17-976D-44C1-84E6-AF38842AC9EC /3721升级包
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{8D898B17-976D-44C1-84E6-AF38842AC9EC}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢4B106874-DD36-11D0-8B44-00A024DD9EFF /Adodb.Stream 2.5
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4B106874-DD36-11D0-8B44-00A024DD9EFF}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢00000566-0000-0010-8000-00AA006D2EA4 /Adodb.Stream 2.7
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{00000566-0000-0010-8000-00AA006D2EA4}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢69A72A8A-84ED-4a75-8CE7-263DBEF3E5D3 /Alexa Toolbar
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{69A72A8A-84ED-4a75-8CE7-263DBEF3E5D3}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢8522F9B3-38C5-4aa4-AE40-7401F1BBC851 /Ahmm Dialers
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{8522F9B3-38C5-4aa4-AE40-7401F1BBC851}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢8135EF31-FE8C-4C6E-A18A-F59944C3A488 /Dudu加速器
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{8135EF31-FE8C-4C6E-A18A-F59944C3A488}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢9BBC1154-218D-453C-97F6-A06582224D81 /百度搜霸
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{9BBC1154-218D-453C-97F6-A06582224D81}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢BC207F7D-3E63-4ACA-99B5-FB5F8428200C /百度搜索伴侣
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{BC207F7D-3E63-4ACA-99B5-FB5F8428200C}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢9A578C98-3C2F-4630-890B-FC04196EF420 /CNNIC通用域名
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{9A578C98-3C2F-4630-890B-FC04196EF420}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢CF051549-EDE1-40F5-B440-BCD646CF2C25 /网易泡泡
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{CF051549-EDE1-40F5-B440-BCD646CF2C25}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢15DDE989-CD45-4561-BF99-D22C0D5C2B74 /新浪点点通
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{15DDE989-CD45-4561-BF99-D22C0D5C2B74}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢98FA5667-513F-4F15-8A15-C171477B8847 /新浪IE通
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{98FA5667-513F-4F15-8A15-C171477B8847}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢CD1A82F2-3770-4509-8355-0D2F45158F21 /新浪iGame
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{CD1A82F2-3770-4509-8355-0D2F45158F21}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢D7F0CC2E-FB09-4B38-B9A7-6807CBCD4859 /新浪iGame
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{D7F0CC2E-FB09-4B38-B9A7-6807CBCD4859}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢2D0C7226-747E-11D6-83F0-00E04C4A2F90 /搜狐视频播放器
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{2D0C7226-747E-11D6-83F0-00E04C4A2F90}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢CE7C3CF0-4B15-11D1-ABED-709549C10000 /搜狐搜索工具
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{CE7C3CF0-4B15-11D1-ABED-709549C10000}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢484FF54A-CC44-467E-9C31-5B89FC753007 /搜狐工具栏
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{484FF54A-CC44-467E-9C31-5B89FC753007}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢03C543A1-C090-418F-A1D0-FB96380D601D /Holisty
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{03C543A1-C090-418F-A1D0-FB96380D601D}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢018B7EC3-EECA-11D3-8E71-0000E82C6C0D /XXXToolbar
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{018B7EC3-EECA-11D3-8E71-0000E82C6C0D}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢EF86873F-04C2-4a95-A373-5703C08EFC7B /XXXToolbar
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{EF86873F-04C2-4a95-A373-5703C08EFC7B}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢E8EDB60C-951E-4130-93DC-FAF1AD25F8E7 /Mtree Dialers
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{E8EDB60C-951E-4130-93DC-FAF1AD25F8E7}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢FC87A650-207D-4392-A6A1-82ADBC56FA64 /Mtree Dialers
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{FC87A650-207D-4392-A6A1-82ADBC56FA64}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢3717DF57-0396-463d-98B7-647C7DC6898A /SearchIt Toolbar
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{3717DF57-0396-463d-98B7-647C7DC6898A}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢7EB2A76C-97AE-4cf3-9C6A-EA0F61F137E1 /Sexxx拨号程序
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{7EB2A76C-97AE-4cf3-9C6A-EA0F61F137E1}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢FC327B3F-377B-4CB7-8B61-27CD69816BC3 /WeatherCAST
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{FC327B3F-377B-4CB7-8B61-27CD69816BC3}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢D6862A22-1DD6-11D3-BB7C-444553540000 /PortalSearchingToolbar
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{D6862A22-1DD6-11D3-BB7C-444553540000}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢32B88AFD-33DA-4E17-BE89-1029DE44DED6 /每步直达网址
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{32B88AFD-33DA-4E17-BE89-1029DE44DED6}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢051299DE-2CFD-4EA8-A432-F0429B4E7A5D /信天搜霸
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{051299DE-2CFD-4EA8-A432-F0429B4E7A5D}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢36CB6B28-FC08-4373-8F54-1A02E3C15B7D /藏鲸阁
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{36CB6B28-FC08-4373-8F54-1A02E3C15B7D}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢09F59435-7814-48ED-A73A-96FF861A91EB /阿里巴巴商务
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{09F59435-7814-48ED-A73A-96FF861A91EB}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢54F8C0E2-34F9-474F-B47F-2CFCFE2300A2 /IMU
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{54F8C0E2-34F9-474F-B47F-2CFCFE2300A2}" /f /v "Compatibility Flags" /d 0x00000400
- ECHO ◢4EA20CD0-BF89-4666-9DB1-B5410D27DA54 /3721上网助手
- REG ADD "HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4EA20CD0-BF89-4666-9DB1-B5410D27DA54}" /f /v "Compatibility Flags" /d 0x00000400
- SET MENU_ITEM_1_USED=1
- GOTO SELECT_MENU
- :CLEAN_REG
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅ 正在清除注册表中无用的信息 ▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO "正在清理 WinRAR 最近打开文件的信息"
- REG DELETE "HKCUSoftwareWinRARArcHistory" /f
- REG ADD "HKCUSoftwareWinRARArcHistory" /f
- ECHO "正在清理 EditPlus 2 最近打开文件的信息"
- REG DELETE "HKCUSoftwareES-ComputingEditPlus 2Recent Dir List" /f
- REG ADD "HKCUSoftwareES-ComputingEditPlus 2Recent Dir List" /f
- REG DELETE "HKCUSoftwareES-ComputingEditPlus 2Recent File List" /f
- REG ADD "HKCUSoftwareES-ComputingEditPlus 2Recent File List" /f
- ECHO "正在清理 Microsoft Media Player Serials 最近打开文件及 URL 的信息"
- REG DELETE "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentFileList" /f
- REG ADD "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentFileList" /f
- REG DELETE "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentURLList" /f
- REG ADD "HKCUSoftwareMicrosoftMediaPlayerPlayerRecentURLList" /f
- ECHO "正在清理 Alcohol 120% 最近打开文件的信息"
- REG DELETE "HKCUSoftwareAlcohol SoftAlcohol 120%%MountedMRU " /f
- REG ADD "HKCUSoftwareAlcohol SoftAlcohol 120%%MountedMRU " /f
- ERASE /F /S /Q %SystemRoot%Temp
- SET MENU_ITEM_2_USED=1
- GOTO SELECT_MENU
- :CLEAN_KL
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 正在清除输入法 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000402" /f
- ECHO 保加利亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000405" /f
- ECHO 捷克语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000406" /f
- ECHO 丹麦语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000407" /f
- ECHO 德语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000408" /f
- ECHO 希腊语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000040a" /f
- ECHO 西班牙语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000040b" /f
- ECHO 芬兰语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000040c" /f
- ECHO 法语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000040e" /f
- ECHO 匈牙利语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000040f" /f
- ECHO 冰岛语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000410" /f
- ECHO 意大利语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000411" /f
- ECHO 日语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000412" /f
- ECHO 朝鲜语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000413" /f
- ECHO 荷兰语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000414" /f
- ECHO 挪威语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000415" /f
- ECHO 波兰语 (程序员)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000416" /f
- ECHO 葡萄牙语 (巴西 ABNT)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000418" /f
- ECHO 罗马尼亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000419" /f
- ECHO 俄语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000041A" /f
- ECHO 克罗地亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000041b" /f
- ECHO 斯洛伐克语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000041c" /f
- ECHO 阿尔巴尼亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000041d" /f
- ECHO 瑞典语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000041f" /f
- ECHO 土耳其语 Q
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000422" /f
- ECHO 乌克兰语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000423" /f
- ECHO 比利时语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000424" /f
- ECHO 斯洛文尼亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000425" /f
- ECHO 爱沙尼亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000426" /f
- ECHO 拉脱维亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000427" /f
- ECHO 立陶宛语 IBM
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000042c" /f
- ECHO 阿塞里语 (拉丁文)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000042f" /f
- ECHO 马其顿语(FYROM)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000438" /f
- ECHO 法罗语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000043a" /f
- ECHO 马耳他语 47-键
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000043b" /f
- ECHO 挪威萨摩斯语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000043f" /f
- ECHO 哈萨克语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000440" /f
- ECHO 吉尔吉斯西里尔文
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000444" /f
- ECHO 塔但语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000450" /f
- ECHO 外蒙古西里尔文
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000452" /f
- ECHO 英国扩展
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000481" /f
- ECHO 毛利语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000807" /f
- ECHO 瑞士德语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000809" /f
- ECHO 英国
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000080a" /f
- ECHO 拉丁美洲语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000080c" /f
- ECHO 比利时法语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000813" /f
- ECHO 比利时语 (Period)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000816" /f
- ECHO 葡萄牙语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000081a" /f
- ECHO 塞尔维亚语(拉丁文)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000082c" /f
- ECHO 阿塞里语 (西里尔文)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000083b" /f
- ECHO 瑞典萨摩斯语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000843" /f
- ECHO 乌兹别克语 (西里尔文)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000c0c" /f
- ECHO 加拿大法语 (传统)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000c1a" /f
- ECHO 塞尔维亚语(西里尔文)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0001009" /f
- ECHO 加拿大法语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000100c" /f
- ECHO 瑞士法语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 000141a" /f
- ECHO 波斯尼亚语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0001809" /f
- ECHO 爱尔兰语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010402" /f
- ECHO 保加利亚语 (拉丁文)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010405" /f
- ECHO 捷克语 (QWERTY)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010407" /f
- ECHO 德语 (IBM)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010408" /f
- ECHO 希腊语 (220)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010409" /f
- ECHO 美国英语-Dvorak
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001040a" /f
- ECHO 西班牙变体语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001040e" /f
- ECHO 匈牙利语 101-键
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010410" /f
- ECHO 意大利语 (142)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010415" /f
- ECHO 波兰语 (214)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010416" /f
- ECHO 葡萄牙语 (巴西 ABNT2)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010419" /f
- ECHO 俄语(印刷文字)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001041b" /f
- ECHO 斯洛伐克语 (QWERTY)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001041f" /f
- ECHO 土耳其语 F
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010426" /f
- ECHO 拉脱维亚语 (QWERTY)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0010427" /f
- ECHO 立陶宛语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001043a" /f
- ECHO 马耳他语 48-键
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001043b" /f
- ECHO 挪威萨摩斯语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001080c" /f
- ECHO 比利时 (Comma)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 001083b" /f
- ECHO 芬兰萨摩斯语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0011009" /f
- ECHO 加拿大多语种标准
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0011809" /f
- ECHO 盖尔语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0020405" /f
- ECHO 捷克语 (程序员)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0020408" /f
- ECHO 希腊语 (319)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0020409" /f
- ECHO 美国英语-国际
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 002083b" /f
- ECHO 芬兰瑞典萨摩斯语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0030408" /f
- ECHO 希腊语 (220) 拉丁文
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0030409" /f
- ECHO 美国英语-Dvorak (惯用左手)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0040408" /f
- ECHO 希腊语 (319) 拉丁文
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0040409" /f
- ECHO 美国英语-Dvorak (惯用右手)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0050408" /f
- ECHO 希腊语 (拉丁文)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0060408" /f
- ECHO 多元化希腊语
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010411" /f
- ECHO 日语输入系统 (MS-IME2002)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010412" /f
- ECHO 朝鲜语输入系统 (IME 2000)
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000404" /f
- ECHO 中文 (繁体) - 美式键盘
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010404" /f
- ECHO 中文 (繁体) - 注音
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0020404" /f
- ECHO 中文 (繁体) - 仓颉
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0030404" /f
- ECHO 中文 (繁体) - 速成
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0040404" /f
- ECHO 中文 (繁体) - Big5 码
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0050404" /f
- ECHO 中文 (繁体) - 行列
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0060404" /f
- ECHO 中文 (繁体) - 大易
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0070404" /f
- ECHO 中文 (繁体) - Unicode
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0080404" /f
- ECHO 中文 (繁体) - 新注音
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0090404" /f
- ECHO 中文 (繁体) - 新仓颉
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE01F0404" /f
- ECHO 中文 (繁体) - 英数
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0010804" /f
- ECHO 中文 (简体) - 全拼
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0020804" /f
- ECHO 中文 (简体) - 双拼
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0050804" /f
- ECHO 中文 (简体) - 内码
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0030804" /f
- ECHO 中文 (简体) - 郑码
- REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE0040804" /f
- ECHO 中文 (简体) - 智能 ABC
- ECHO REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000804" /f
- ECHO 中文 (简体) - 美式键盘
- ECHO REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard LayoutsE00E0804" /f
- ECHO 中文 (简体) - 微软拼音
- ECHO REG DELETE "HKLMSYSTEMCurrentControlSetControlKeyboard Layouts 0000409" /f
- ECHO 美国英语
- SET MENU_ITEM_3_USED=1
- GOTO SELECT_MENU
- :DISABLE_USBSTOR
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 正在处理禁用移动存储设备 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "Type" /t REG_DWORD /d 0x00000001
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "Start" /t REG_DWORD /d 0x00000004
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "ErrorControl" /t REG_DWORD /d 0x00000001
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "ImagePath" /t REG_EXPAND_SZ /d "system32DRIVERSUSBSTOR.SYS"
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOR" /f /v "DisplayName" /t REG_SZ /d "USB Mass Storage Driver"
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTORSecurity" /f /v "Security" /t REG_BINARY /d 01001480a0000000ac000000140000003000000002001c000100000002801400ff010f00010100000000000100000000020070000400000000001800 fd0102000101000000000005120000000000000000001c00ff010f000102000000000005200000002002000000000000000018008d01020001010000 000000050b0000002002000000001c00fd01020001020000000000052000000023020000000000000101000000000005120000
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOREnum" /f /v "Count" /t REG_DWORD /d 0x00000000
- REG ADD "HKLMSYSTEMCurrentControlSetServicesUSBSTOREnum" /f /v "NextInstance" /t REG_DWORD /d 0x00000000
- SET MENU_ITEM_4_USED=1
- GOTO SELECT_MENU
- :END
- cls
- ECHO ▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 退出系统优化设置工具 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅
- ECHO ◢ 本工具由㊣版技术联合·综合群各位管理联合打造,未经许可不得非法使用
- ECHO ◢ ㊣版技术联合·综合群提醒您升级杀毒软件和防火墙,注意网络安全
- ECHO ◢ 希望大家能够有个良好的工作环境,请大家使用清除钓鱼台工具!
- ECHO ◢ 请按任意键退出本工具......
- PAUSE>nul
- exit