你的电脑是不是在运行一段时间之后就会感觉越来越卡?然后一想到优化电脑那些繁琐的步骤是不是感觉很费劲,那就凑合着用吧…其实如果我们想偷懒的话,小编告诉一个神奇的办法,利用批处理命令,20秒就可以让我们的电脑速度翻一倍哦。
一、首先自然是先清理一下我们的开机启动项了,随便找一个地方,然后新建一个文本文档,把以下的代码复制进去,然后后缀名由.txt改成.bat,接下来我们只要双击它就能自动清理开机启动项了。
@ ECHO OFF color 1f title 清除所有多余的启动项目 PAUSE reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /va /f reg delete HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun /va /f reg add HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun /v ctfmon.exe /d C:WINDOWSsystem32ctfmon.exe reg delete "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupreg" /f reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregIMJPMIG8.1" reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregIMJPMIG8.1" /v command /d ""C:WINDOWSIMEimjp8_1IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32" reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregIMJPMIG8.1" /v hkey /d HKLM reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregIMJPMIG8.1" /v inimapping /d 0 reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregIMJPMIG8.1" /v item /d IMJPMIG reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregIMJPMIG8.1" /v key /d SOFTWAREMicrosoftWindowsCurrentVersionRun reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002A" reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002A" /v command /d "C:WINDOWSsystem32IMETINTLGNTTINTSETP.EXE /IMEName" reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002A" /v hkey /d HKLM reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002A" /v inimapping /d 0 reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002A" /v item /d TINTSETP reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002A" /v key /d SOFTWAREMicrosoftWindowsCurrentVersionRun reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002ASync" reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002ASync" /v command /d ""C:WINDOWSIMEimjp8_1IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32" reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002ASync" /v hkey /d HKLM reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002ASync" /v inimapping /d 0 reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002ASync" /v item /d TINTSETP reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupregPHIME2002ASync" /v key /d SOFTWAREMicrosoftWindowsCurrentVersionRun del "C:documents and SettingsAll Users「开始」菜单程序启动*.*" /q /f del "C:documents and SettingsDefault User「开始」菜单程序启动*.*" /q /f del "%userprofile%「开始」菜单程序启动*.*" /q /f start C:WINDOWSpchealthhelpctrbinariesmsconfig.exe |
二、还有的就是清理一下常见病毒、插件和恶意代码了,步骤和上边一样, 随便找一个地方,然后新建一个文本文档,把以下的代码复制进去,然后后缀名由.txt改成.bat,接下来我们只要双击它就能自动清理常见病毒、插件和恶意代码,清理完会自动关闭哦。
超乎想像 20秒让电脑运行速度快一倍@ECHO OFF del c:winntlogo1_.exe del c:windowslogo1_.exe del c:winnt0sy.exe del c:windows0sy.exe del c:winnt1sy.exe del c:windows1sy.exe del c:winnt2sy.exe del c:windows2sy.exe del c:winnt3sy.exe del c:windows3sy.exe del c:winnt4sy.exe del c:windows4sy.exe del c:winnt5sy.exe del c:windows5sy.exe del c:winnt6sy.exe del c:windows6sy.exe del c:winnt7sy.exe del c:windows7sy.exe del c:winnt8sy.exe del c:windows8sy.exe del c:winnt9sy.exe del c:windows9sy.exe del c:winntrundl132.exe del c:windowsrundl132.exe net share c$ /d net share d$ /d net share e$ /d net share F$ /d net share G$ /d net share h$ /d net share i$ /d net share j$ /d net share admin$ /d net share ipc$ /d del c:winntlogo1_.exe del c:windowslogo1_.exe del c:windowsvdll.dll del c:winntvdll.dll del c:windowstdll.dll del c:winnttdll.dll del c:windowsdll.dll del c:winntdll.dll del c:winntkill.exe del c:windowskill.exe del c:winntsws32.dll del c:windowssws32.dll del c:winntrundl132.exe del c:windowsrundl132.exe echo. echo. echo. echo. ***************************** echo. echo. 正在查毒...请不要关闭...... echo. echo. ***************************** echo. echo. echo. echo. ping 127.0.0.1 -n 5 del c:winntlogo1_.exe del c:windowslogo1_.exe del C:winntsystem32Logo1_.exe del C:winntsystem32rundl132.exe del C:winntsystem32bootconf.exe del C:winntsystem32kill.exe del C:winntsystem32sws32.dll del C:windowsLogo1_.exe del C:windowsrundl132.exe del C:windowsbootconf.exe del C:windowskill.exe del C:windowssws32.dll del C:windowsdll.dll del C:windowsvdll.dll del c:windowstdll.dll del C:windowssystem32ShellExtsvchs0t.exe del C:windowssystem32Logo1_.exe del C:windowssystem32rundl132.exe del C:windowssystem32bootconf.exe del C:windowssystem32kill.exe del C:windowssystem32sws32.dll del c:_desktop.ini /f/s/q/a del d:_desktop.ini /f/s/q/a del e:_desktop.ini /f/s/q/a del f:_desktop.ini /f/s/q/a del g:_desktop.ini /f/s/q/a del h:_desktop.ini /f/s/q/a del i:_desktop.ini /f/s/q/a del j:_desktop.ini /f/s/q/a del k:_desktop.ini /f/s/q/aAbc[/hide] |
三、最后一个就是在Windows在安装和使用过程中都会产生相当多的垃圾文件,包括临时文件(如:*.tmp、*._mp)日志文件(*.log)、临时帮助文件(*.gid)、磁盘检查文件(*.chk)、临时备份文件(如:*.old、*.bak)以及其他临时文件。特别是如果一段时间不清理IE的临时文件夹“Temporary Internet Files”,其中的缓存文件有时会占用上百MB的磁盘空间。这些LJ文件不仅仅浪费了宝贵的磁盘空间,严重时还会使系统运行慢如蜗牛。这点相信你肯定忍受不了吧!所以应及时清理系统的LJ文件的淤塞,保持系统的“苗条”身材,轻松流畅上网!朋友来吧,现在就让我们一起来快速清除系统垃圾吧!!步骤同上,双击就能清理垃圾啦。
超乎想像 20秒让电脑运行速度快一倍@echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%*.tmp del /f /s /q %systemdrive%*._mp del /f /s /q %systemdrive%*.log del /f /s /q %systemdrive%*.gid del /f /s /q %systemdrive%*.chk del /f /s /q %systemdrive%*.old del /f /s /q %systemdrive%recycled*.* del /f /s /q %windir%*.bak del /f /s /q %windir%prefetch*.* rd /s /q %windir%temp & md %windir%temp del /f /q %userprofile%cookies*.* del /f /q %userprofile%recent*.* del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*" del /f /s /q "%userprofile%Local SettingsTemp*.*" del /f /s /q "%userprofile%recent*.*" echo 清除系统LJ完成! echo. & pause |
猜你还喜欢:别嫌你电脑太慢 让电脑飞的提速方法。