XP系統安裝後常規設定

來源:互聯網
上載者:User

 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

複製代碼

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.