已閱讀5頁,還剩2頁未讀, 繼續(xù)免費閱讀
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、進入:控制面板-系統(tǒng)-高級-環(huán)境變量2、單擊用戶變量中的TEMP-編輯-將那一長串內容變?yōu)镈:TEMP(根據你需要,可改成其它盤,但不是系統(tǒng)所在的就行了)3、同上,將TMP同樣改為D:TEMP。因為這些東西是讓你的系統(tǒng)盤快速膨脹的主要內患,其屬性是隱藏的,有些朋友還找不到呢!4、在“系統(tǒng)變量”同樣將TEMP和TMP改成上面的。5、右鍵單擊桌面“我的文檔”-屬性-目標文件夾中設置“目標文件夾位置”,將其改為D:MyDocuments或D:我的文檔(喜歡放在哪里,你自己說了算?。?,然后可選移動。這個很重要,事實上當我們的電腦崩潰后,在系統(tǒng)盤中一般沒有什么重要的東西,有用的都在MyDocuments中了,所以把它給挪個窩,你就什么也不用擔心了,還有,有相當一部分朋友在DOS模式下還不會備份MyDocuments中的內容(因為那個文件夾名稱很長,如果你恰好又用了中文,那就恭喜你:麻煩更大啦!)6、右鍵單擊InternetExplorer-屬性-常規(guī)-Internet臨時文件-設置-移動文件夾-選擇D:TemporaryInternetFiles(如果沒有,可先創(chuàng)建,當然可用D:TEMP或其它什么,你的地盤,當然是你說了算!)-確定!7、系統(tǒng)-高級-性能-設置-高級-虛擬內存-更改-選擇D或其它非系統(tǒng)分區(qū)-自定義大小-輸入大小M-設置;選C或系統(tǒng)所在分區(qū)-無分頁文件-設置-確定,這樣就把虛擬存儲器也轉到其他硬盤上了。ECHO offcolor 0aREM 2012.08.11REM 增加優(yōu)化自記功項功能REM 2012.05.01REM 區(qū)分服務器和非服務器(已取消)REM 2012.02.01REM 重點優(yōu)化了本地帳戶垃圾文件索引功能減少了循環(huán)次數以減小系統(tǒng)資源占用REM 修復細小Bug修復個別因命令書寫失誤導致的功能失效問題REM 2012.01.31REM 優(yōu)化了清理順序將需要重點清除和資源占用小的功能優(yōu)先執(zhí)行REM 2012.01.30REM 優(yōu)化更為徹底可全自動刪除域環(huán)境下所有本地帳戶下的垃圾文件、自動刪除系統(tǒng)更新遺留的補丁文件REM 針對家庭使用,增加了系統(tǒng)優(yōu)化功能自動判斷是否需要優(yōu)化,減少資源占用:echo 當前帳戶:%username%ECHO.ECHO =本程序用于服務器時具有相當的危險性,請參照本程序源碼REM操作!=REM 服務器操作時這部分操作請勿使用!否則本人概不負責!echo 禁止java后臺更新程序自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v SunJavaUpdateSched /f nul 2nulecho 禁止Adobe Reader升級程序自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v Adobe ARM /f nul 2nulreg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v Adobe Reader Speed Launcher /f nul 2nulreg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v Reader_sl /f nul 2nulecho 禁止飛信自啟動reg delete HKEY_LOCAL_userSOFTWAREMicrosoftWindowsCurrentVersionRun /v Fetion /f nul 2nulecho 禁止系統(tǒng)配置程序員自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v MSConfig /f nul 2nulecho 禁止日語輸入法自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v IMJPMIG8.1 /f nul 2nulecho 禁止微軟多語言支持自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v IMEKRMIG6.1 /f nul 2nulecho 禁止微軟IME輸入法組件自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v IMSCMig /f nul 2nulecho 禁止同步自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v Synchronization Manager /f nul 2nulecho 禁止微軟拼音輸入法2002自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v MSPY2002 /f nul 2nulecho 禁止微軟拼音輸入法組件自啟動reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v PHIME2002A /f nul 2nulreg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v PHIME2002ASync /f nul 2nulreg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v Microsoft Pinyin IME Migration /f nul 2nulTITLE 清理.bak備份文件-謹慎操作!del /f /s /q %windir%*.bakREM 用于服務器時請勿刪除日志!-謹慎操作!TITLE 用于服務器時請勿刪除日志!-謹慎操作!del /f /s /q %systemdrive%*.logREM 勿使用rd /s /q %windir%temp & md %windir%temp命令,否則服務器服務(如DB)容易出現問題!del /f/s /q %windir%temp*.*REM 若要清理幫助文件,將下面的:刪除即可rd /s /q %windir%helpECHO :1.清理局域網共享痕跡-注冊表:TITLE :1.清理局域網共享痕跡-注冊表:reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerWorkgroupCrawlerShares /f nul 2nul ECHO :2.清理運行或操作歷史記錄-注冊表:TITLE :2.清理運行或操作歷史記錄-注冊表:reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocsFolder /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.txt /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.rar /va /f nul 2nulreg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.mp3 /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.jpg /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.ini /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.bmp /va /f nul 2nulreg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.doc /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.eip /va /f nul 2nulreg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.htm /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.ico /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.inf /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.gif /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.wav /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.xls /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs.rm /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs /va /f nul 2nulreg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32LastVisitedMRU /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRU* /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUmp3 /va /f nul 2nulreg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUrm /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUwav /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUbat /va /f nul 2nulreg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUexe /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUeip /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUico /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUhtm /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRUjpg /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU /va /f nul 2nulreg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerStreamMRU /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist5E6AB780-7743-11CF-A12B-00AA004AE837Count /va /f nul 2nul reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist75048700-EF1F-11D0-9888-006097DEACF9Count /va /f nul 2nul reg delete HKCUSoftwareWinRARArcHistory /va /f nul 2nul reg delete HKCUSoftwareWinRARDialogEditHistoryArcName /va /f nul 2nulreg delete HKCUSoftwareWinRARDialogEditHistoryExtrPath /va /f nul 2nul reg delete HKCUSoftwareMicrosoftMediaPlayerPlayerRecentFileList /va /f nul 2nul reg delete HKCUSoftwareMicrosoftMicrosoft Management ConsoleRecent File List /va /f nul 2nul reg delete HKCUSoftwareMicrosoftOffice11.0PowerPointRecent File List /va /f nul 2nulreg delete HKCUSoftwareMicrosoftOffice11.0ExcelRecent File /va /f nul 2nulreg delete HKCUSoftwareMicrosoftOffice11.0WordData /v Settings /f nul 2nulreg delete HKCUSoftwareVMware, Inc. /va /f nul 2nulECHO :3.清理IE瀏覽歷史的下拉列表-注冊表:TITLE :3.清理IE瀏覽歷史的下拉列表-注冊表:reg delete HKCUSoftwareMicrosoftInternet ExplorerTypedUrls /va /f nul 2nul ECHO :4.正在清理常見系統(tǒng)垃圾文件,請退出360等程序:TITLE :4.正在清理常見系統(tǒng)垃圾文件,請退出360等程序:del /f /q %ALLUSERSPROFILE%DocumentsDrWatson*.*nul 2nul del /f /s /q %systemdrive%*.tmpdel /f /s /q %systemdrive%*._mpdel /f /s /q %systemdrive%*.giddel /f /s /q %systemdrive%*.chkdel /f /s /q %systemdrive%*.olddel /f /s /q %systemdrive%thumbs.dbdel /f /s /q %systemdrive%recycled*.*del /f /s /q %windir%system32dllcache*.*del /f /s /q %windir%prefetch*.*clsECHO :5.為安全起見,以下清理操作只對當前登錄帳戶有效:TITLE :5.為安全起見,以下清理操作只對當前登錄帳戶有效:del /f /s /q %tmp%*.*ECHO :6.清理文件緩存:TITLE :6.清理文件緩存:SFC /purgecacheclsECHO :7.清理系統(tǒng)升級補丁目錄:TITLE :7.清理系統(tǒng)升級補丁目錄: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.txtclsECHO :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.txtclsECHO
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度環(huán)保產業(yè)承包商借款合同范本3篇
- 習作:看圖畫寫一寫 說課稿-2023-2024學年統(tǒng)編版語文三年級下冊
- 定向越野 說課稿-2024-2025學年高一上學期體育與健康人教版必修第一冊
- 第三單元習作指導課《我來編童話》說課稿-2024-2025學年統(tǒng)編版語文三年級上冊
- 10-大家的“朋友”(說課稿)2023-2024學年統(tǒng)編版道德與法治三年級下冊
- 2025年度設備租賃合同標的為機器一臺2篇
- Module 10 Unit 2 Sam had lots of chocolate.(說課稿)-2023-2024學年外研版(三起)英語四年級下冊
- 二零二五年度GRC裝飾線條施工安全培訓與實施合同3篇
- 二零二五年度倉儲物流場地租賃合同范本14篇
- 印刷業(yè)網絡信息安全與防護考核試卷
- 小學二年級100以內進退位加減法800道題
- 2025年1月普通高等學校招生全國統(tǒng)一考試適應性測試(八省聯考)語文試題
- 《立式輥磨機用陶瓷金屬復合磨輥輥套及磨盤襯板》編制說明
- 保險公司2025年工作總結與2025年工作計劃
- 育肥牛購銷合同范例
- 暨南大學珠海校區(qū)財務辦招考財務工作人員管理單位遴選500模擬題附帶答案詳解
- DB51-T 2944-2022 四川省社會組織建設治理規(guī)范
- 2024北京初三(上)期末英語匯編:材料作文
- 市委組織部副部長任職表態(tài)發(fā)言
- HXD1D客運電力機車轉向架培訓教材
- 超星爾雅學習通【西方文論原典導讀(吉林大學)】章節(jié)測試附答案
評論
0/150
提交評論