xp系统运行速度很慢怎么办
刚刚安装好了xp系统,却出现运行速度很慢的原因,那么xp系统运行速度很慢怎么办呢?学习啦小编分享了解决xp系统运行速度很慢的方法,希望对大家有所帮助。
xp系统运行速度很慢解决方法一
1、现在是夏天,我们首先就该是散热问题了,我们多长时间没清灰了?是不是要清一下灰呢?然后用鲁大师一类的软件监测着点系统硬件的温度,防止他们温度过高来拖慢系统的速度。
检查电脑硬件温度
2、检测检测我们的硬盘是不是出问题了呢,毕竟我们现在还大部分使用的是机械硬盘呢,所以由于长时间的使用,会对硬盘产生很大的损耗,甚至出现坏道,所以大家平时要养成良好的习惯,不要“非法关机”,要让系统自己关机,尽量减少对硬盘的损伤。至于怎么检测,大家可以百度一下,有很多硬盘坏道于修复软件,如果出现坏道可以屏蔽修复的哦。
检测硬盘是否出现问题
3、看看是不是我们的CPU和内存不给力了?我们打开任务管理器,看看CPU和内存的使用率大概是多少,要是偏高的话,我们就该考虑是不是该换个CPU或者加点内存了。要是内存不够用我们可以多给他分配点虚拟内存,来缓一下燃眉之急,设置方法如下,右击我的电脑-属性-高级-性能-设置-高级虚拟内存,至于设置多大,在下面系统会给出提示,尽量设置点大点就行,主要不要设置在系统哦,设置好了系统会提示重启,重启即可。
任务管理器中查看CPU与内存使用率
xp系统运行速度很慢解决方法二
首先我们就新建一个文本文档文件!我们鼠标右键就能新建一个文本文档文件了!我们可以在桌面鼠标右键菜单,选择“新建”,然后再选择“文本文档”!就能在桌面新一个空白的文本文档文件了!
现在我们就要打开新建的文本文档文件!里面什么都没有,空空如也!我们要在这里进行编辑啦!在文本文档文件里输入一些程序代码!这些代码如下!
@ECHO off
color 0a
::echo 当前帐户:%username%
ECHO.
echo 请选择是否用于服务器:
echo.
echo 1.是服务器-- 按任意数字键
echo 2.非服务器-- 按回车或其它任意键
echo.
set /p s=请选择:
echo %s%|findstr /be "[0-9]*" >nul &&goto:server||goto:PC
::if /i "%s%" equ "Y" goto:server else goto:pc
:PC
ECHO ==本程序用于服务器时具有相当的危险性,请参照本程序源码REM操作!==
REM 服务器操作时这部分操作请勿使用!否则本人概不负责!
TITLE 清理.bak备份文件-谨慎操作!
del /f /s /q %windir%\*.bak
REM 用于服务器时请勿删除日志!-谨慎操作!
TITLE 用于服务器时请勿删除日志!-谨慎操作!
del /f /s /q %systemdrive%\*.log
REM 勿使用rd /s /q %windir%\temp & md %windir%\temp命令,否则服务器服务(如DB)容易出现问题!
::del /f/s /q %windir%\temp\*.*
REM 若要清理帮助文件,将下面的::删除即可
::rd /s /q "%windir%\help"
goto:server
:server
ECHO ::1.清理局域网共享痕迹--注册表::
TITLE ::1.清理局域网共享痕迹--注册表::
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WorkgroupCrawler\Shares" /f >nul 2>nul
ECHO ::2.清理运行或操作历史记录--注册表::
TITLE ::2.清理运行或操作历史记录--注册表::
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\Folder" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.txt" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.rar" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.mp3" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.jpg" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.ini" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.bmp" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.doc" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.eip" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.htm" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.ico" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.inf" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.gif" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.wav" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.xls" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.rm" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\*" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\mp3" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\rm" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\wav" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\bat" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\exe" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\eip" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\ico" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\htm" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\jpg" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{5E6AB780-7743-11CF-A12B-00AA004AE837}\Count" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /va /f >nul 2>nul
reg delete "HKCU\Software\WinRAR\ArcHistory" /va /f >nul 2>nul
reg delete "HKCU\Software\WinRAR\DialogEditHistory\ArcName" /va /f >nul 2>nul
reg delete "HKCU\Software\WinRAR\DialogEditHistory\ExtrPath" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\MediaPlayer\Player\RecentFileList" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Microsoft Management Console\Recent File List" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Office.0\PowerPoint\Recent File List" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Office.0\Excel\Recent File" /va /f >nul 2>nul
reg delete "HKCU\Software\Microsoft\Office.0\Word\Data" /v "Settings" /f >nul 2>nul
reg delete "HKCU\Software\VMware, Inc." /va /f >nul 2>nul
ECHO ::3.清理IE浏览历史的下拉列表--注册表::
TITLE ::3.清理IE浏览历史的下拉列表--注册表::
reg delete "HKCU\Software\Microsoft\Internet Explorer\TypedUrls" /va /f >nul 2>nul
ECHO ::4.正在清理常见系统垃圾文件=::
TITLE ::4.正在清理常见系统垃圾文件::
del /f /q "%ALLUSERSPROFILE%\Documents\DrWatson\*.*">nul 2>nul
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\thumbs.db
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\system32\dllcache\*.*
del /f /s /q %windir%\prefetch\*.*
cls
ECHO ::5.为安全起见,以下清理操作只对当前登录帐户有效::
TITLE ::5.为安全起见,以下清理操作只对当前登录帐户有效::
del /f /s /q "%tmp%\*.*"
ECHO ::6.清理文件缓存::
TITLE ::6.清理文件缓存::
SFC /purgecache
cls
ECHO ::7.清理系统升级补丁目录::
TITLE ::7.清理系统升级补丁目录::
dir %SystemRoot%$*$ /ad/b >%SystemRoot%\DirTmp.txt
for /f %%a in (%SystemRoot%\DirTmp.txt) do rd /s /q "%SystemRoot%\%%a"
del /f /q %SystemRoot%\DirTmp.txt
cls
ECHO ::8.清理磁盘错误检测文件::
TITLE ::8.清理磁盘错误检测文件::
dir %SystemDrive%\found.??? /ad/b >%systemDrive%\DirTmp.txt
for /f %%a in (%systemDrive%\DirTmp.txt) do rd /s /q "%systemDrive%\%%a"
del /f /q %systemDrive%\DirTmp.txt
cls
ECHO ::9.正在清理所有(域)帐户下的所有临时文件,请稍候::
TITLE ::9.正在清理所有(域)帐户下的所有临时文件,请稍候::
dir "%SystemDrive%\Documents and Settings\" /ad/b >%SystemDrive%\DirTmp.txt
for /f %%a in (%SystemDrive%\DirTmp.txt) do del /f /s /q "%SystemDrive%\Documents and Settings\%%a\Cookies\*.*"&del /f /s /q "%SystemDrive%\Documents and Settings\%%a\Recent\*.*"&rd /s /q "%SystemDrive%\Documents and Settings\%%a\Local Settings\History\"&del /f /s /q "%SystemDrive%\Documents and Settings\%%a\Local Settings\Temp\*.*"&del /f /s /q "%SystemDrive%\Documents and Settings\%%a\Local Settings\Temporary Internet Files\*.*"
del /f /q %SystemDrive%\DirTmp.txt
cls
ECHO ::10.删除系统驱动备份文件,释放空间::
TITLE ::10.删除系统驱动备份文件,释放空间::
rd /s /q %SystemDrive%\swsetup\
ECHO ::11.正在进行系统优化::
TITLE ::11.正在进行系统优化::
echo 禁用RealPlayer更新和开机项
::清理右键ATI显卡选项--ATI CATALYST(R) Control
::if exist "%windir%\system32\atiacmxx.dll" (regsvr32 /u "%windir%\system32\atiacmxx.dll")
::清理右键Intel显卡选项
::if exist "%windir%\system32\igfxpph.dll" regsvr32 /u "%windir%\system32\igfxpph.dll"
::清理右键NVIDIA显卡选项
::if exist "%windir%\system32\nvcpl.dll" regsvr32 /u "%windir%\system32\nvcpl.dll"
::清理realplayer更新
if exist "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" ren "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" realsched.ex_
if exist "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" del /f /s /q "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe"
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v TkBellExe /f
cls
ECHO ::12.正在进行最后一步——磁盘清理,完成后自动退出::
ECHO 当耗时越长时,说明你系统垃圾越多,请耐心等待程序执行完毕。。。
TITLE ::12.正在进行最后一步——磁盘清理,完成后自动退出::
cleanmgr /sagerun:99
exit
现在我们要在我们的电脑里设置一下!把我们文件的扩展名显示出来!这样我们就能修改文件的扩展名了!我们随便用一个文件夹,打开“组织”菜单,然后“文件夹和搜索选项”!在选项卡里选择查看,然后把“隐藏已知文件类型的扩展名”前面的钩去掉!
把这个文本文件另存为BAT文件!我们可以直接保存好这个TXT文件,之后把TXT的扩展名改为BAT的;也可以另存,这时候在文件名那里把扩展名改为BAT的也是可以的!
如果安装了360的一些软件的,我们就先要把360的软件退出!如果不退出就会有一些提示,我们就要允许它就行了!不要阻止,阻止了程序会运行不下去!
现在我们就运行一下我们之前做好的软件吧!我们要选择一下,我们的就选择不是服务器2吧!现在我们就能看程序在一个一个地清除系统中的垃圾文件了!
5.如何解决电脑变慢