XP系统安装后常规设置

 XP系统安装后常规设置

一般我在新装完系统之后重要作下面的事情:显示文件扩展名,关闭简单共享、系统还原、远程协助错误报告等等,在桌面上显示我的文档和我的电脑,添加自己喜欢的字体等等,这个批处理我放进了安装光盘中的guionce里面,感觉很不错:D (XP用)
  1. [[bat]]
  2. @echo off
  3. color a
  4. echo.
  5. echo 正在开启文件扩展名...
  6. reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d "0" /f>nul
  7. echo.
  8. echo 正在关闭简单共享...
  9. reg add "HKLM\SYSTEM\ControlSet001\Control\Lsa" /v "forceguest" /t REG_DWORD /d "0" /f>nul & REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v "forceguest" /t REG_DWORD /d "0" /f>nul
  10. echo.
  11. echo 正在关闭系统还原...
  12. reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v "DisableSR" /t REG_DWORD /d "1" /f>nul
  13. echo.
  14. echo 正在关闭远程协助...
  15. reg add "HKLM\SYSTEM\ControlSet001\Control\Terminal Server" /v "fAllowToGetHelp" /t REG_DWORD /d "0" /f>nul
  16. reg add "HKLM\SYSTEM\ControlSet001\Control\Terminal Server" /v "fEnableSalem" /t REG_DWORD /d "0" /f>nul
  17. reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v "fAllowToGetHelp" /t REG_DWORD /d "0" /f>nul
  18. reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v "fEnableSalem" /t REG_DWORD /d "0" /f>nul
  19. echo.
  20. echo 正在关闭事件日志和内存调试信息...
  21. reg add "HKLM\SYSTEM\ControlSet001\Control\CrashControl" /v "LogEvent" /t REG_DWORD /d "0" /f>nul
  22. reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "LogEvent" /t REG_DWORD /d "0" /f>nul
  23. reg add "HKLM\SYSTEM\ControlSet001\Control\CrashControl" /v "CrashDumpEnabled" /t REG_DWORD /d "0" /f>nul
  24. reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "CrashDumpEnabled" /t REG_DWORD /d "0" /f>nul
  25. echo.
  26. echo 正在关闭错误报告...
  27. reg add "HKLM\SOFTWARE\Microsoft\PCHealth\ErrorReporting" /v "DoReport" /t REG_DWORD /d "0" /f >nul
  28. echo.
  29. echo 正在打开资源窗口的状态栏...
  30. reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "StatusBarOther" /t REG_DWORD /d "1" /f>nul
  31. echo.
  32. echo 正在桌面上显示我的电脑和我的文档
  33. reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d "0" /f>nul
  34. reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{450D8FBA-AD25-11D0-98A8-0800361B1103}" /t REG_DWORD /d "0" /f>nul
  35. ::这段是字体,大家自己改
  36. copy e:\myfonts\bird*.ttf %windir%\fonts
  37. echo.
  38. echo 正在注册BirdMan Bold字体...
  39. REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Birdman Bold (TrueType)" /d "Birdman Bold.ttf">nul
  40. echo 正在注册BirdMan Light字体...
  41. REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Birdman Light (TrueType)" /d "Birdman Light.ttf">nul
  42. ::字体设置结束
  43. echo.
  44. echo 结束了.:) ... 按任意键退出...
  45. pause>nul && exit
复制代码
posted @ 2009-04-27 16:17  dzqabc  阅读(515)  评论(0编辑  收藏  举报