--- title: "使用命令列設定 HP Insights 代理程式安裝程式" slug: "windows-application-command-line-parameters" tags: ["Workforce Experience Platform", "Onboarding", "Command Line"] updated: 2026-04-29T22:41:06Z published: 2026-04-29T22:41:06Z canonical: "learn.workforceexperience.hp.com/windows-application-command-line-parameters" --- > ## Documentation Index > Fetch the complete documentation index at: https://learn.workforceexperience.hp.com/llms.txt > Use this file to discover all available pages before exploring further. # 使用命令列設定 HP Insights 代理程式安裝程式 ## **介绍** 使用 setup.exe 跨多個裝置部署 HP Workforce Experience Platform (WXP) 的 HP Insights Windows 應用程式 (也稱為 Windows 代理程式) 時,建議自動執行安裝程序,特別是對於無訊息和大規模部署。為了支援此類自動化,setup.exe安裝程式提供了一系列命令列選項,以幫助簡化入職並減少手動工作。 本文提供使用 setup.exe 安裝程式設定 Windows 代理程式的詳細命令列選項,這通常在將新裝置上線至 WXP 期間使用。這些選項可讓您 (IT 系統管理員) 跨各種部署案例自動化和自訂安裝,包括: - 使用公司 PIN 碼或序號大量註冊 - 無訊息安裝和 UI 隱藏 - 自動更新設定和停用 - 用於疑難排解部署的記錄選項 > 附註: 命令列選項不區分大小寫。 | **開關** | **預設值** | **例** | **劇本** | | --- | --- | --- | --- | | CPIN | 0 | Setup.exe CPIN=XXXXX | 若要使用公司密碼大量註冊 | | 中興模式 | 0 | Setup.exe中興模式=0 | 使用序號大量註冊 | | 隱藏托盤 | 偽 | Setup.exe HIDETRAY=True | 若要隱藏系統匣圖示和所有通知: - 網域不符沒有警告 - 沒有網域不相符的同意/不同意對話方塊 - 托盤圖標將不可見,但會在任務管理器中運行 | | 默 | | Setup.exe /silent CPIN=xxxxxx Setup.exe /靜音 ZTEMODE=0 | 靜默安裝必須與 CPIN 或 ZTEMODE 交換器結合使用 | | UPDATEBEFOREENROLL=0 | 1 | Setup.exe /silent CPIN=xxxxxx UPDATEBEFOREENROLL=0 | 根據預設,HP Insights 會嘗試將軟體更新至最新版本;在使用此參數 關閉註冊之前明確自動更新 | | 停用自動更新 | 偽 | Setup.exe /silent CPIN=xxxxxx DISABLEAUTOUPDATE=True | DISABLEAUTOUPDATE 會永久封鎖 HP Insights 代理程式的自動更新;它 通常用於更新控制權由管理員控制的 Kiosk 裝置 | | 安裝 Shield 交換器以收集安裝程式記錄 | | Setup.exe /debuglog“C:\*PathToLog\LogName*.log” | 產生 Setupexe 記錄和 setupMSI 記錄 | ### 聯絡我們 如需任何協助,請[建立支援案例](/wxp/docs/zh-tw/creating-a-support-case#簡介)或來信至 [**support@wxp.hp.com**](mailto:support@wxp.hp.com)。 ## Related - [使用 setup.exe 安裝 WXP Insights Windows 應用程式](/installing-hp-insights-windows-application-using-setupexe.md)