怎么样优化注册表优化?
木易非楊在网上搜集了一些对xp系统进行注册表优化的方案,通过测试整理了一个批处理文件,通过一键点击快速对xp系统进行优化,免去了大家装机后一个个对注册表项进行修改优化,供大家参考。有不足望大家指出,谢谢!
复制下面红色部分内容存到记事本,然后另存为“系统一键优化.bat”。双击该文件就可快速优化您的电脑xp系统,使其速度加快。。。。。。
echo off
cls
color 2e
echo. │─────────────────────── │
echo. │ │
echo. │ │
echo. │ │
echo. │ 木易非楊制作 │
echo. │ │
echo. │ 一键注册表系统优化 │
echo. │ │
echo. │ │
echo. │ (本优化请放心使用) │
echo. │ │
echo. │ 本优化能使您电脑速度加快并自动清除 │
echo. │ 您文档的历史记录让您爱机更加快捷干净! │
echo. │ │
echo. │ │
echo. │ │
echo. │ 1.继续 2.退出 │
echo. │ │
echo. │-───────────────────────│
:: 表头方框在复制时可能移位,大家可调整,但谁改表头文字,木易非楊和您急。呵呵........
:f
set zcyh=
set /p zcyh=请选择(1,2)
if /i "%zcyh%"=="1" goto tat1
if /i "%zcyh%"=="2" goto end
echo 注:选择错误,请重新正确选择
goto f
:tat1
cls
color 5e
echo.
echo.
echo.
echo. ---------------------------------------------------------------------
echo. 优化注册表内容
echo.
echo. ---------------------------------------------------------------------
@echo.
pause
echo y|regedit /s .\date\SH.reg
reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /t REG_DWORD /d 255 /f
:: 加快开机速度
reg delete "HKLM\System\CurrentControlSet\Control\Update" /v UpdateMode /f
reg add "HKLM\System\CurrentControlSet\Control\Update" /v UpdateMode /t REG_DWORD /d 0 /f
reg delete "HKLM\System\CurrentControlSet\Control\FileSystem" /v ConfigFileAllocSize /f
reg add "HKLM\System\CurrentControlSet\Control\FileSystem" /v ConfigFileAllocSize /t REG_DWORD /d 500 /f
:: 加快运行速度
reg delete "HKCU\Control Panel\Desktop" /v HungAppTimeout /f
reg add "HKCU\Control Panel\Desktop" /v HungAppTimeout /d 80 /f
reg delete "HKCU\Control Panel\Desktop" /v AutoendTasks /f
reg add "HKCU\Control Panel\Desktop" /v AutoendTasks /t REG_DWORD /d 1 /f
reg delete "HKCU\Control Panel\Desktop" /v WaitToKillAppTimeout /f
reg add "HKCU\Control Panel\Desktop" /v WaitToKillAppTimeout /d 800 /f
reg delete "HKCU\Control Panel\Desktop" /v MenuShowDelay /f
reg add "HKCU\Control Panel\Desktop" /v MenuShowDelay /d 1 /f
reg delete "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v HungAppTimeout /f
reg add "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v HungAppTimeout /d 80 /f
reg delete "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v AutoendTasks /f
reg add "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v AutoendTasks /t REG_DWORD /d 1 /f
reg delete "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v WaitToKillAppTimeout /f
reg add "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v WaitToKillAppTimeout /d 800 /f
reg delete "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v MenuShowDelay /f
reg add "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v MenuShowDelay /d 1 /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v IopageLockLimit /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v IopageLockLimit /t REG_DWORD /d 40000 /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v SecondLevelDataCache /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v SecondLevelDataCache /t REG_DWORD /d 1024 /f
reg delete "HKLM\Software\Microsoft\Windows\Psched" /v NonBestEffortlimit /f
reg add "HKLM\Software\Microsoft\Windows\Psched" /v NonBestEffortlimit /d 0 /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management/PrefetchParameters" /v EnablePrefetcher /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management/PrefetchParameters" /v EnablePrefetcher /t REG_DWORD /d 5 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v AlwaysUnloadDLL /d 1 /f
:: 删除网上邻居共享打印机和计划任务
reg delete "HKLM\sofeware\Microsoft\Windows\Current Version\Explore\RemoteComputer\NameSpace\2227A280-3AEA-1069-A2DE08002B30309D" /f
reg delete "HKLM\sofeware\Microsoft\Windows\Current Version\Explore\RemoteComputer\NameSpace\D6277990-4C6A-11CF8D87- 00AA0060F5BF" /f
:: 删除多余启动项
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /va /f
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /va /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v ctfmon.exe /d C:\WINDOWS\system32\ctfmon.exe
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v command /d ""C:\WINDOWS\IME\imjp8_1\IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v hkey /d HKLM
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v inimapping /d 0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v item /d IMJPMIG
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v command /d "C:\WINDOWS\system32\IME\TINTLGNT\TINTSETP.EXE /IMEName"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v hkey /d HKLM
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v inimapping /d 0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v item /d TINTSETP
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v command /d ""C:\WINDOWS\IME\imjp8_1\IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v hkey /d HKLM
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v inimapping /d 0
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v item /d TINTSETP
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run
del "C:\Documents and Settings\All Users\「开始」菜单\程序\启动\*.*" /q /f
del "C:\Documents and Settings\Default User\「开始」菜单\程序\启动\*.*" /q /f
del "%userprofile%\「开始」菜单\程序\启动\*.*" /q /f
:: 关闭调试器Dr. Watson
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug" /v Auto /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug" /v Auto /t REG_DWORD /d 0 /f
:: 提升网速
reg delete "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPerServer /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPerServer /t REG_DWORD /d 20 /f
reg delete "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPer1_0Server /f
reg add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPer1_0Server /t REG_DWORD /d 20 /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPerServer /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPerServer /t REG_DWORD /d 20 /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPer1_0Server /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MaxConnectionsPer1_0Server /t REG_DWORD /d 20 /f
:: 关机自动清除开始菜单的文档记录
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ClearRecentDocsOnExit /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ClearRecentDocsOnExit /t REG_DWORD /d 1 /f
:: 修复exe关联文件
reg add "HKEY_CLASSES_ROOT\exefile\shell\open\command" /VE /D """"%%1""" %%*" /F
echo.
echo 优化成功 谢谢使用
echo.
echo 注:本优化关闭了分区的自动播放,关闭后可能对您带来不方便您可选择"1"打开自动播放
echo.
echo 请选择1打开自动播放 选择2退出
echo.
:d
set zcy=
set /p zcy= 请选择(1,2)
if /i "%zcy%"=="1" goto :yu
if /i "%zcy%"=="2" goto end
echo 注:选择错误,请重新选择
goto d
:yu
cls
color ed
reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /t REG_DWORD /d 223 /f
echo.
echo 自动播放已打开 谢谢使用
pause
本文地址:
http://www.45fan.com/a/question/34886.html