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

Windows 系統目錄結構深度解析:從 Win98 到 Win2003 的演進與關鍵資料夾功能對照

編輯:Windows 2003 系統技巧

前言:系統目錄是作業系統的「大腦中樞」

系統目錄存放核心執行檔、驅動程式、登錄蜂房、服務資料庫、使用者設定檔等關鍵資料。了解各版本目錄佈局差異,有助於故障排除、備份規劃、安全性稽核與遷移作業。

版本演進時間軸

版本系統目錄使用者設定檔位置備註
Windows 98/MeC:\WindowsC:\Windows\All Users / Profiles\使用者名單使用者導向、無安全性隔離
Windows 2000C:\WINNTC:\Documents and Settings\使用者名引入多使用者、NTFS 權限、登錄蜂房分離
Windows XP/Server 2003C:\WINDOWSC:\Documents and Settings\使用者名合併消費者/企業代碼庫、預設啟用快速使用者切換 (XP)
Windows Vista/7/2008+C:\WindowsC:\Users\使用者名移除 Documents and Settings、引入符號連結相容

關鍵系統子目錄功能詳細表

資料夾 (相對系統根目錄)98/Me2000/XP/2003核心功能
All Users / Public有有 (2000/XP/2003: Documents and Settings\All Users)預設使用者設定檔範本來源、共用桌面/開始功能表/啟動群組
Application Data / AppData\Roaming有有 (每使用者獨立)應用程式設定、外掛、範本、Outlook .pst、瀏覽器書籤等漫遊資料
Applog有無 (併入 Prefetch/ReadyBoot)應用程式啟動順序記錄,供預讀最佳化 (9x 專有)
Catroot / Catroot2有有 (System32\Catroot)目錄資料庫:驅動程式簽章、Windows Update 套件目錄、檔案簽名驗證
Command有無 (命令移至 System32)DOS 外部命令 (format, fdisk, scandisk 等),9x 救援模式關鍵
Config有有MIDI 樂器定義、系統組態資料
Cookies有有 (每使用者)IE/Edge Cookie 儲存、工作階段追蹤、驗證 Token
Cursors有有滑鼠游標動畫 (.ani/.cur)
Driver Cache / DriverStore有 (Driver Cache\i386)有 (DriverStore\FileRepository)驅動程式備份庫,PnP 安裝無需插光碟
Fonts有有系統字型 (.ttf/.fon/.otf)
Help有有CHM/HLP 說明檔
IME / InputMethod有有輸入法編輯器元件 (中文/日文/韓文)
Inf有有安裝資訊檔 (.inf)、PnP 硬體 ID 對應、sysoc.inf 元件清單
Media有有系統音效 (.wav)、預設影片
Registration有有COM 元件註冊資料庫 (註冊表映射)
Repair有有 (System32\Repair)安裝時註冊表/系統檔案備份,緊急修復磁碟來源
Security無有安全性範本、稽核原則、SCW 輸出
SoftwareDistribution無有Windows Update 下載快取、安裝狀態
System / System32SystemSystem32 (64-bit: SysWOW64 存 32-bit)核心心臟:kernel32.dll、ntoskrnl.exe、drivers、services.exe、lsass.exe、登錄蜂房 (config)、事件日誌、WMI 儲存庫
Tasks有有排程工作 (.job)
Temp / Temporary Internet Files有有 (每使用者 + 系統)暫存檔、IE 快取、安裝解壓縮暫存
WinSxS無有 (XP SP2+/2003 SP1+)並存組件存放區 (Side-by-Side),元件版本隔離、SFC 修復來源

實務應用場景

  • 備份還原:系統狀態備份 (ntbackup/ASR) 包含 System32\config (登錄)、Sysvol、Cert DB、COM+、IIS Metabase,不含完整 Windows 目錄。
  • 病毒掃描排除:排除 System32\config、WinSxS、SoftwareDistribution、DriverStore 避免誤殺/效能影響。
  • 遷移使用者設定:USMT (User State Migration Tool) 遷移 Documents and Settings / Users 下的 Application Data、Desktop、Favorites、Cookies 等。
  • 磁碟空間回收:清理 Temp、Temporary Internet Files、SoftwareDistribution\Download、舊版驅動 (DriverStore 排程清理)、WinSxS (DISM /StartComponentCleanup)。

安全性注意事項

  • System32\config 下的 SAM、SYSTEM、SECURITY、SOFTWARE、DEFAULT 蜂房檔案權限僅限 SYSTEM、Administrators 存取,任何嘗試讀取/複製皆觸發稽核。
  • WinSxS 為硬連結架構,實際佔用空間遠小於顯示大小,嚴禁手動刪除,否則導致 SFC 修復失敗、更新無法安裝、應用程式崩潰。
Copyright © Windows教程網 All Rights Reserved