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

Win7 修改系統日誌儲存位置:登錄編輯指定自訂路徑

編輯:Windows 7 系統介紹

系統日誌預設儲存在 %SystemRoot%\System32\Config,可透過登錄修改 System 與 Application 日誌的 File 值指向自訂路徑,方便集中管理與備份。

修改 System 日誌路徑

1. 開啟 regedit 定位:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\System
雙擊右側 File 值,將預設 %SystemRoot%\System32\Config\SysEvent.Evt 改為新路徑。

修改 Application 日誌路徑

2. 同樣定位至:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
修改 File 值為新路徑。

重新開機生效,日誌將寫入指定位置,便於統一備份與查閱。

Copyright © Windows教程網 All Rights Reserved