使用 Microsoft 登入
登入或建立帳戶。
您好:
選取其他帳戶。
您有多個帳戶
選擇您要用來登入的帳戶。

摘要

本文將告訴您在執行 MS-DOS 版本 (Scanreg.exe) 或 「 登錄檢查員 」 工具的 Windows 版本 (Scanregw.exe) 時,您可以使用的命令列參數。

其他相關資訊

語法

MS-DOS 版本:Scanreg.exe [/backup] [/restore] ["/ 註解 = <文字>"] [/fix] Scanreg.exe [備份] [/restore] ["/ 註解 = <文字>"] [/ 修正] [/ 選擇]Windows 版本:Scanregw.exe [/backup] ["註解 / = <文字>]] [/autoscan] [/scanonly] [檔名]

參數的描述

下表列出每個命令列參數和它的說明: Switch Description ---------------------------------------------------------------------- /backup Backs up the registry and related files without displaying any prompts. /restore Displays a list of available backup files, sorted by the date and time the backup was created. "/comment=<text>" Enables you to add a descriptive comment to the registry backup. /fix Repairs any damaged portions of the registry, and optimizes it by rebuilding it without unused space. /autoscan Automatically scans the registry and backs it up without displaying any prompts if there is no backup for that date. /scanonly Scans the registry and displays a message if any errors are found. This switch does not back up the registry. filename Scans the registry file specified and displays a message indicating whether or not any errors were found. This switch does not back up the registry. /opt The /opt command-line switch causes the Registry Checker tool to optimize the registry by removing unused space. 只有當您使用未加任何命令列參數的 [Scanregw.exe] 命令時,就會出現 [登錄掃描結果] 對話方塊。如果登錄未不發現任何錯誤當您執行 Scanregw.exe 時,會提示您建立一份備份您目前的登錄。"註解 / = < 文字 > 」 可以使用參數,是其本身,或是與 /backup 切換。比方說,您可以在命令提示字元輸入其中下列一行: scanreg.exe"/ 註解 = 這是登錄檔備份"scanreg.exe /backup"註解 / = 這是登錄檔備份"第一個命令列,會啟動 「 登錄檢查員 」 工具的圖形化使用者介面 (GUI),並提示您建立登錄檔備份。第二個命令列建立系統登錄的備份複本,並新增您的意見,不會啟動 「 登錄檢查員 」 工具 GUI。如需有關 「 登錄檢查員 」 工具的詳細資訊,請參閱下列文件的 「 Microsoft 知識庫 」 中的文件:

Windows 登錄檢查程式 」 工具 (Scanreg.exe) 的描述

如何自訂登錄檢查程式工具設定

錯誤訊息: 您還原良好的登錄如需有關如何使用 「 登錄檢查員 」 工具的詳細資訊,按一下 [開始],按一下 [說明]、 按一下 [索引] 索引標籤,輸入登錄,,然後按兩下 「 登錄檢查程式 」 主題。

需要更多協助嗎?

想要其他選項嗎?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

這項資訊有幫助嗎?

您對語言品質的滿意度如何?
以下何者是您會在意的事項?
按下 [提交] 後,您的意見反應將用來改善 Microsoft 產品與服務。 您的 IT 管理員將能夠收集這些資料。 隱私權聲明。

感謝您的意見反應!

×