關於 Client 組態設定 (Windows 10/11)

適用於:

  • Windows 10
  • Windows 11

Microsoft Application Virtualization (App-V) 用戶端會將其設定儲存在登錄中。 了解登錄器資料格式的運作方式可協助您更了解用戶端,因為您可以藉由變更登錄項目來設定許多用戶端動作。 本主題列出 App-V 用戶端組態設定,並說明其用途。 您可以使用 Windows PowerShell 修改用戶端組態設定。 如需使用 Windows PowerShell 和 App-V 的詳細資訊,請參閱使用 Windows PowerShell 管理 App-V。

您可以使用 群組原則 透過瀏覽至 [電腦設定>系統管理範本>>系統 App-V] 中的 群組原則 管理主控台來設定App-V 用戶端設定。

App-V 用戶端組態設定:Windows PowerShell

下表提供可透過 Windows PowerShell Cmdlet 設定的 App-V 用戶端組態設定相關資訊:

Windows PowerShell Cmdlet 或 Cmdlet,
選項
類型
描述 停用的原則狀態索引鍵和值
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-PackageInstallationRoot
字串
指定將安裝所有新應用程式和更新的目錄。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-PackageSourceRoot
字串
覆寫下載套件內容的來源位置。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-AllowHighCostLaunch
啟用 True () ;False (停用狀態)
此設定可控制虛擬化應用程式是否在由計量付費網路連線 (例如 4G) 連線的 Windows 用戶端電腦上啟動。 0
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReestablishmentRetries
整數 (0–99)
指定重試已卸除工作階段的次數。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReestablishmentInterval
整數 (0–3600)
指定嘗試重新建立已卸除的工作階段之間的秒數。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-LocationProvider
字串
指定 IAppvPackageLocationProvider 介面之相容實作的 CLSID。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-CertFilterForClientSsl
字串
指定憑證存放區中有效憑證的路徑。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-VerifyCertificateRevocationList
啟用 True () ;False (停用狀態)
在使用 HTTPS 串流之前驗證伺服器憑證撤銷狀態。 0
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-SharedContentStoreMode
啟用 True () ;False (停用狀態)
指定不會將串流的套件內容儲存至本機硬碟。 0
Set-AppvPublishingServer

-名稱
字串
顯示發佈伺服器的名稱。 未寫入原則值 (與未設定) 相同
Set-AppvPublishingServer

-URL
字串
顯示發佈伺服器的 URL。 未寫入原則值 (與未設定) 相同
Set-AppvPublishingServer

-GlobalRefreshEnabled
啟用 True () ;False (停用狀態)
啟用布林值) (全域發佈重新整理 False
Set-AppvPublishingServer

-GlobalRefreshOnLogon
啟用 True () ;False (停用狀態)
在登入時觸發全域發佈重新整理。 (布林值) False
Set-AppvPublishingServer

-GlobalRefreshInterval
整數 (0–744)
使用 GlobalRefreshIntervalUnit 指定發佈重新整理間隔。 若要停用套件重新整理,請指定 0。 0
Set-AppvPublishingServer

-GlobalRefreshIntervalUnit
0 代表小時,1 代表天
指定間隔單位 (小時 0-23,第 0-31 天) 。 1
Set-AppvPublishingServer

-UserRefreshEnabled
啟用 True () ;False (停用狀態)
啟用使用者發佈重新整理 (布林值) False
Set-AppvPublishingServer

-UserRefreshOnLogon
啟用 True () ;False (停用狀態)
在登入時觸發使用者發佈重新整理。 (布林值) Word 計數 (,空格) :60 False
Set-AppvPublishingServer

-UserRefreshInterval
空格) 的Word計數 (:85
整數 (0–744 小時)
使用 UserRefreshIntervalUnit 指定發佈重新整理間隔。 若要停用套件重新整理,請選取 0。 0
Set-AppvPublishingServer

-UserRefreshIntervalUnit
0 代表小時,1 代表天
指定間隔單位 (小時 0-23,第 0-31 天) 。 1
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-MigrationMode
True (啟用狀態) ;False (停用狀態)
移轉模式可讓 App-V 用戶端修改先前版本 App-V 所建立套件的捷徑和 FTA。
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-EnablePackageScripts
啟用 True () ;False (停用狀態)
啟用應執行之組態檔的套件資訊清單中所定義的指令碼。
Set-AppvClientConfiguration

-RoamingFileExclusions
字串
指定相對於 %userprofile% 的檔案路徑,且不會隨使用者設定檔漫遊。 例如, /ROAMINGFILEEXCLUSIONS='desktop;my pictures'
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-RoamingRegistryExclusions
字串
指定不以使用者設定檔漫遊的登錄路徑。 例如, /ROAMINGREGISTRYEXCLUSIONS=software\\classes;software\\clients 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-IntegrationRootUser
字串
指定建立與每位使用者已發佈套件目前版本相關聯的符號連結的位置。 所有虛擬應用程式延伸模組,例如捷徑和檔案類型關聯,都會指向此路徑。 如果您未指定路徑,發佈套件時將不會使用符號連結。 例如,%localappdata%\\Microsoft\\AppV\\Client\\Integration。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-IntegrationRootGlobal
字串
指定建立與全域發佈套件目前版本相關聯的符號連結的位置。 所有虛擬應用程式延伸模組,例如捷徑和檔案類型關聯,都會指向此路徑。 如果您未指定路徑,發佈套件時將不會使用符號連結。 例如,%allusersprofile%\\Microsoft\\AppV\\Client\\Integration。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-VirtualizableExtensions
字串
以逗號分隔的副檔名清單,可用來判斷本機安裝的應用程式是否可以在虛擬環境中執行。 在發佈期間建立捷徑、FTA 和其他擴充點時,如果與擴充點關聯的應用程式是在本機安裝,App-V 會將檔案副檔名與清單進行比較。 如果找到擴充功能,將會新增 RunVirtual 命令列參數,並且應用程式將會虛擬執行。 如需 RunVirtual 參數的詳細資訊,請參閱 在具有虛擬化應用程式的虛擬環境中執行本機安裝的應用程式。 未寫入原則值
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReportingEnabled
啟用 True () ;False (停用狀態)
將資訊傳回至報表伺服器。 False
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReportingServerURL
字串
指定報告伺服器上儲存用戶端資訊的位置。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReportingDataCacheLimit
整數 [0–1024]
指定用來儲存報表資訊的 XML 快取大小上限 () MB 以 MB 為單位。 大小會套用至記憶體中的快取。 當達到限制時,記錄檔將會變換。 設定在 0 到 1024 之間。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReportingDataBlockSize
整數 [1024 - 無限制]
指定傳輸至伺服器以報告上傳要求的大小上限。 當日誌達到顯著大小時,此限制有助於避免永久傳輸失敗。 設定在 1024 和無限制之間。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReportingStartTime
整數 (0–23)
指定起始用戶端以將資料傳送至報告伺服器的時間。 您必須指定一個介於 0 到 23 之間的有效整數,對應至當天的小時。 根據預設, ReportingStartTime 會在當天的晚上 10 點或 22 點開始。
備註 您應該將此設定設定為執行 App-V 用戶端的電腦最不可能離線的時間。
未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReportingInterval
整數
指定用戶端用來將資料重新傳送至報表伺服器的重試間隔。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ReportingRandomDelay
整數 [0 - ReportingRandomDelay]
指定要傳送至報表伺服器之資料的最大延遲 () 分鐘。 當排程的工作啟動時,用戶端會產生 0 和 ReportingRandomDelay 之間的隨機延遲,並在傳送資料之前等待指定的持續時間。 這個方法有助於防止伺服器衝突。 未寫入原則值 (與未設定) 相同
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-EnableDynamicVirtualization
1 (已啟用) ,0 (已停用)
讓支援的 Shell 擴充功能、瀏覽器協助程式物件和 Active X 控制項虛擬化並與虛擬應用程式一起執行。
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-EnablePublishingRefreshUI
1 (已啟用) ,0 (已停用)
為執行 App-V Client 的電腦啟用發佈重新整理進度列。
Sync-AppvPublishingServer

-HidePublishingRefreshUI
1 (已啟用) ,0 (已停用)
隱藏發佈重新整理進度列。
Set-AppvClientConfiguration,
Set-AppvPublishingServer

-ProcessesUsingVirtualComponents
字串
指定可能包含萬用字元的處理程序路徑 (清單,這些萬用字元) 可使用動態虛擬化 (,例如支援的殼層擴充功能、瀏覽器協助程式物件和 ActiveX 控制項) 。 只有完整路徑符合其中一個項目的處理程序才能使用動態虛擬化。 空字串。

App-V 用戶端組態設定: 登錄機碼

下表提供可透過登錄設定的 App-V 用戶端組態設定的相關資訊:

設定名稱
類型
登錄機碼值 停用的原則狀態索引鍵和值
PackageInstallationRoot
字串
Streaming\PackageInstallationRoot 未寫入原則值 (與未設定) 相同
PackageSourceRoot
字串
Streaming\PackageSourceRoot 未寫入原則值 (與未設定) 相同
AllowHighCostLaunch
已啟用 True () ;False (停用狀態)
Streaming\AllowHighCostLaunch 0
ReestablishmentRetries
整數 (0–99)
Streaming\ReestablishmentRetries 未寫入原則值 (與未設定) 相同
ReestablishmentInterval
整數 (0–3600)
Streaming\ReestablishmentInterval 未寫入原則值 (與未設定) 相同
LocationProvider
字串
Streaming\LocationProvider 未寫入原則值 (與未設定) 相同
CertFilterForClientSsl
字串
Streaming\CertFilterForClientSsl 未寫入原則值 (與未設定) 相同
VerifyCertificateRevocationList
已啟用 True () ;False (停用狀態)
Streaming\VerifyCertificateRevocationList 0
SharedContentStoreMode
已啟用 True () ;False (停用狀態)
Streaming\SharedContentStoreMode 0
名稱
字串
Publishing\Servers{serverId}\FriendlyName 未寫入原則值 (與未設定) 相同
URL
字串
Publishing\Servers{serverId}\URL 未寫入原則值 (與未設定) 相同
GlobalRefreshEnabled
已啟用 True () ;False (停用狀態)
Publishing\Servers{serverId}\GlobalEnabled False
GlobalRefreshOnLogon
已啟用 True () ;False (停用狀態)
Publishing\Servers{serverId}\GlobalLogonRefresh False
GlobalRefreshInterval
整數 (0–744)
Publishing\Servers{serverId}\GlobalPeriodicRefreshInterval 0
GlobalRefreshIntervalUnit
0 代表小時,1 代表天
Publishing\Servers{serverId}\GlobalPeriodicRefreshIntervalUnit 1
UserRefreshEnabled
已啟用 True () ;False (停用狀態)
Publishing\Servers{serverId}\UserEnabled False
UserRefreshOnLogon
已啟用 True () ;False (停用狀態)
Publishing\Servers{serverId}\UserLogonRefresh False
UserRefreshInterval
Word Count (空格) :85;整數 (0–744 小時)
Publishing\Servers{serverId}\UserPeriodicRefreshInterval 0
UserRefreshIntervalUnit
0 代表小時,1 代表天
Publishing\Servers{serverId}\UserPeriodicRefreshIntervalUnit 1
MigrationMode
True (啟用狀態) ;False (停用狀態)
共存\MigrationMode
EnablePackageScripts
已啟用 True () ;False (停用狀態)
\Scripting\EnablePackageScripts
RoamingFileExclusions
字串
RoamingRegistryExclusions
字串
Integration\RoamingRegistryExclusions 未寫入原則值 (與未設定) 相同
IntegrationRootUser
字串
Integration\IntegrationRootUser 未寫入原則值 (與未設定) 相同
IntegrationRootGlobal
字串
Integration\IntegrationRootGlobal 未寫入原則值 (與未設定) 相同
VirtualizableExtensions
字串
Integration\VirtualizableExtensions 未寫入原則值
ReportingEnabled
已啟用 True () ;False (停用狀態)
Reporting\EnableReporting False
ReportingServerURL
字串
Reporting\ReportingServer 未寫入原則值 (與未設定) 相同
ReportingDataCacheLimit
整數 [0–1024]
Reporting\DataCacheLimit 未寫入原則值 (與未設定) 相同
ReportingDataBlockSize
整數 [1024–無限制]
Reporting\DataBlockSize 未寫入原則值 (與未設定) 相同
ReportingStartTime
整數 (0–23)
Reporting\ StartTime 未寫入原則值 (與未設定) 相同
ReportingInterval
整數
Reporting\RetryInterval 未寫入原則值 (與未設定) 相同
ReportingRandomDelay
整數 [0 - ReportingRandomDelay]
Reporting\RandomDelay 未寫入原則值 (與未設定) 相同
EnableDynamicVirtualization
1 (已啟用) ,0 (已停用)
HKEY_LOCAL_MACHINE\Software\Microsoft\AppV\Client\Virtualization
EnablePublishingRefreshUI
1 (已啟用) ,0 (已停用)
HKEY_LOCAL_MACHINE\Software\Microsoft\AppV\Client\Publishing
HidePublishingRefreshUI
1 (已啟用) ,0 (已停用)
ProcessesUsingVirtualComponents
字串
Virtualization\ProcessesUsingVirtualComponents 空字串。