研究 探讨 送分

带着蜗牛去散步^ 2006-09-19 02:53:51
网上看了 一个优化xp的批处理,大家看看还有没有什么补充的.有没有副作用

______________________________________________________________________________

@echo off
echo *************************************************************
echo xp 系统自动优化\垃圾清理\注册表优化\OEM信息导入
echo *************************************************************
echo 作者:Anjay Zhao 2006-2-14
echo *************************************************************
echo 按任意键开始对系统进行优化........
pause >nul
echo 开始对系统服务优化!
sc config messenger start= disabled
sc config wuauserv start= disabled
sc config browser start= demand
sc config wscsvc start= disabled
sc config mdm start= disabled
sc config lanmanserver start= disabled
sc config spooler start= disabled !!(关闭打印机服务,如果需要使用的话,删除此行)!!
sc config remoteregistry start= demand
sc config schedule start= demand
sc config lmhosts start= demand
sc config termservice start= disabled
sc config themes start= disabled
sc config wzcsvc start= disabled
sc config slservice start= disabled
sc config wmi start= disabled
sc config "adobe lm service" start= disabled
sc config "vmware nat service" start= disabled
sc config ersvc start= disabled
sc config "ati hotkey poller" start= disabled
sc config dhcp start= disabled
sc config vmauthdservice start= disabled
sc config vmnetdhcp start= disabled
sc config httpfilter start= disabled
sc config dhcp start= disabled
sc config sens start= disabled
sc config ehsched start= disabled
sc config ehrecvr start= disabled
sc config policyagent start= disabled
sc config alerter start= disabled
sc config dnscache start= disabled
sc config ssdpsrv start= disabled
sc config w32time start= disabled
sc config shareaccess start= disabled
sc config alerter start= demand
echo 系统服务优化完毕!
echo 开始对注册表优化!
reg delete hklm\software\microsoft\windows\currentversion\explorer\remotecomputer\namespace\{2227a280-3aea-1069-a2de-

08002b30309d} /f
reg delete hklm\software\microsoft\windows\currentversion\explorer\remotecomputer\namespace\{d6277990-4c6a-11cf-8d87-

00aa0060f5bf} /f
reg add "hkey_current_user\control panel\desktop" /v autoendtasks /t reg_sz /d 1 /f
reg add "hkey_local_machine\system\currentcontrolset\control" /v waittokillservicetimeout /t reg_sz /d 1000 /f
reg add "hkey_current_user\control panel\desktop" /v waittokillapptimeout /t reg_sz /d 1000 /f
reg add "hkey_current_user\control panel\desktop" /v hungapptimeout /t reg_sz /d 200 /f
reg add "hkey_local_machine\system\currentcontrolset\control\session manager\memory management\prefetchparameters" /v

enableprefetcher /t reg_dword /d 5 /f
regsvr32 /u /s zipfldr.dll
regsvr32 /u /s igfxpph.dll
reg add "hkey_local_machine\software\microsoft\windows nt\currentversion\aedebug" /v auto /t reg_sz /d 0 /f
reg delete hklm\software\microsoft\windows\currentversion\run /va /f
reg delete hklm\software\microsoft\windows\currentversion\runonce /va /f
reg delete hklm\software\microsoft\windows\currentversion\runonceex /va /f
echo 注册表优化完毕!
echo 开始导入OEM信息!
copy oemlogo.bmp c:\windows\system32\
copy oeminfo.ini c:\windows\system32\
echo OEM信息导入完毕!
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 Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统垃圾完成!
echo 全部完成按任意键结束!
echo *************************************************************
pause>nul
...全文
123 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
sstlwg 2006-09-20
  • 打赏
  • 举报
回复
后过很严重...^^ 不行试试
  • 打赏
  • 举报
回复
欢迎测试
zicxc 2006-09-20
  • 打赏
  • 举报
回复
mark
attractive608 2006-09-20
  • 打赏
  • 举报
回复
祝贺楼主。。。
eceg 2006-09-20
  • 打赏
  • 举报
回复
up
日总是我哥 2006-09-20
  • 打赏
  • 举报
回复
不过不推荐用批处理这种方式,不直观,而且要选择增删一些项目也不方便。
  • 打赏
  • 举报
回复
是的 没办法登陆了是吧
不知道那个服务的问题
sstlwg(日落王子)
谢谢你的测试、
yisheng163 2006-09-19
  • 打赏
  • 举报
回复
部分的用过了。好实用的。呵呵。
leongwong 2006-09-19
  • 打赏
  • 举报
回复
关注!
  • 打赏
  • 举报
回复

谢谢楼上的
VirtualDesktop 2006-09-19
  • 打赏
  • 举报
回复
sc config mdm start= disabled
这个恐怕会让你的vs2003/2005无法调试
  • 打赏
  • 举报
回复
做个菜单 怎么样?
happy_sea 2006-09-19
  • 打赏
  • 举报
回复
不过不推荐用批处理这种方式,不直观,而且要选择增删一些项目也不方便。
happy_sea 2006-09-19
  • 打赏
  • 举报
回复
好像已经比较全面了。
吾非大神 2006-09-19
  • 打赏
  • 举报
回复
jf
yangao 2006-09-19
  • 打赏
  • 举报
回复
不懂
试试就知道啦
dashi 2006-09-19
  • 打赏
  • 举报
回复
~up

742

社区成员

发帖
与我相关
我的任务
社区描述
VB 版八卦、闲侃,联络感情地盘,禁广告帖、作业帖
社区管理员
  • 非技术类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧