Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

XP 系統莫名其妙的 .TMP 檔案來源與清理全攻略

編輯:Windows XP 系統介紹

一、暫存檔產生來源

  • 位置:C:\Windows\Temp、C:\Documents and Settings\使用者\Local Settings\Temp。
  • 原因:系統異常關機、程式異常結束未清理、安裝程式解壓暫存檔。
  • 處理:大多無用,可直接刪除。

二、磁碟清理工具批次清除

  1. 「開始」→「所有程式」→「附屬應用程式」→「系統工具」→「磁碟清理」。
  2. 選系統碟 (通常 C:),掃描完成後全勾選「要刪除的檔案」→ 確定。

三、偵錯管理器 (mdm.exe) 產生 0 位元組 .TMP

  • 現象:C:\Windows 下出現大量長檔名、0 位元組 .TMP,刪除後又產生。
  • 原因:C:\Windows\System\mdm.exe (Machine Debug Manager) 為 Visual Studio/Office 偵錯元件。
  • 解法:
    1. 刪除或重命名 mdm.exe。
    2. 執行 msconfig →「啟動」取消勾選「Machine Debug Manager」。
    3. IE → 工具 → 網際網路選項 → 進階 → 勾選「停用指令碼偵錯」。

四、定期維護建議

  • 每週執行一次磁碟清理。
  • 若不開發程式,可直接移除「Machine Debug Manager」啟動項與 IE 偵錯功能。
  • 安裝程式產生的大型暫存檔 (如 C:\Windows\Temp\~*.tmp) 可手動清理。
Copyright © Windows教程網 All Rights Reserved