AuditUser 設定階段會在「稽核模式」中,于使用者內容中處理自動 Windows®安裝設定。The auditUser configuration pass processes unattended Windows® Setup settings in user context in audit mode. AuditUser 設定階段一律會在 auditSystem階段之後執行,這是用來在系統內容中套用設定。The auditUser configuration pass always runs after the auditSystem pass, which is used to apply settings in system context. AuditUser 設定階段通常是用來執行 RunSynchronousRunAsynchronous 命令。Typically, the auditUser configuration pass is used to execute RunSynchronous or RunAsynchronous commands. 這些命令則用於在稽核模式下執行指令檔、應用程式或其他可執行檔。These commands are used to run scripts, applications, or other executables during audit mode. 當 Windows 開機進入稽核模式時,系統會處理自動 Windows 安裝程式的 auditSystem 和 auditUser 設定。When Windows boots to audit mode, the auditSystem and auditUser settings for unattended Windows Setup are processed.


您不需要明確地啟用內建的系統管理員帳戶,或使用回應檔案指定帳戶的登入,以便在 auditSystem 和 auditUser 階段中執行命令。It is not necessary to explicitly enable the built-in Administrator account or specify an autologon of the account using an answer file in order to run commands in the auditSystem and auditUser passes. 這樣做可能會讓映射或裝置無法成功進入 (OOBE) 的現成體驗。Doing so can prevent the image or device from entering the Out-Of-Box Experience (OOBE) successfully. 當開機進入稽核模式時,內建的系統管理員帳戶會自動啟用,預設會在 auditUser 階段期間用來執行腳本,並用於自動登入。When booting into Audit Mode, the built-in Administrator account is automatically enabled, is used to run scripts during auditUser pass by default, and is used to sign in automatically.

Audit 模式可讓 Oem 和公司將其他設備磁碟機、應用程式和其他更新安裝到主 Windows®映射。Audit mode enables OEMs and corporations to install additional device drivers, applications, and other updates to a master Windows® image. 您可以使用「稽核模式」來維護較少的映射,因為您可以使用一組基本的驅動程式和應用程式來建立參照映射。By using audit mode, you can maintain fewer images because you can create a reference image with a minimal set of drivers and applications. 然後,您可以在「審核」模式期間,使用額外的驅動程式更新參照映射。The reference image can then be updated with additional drivers during audit mode. 此外,您還可以在將電腦寄送給客戶之前,測試及解決 Windows 映像上安裝錯誤或不正確的任何問題。Additionally, you can test and resolve any issues related to malfunctioning or incorrectly installed devices on the Windows image before shipping the computer to a customer. 稽核模式是選用的。Audit mode is optional.

下圖說明在「稽核模式」中處理 auditUser 設定階段的時間。The following diagram illustrates when the auditUser configuration pass is processed in audit mode.

auditmode 設定階段

只有當您將 Windows 安裝程式設定為開機進入稽核模式時,才會執行 auditUser 設定階段。The auditUser configuration pass runs only when you configure Windows Setup to boot into audit mode. 您可以使用 sysprep/auditsysprep/generalize/audit 命令開機至 audit 模式,也可以在 Microsoft Windows 部署元件中指定重新 封裝 設定。You can boot to audit mode by using the sysprep /audit or sysprep /generalize /audit commands, or you can specify the Reseal setting in the Microsoft-Windows-Deployment component. 如需 audit 模式的詳細資訊,請參閱 稽核模式總覽開機 Windows 至 AUDIT 模式或 OOBEFor more information about audit mode, see Audit Mode Overview and Boot Windows to Audit Mode or OOBE.

相關主題Related topics

設定階段運作方式How Configuration Passes Work