Paramètres du serveur de publication 2
Publishing Server 2 Settings
Explication
Nom complet du serveur de publication : affiche le nom du serveur de publication.
URL du serveur de publication : affiche l’URL du serveur de publication.
Actualisation de publication globale : active l’actualisation de la publication globale (Booléen).
Actualisation de publication globale à l’ouverture de session : déclenche une actualisation de publication globale à l’ouverture de session (Booléen).
Intervalle d’actualisation de publication globale : spécifie l’interface de publication à l’aide de GlobalRefreshIntervalUnit. Pour désactiver l’actualisation du package, sélectionnez 0.
Unité d’intervalle d’actualisation de publication globale : spécifie l’unité d’intervalle (0 à 23 heures, 0 à 31 jours).
Actualisation de publication utilisateur : active l’actualisation de publication utilisateur (Booléen).
Actualisation de publication utilisateur à l’ouverture de session : déclenche une actualisation de publication utilisateur à l’ouverture de session (Booléen).
Intervalle d’actualisation de publication utilisateur : spécifie l’intervalle d’actualisation de publication à l’aide de UserRefreshIntervalUnit. Pour désactiver l’actualisation du package, sélectionnez 0.
Unité d’intervalle d’actualisation de publication utilisateur : spécifie l’unité d’intervalle (0 à 23 heures, 0 à 31 jours).
Publishing Server Display Name: Displays the name of publishing server.
Publishing Server URL: Displays the URL of publishing server.
Global Publishing Refresh: Enables global publishing refresh (Boolean).
Global Publishing Refresh On Logon: Triggers a global publishing refresh on logon (Boolean).
Global Publishing Refresh Interval: Specifies the publishing refresh interval using the GlobalRefreshIntervalUnit. To disable package refresh, select 0.
Global Publishing Refresh Interval Unit: Specifies the interval unit (Hour 0-23, Day 0-31).
User Publishing Refresh: Enables user publishing refresh (Boolean).
User Publishing Refresh On Logon: Triggers a user publishing refresh on logon (Boolean).
User Publishing Refresh Interval: Specifies the publishing refresh interval using the UserRefreshIntervalUnit. To disable package refresh, select 0.
User Publishing Refresh Interval Unit: Specifies the interval unit (Hour 0-23, Day 0-31).
Registre
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\2- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : appv/Publishing_Server2_Policy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\2'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Nom complet du serveur de publication
Set-ItemProperty -Path $k -Name 'Name' -Value '<valeur>' -Type String
# URL du serveur de publication
Set-ItemProperty -Path $k -Name 'URL' -Value '<valeur>' -Type String
# Actualisation de publication globale
# Options possibles :
# False = 0
# True = 1
Set-ItemProperty -Path $k -Name 'GlobalEnabled' -Value 0 -Type DWord
# Actualisation de publication globale à l’ouverture de session
# Options possibles :
# False = 0
# True = 1
Set-ItemProperty -Path $k -Name 'GlobalLogonRefresh' -Value 0 -Type DWord
# Intervalle d’actualisation de publication globale
Set-ItemProperty -Path $k -Name 'GlobalPeriodicRefreshInterval' -Value 0 -Type DWord # entre 0 et 31
# Unité d’intervalle d’actualisation de publication globale
# Options possibles :
# Hour = 0
# Day = 1
Set-ItemProperty -Path $k -Name 'GlobalPeriodicRefreshIntervalUnit' -Value 1 -Type DWord
# Actualisation de publication utilisateur
# Options possibles :
# False = 0
# True = 1
Set-ItemProperty -Path $k -Name 'UserEnabled' -Value 1 -Type DWord
# Actualisation de publication utilisateur à l’ouverture de session
# Options possibles :
# False = 0
# True = 1
Set-ItemProperty -Path $k -Name 'UserLogonRefresh' -Value 1 -Type DWord
# Intervalle d’actualisation de publication utilisateur
Set-ItemProperty -Path $k -Name 'UserPeriodicRefreshInterval' -Value 1 -Type DWord # entre 0 et 31
# Unité d’intervalle d’actualisation de publication utilisateur
# Options possibles :
# Hour = 0
# Day = 1
Set-ItemProperty -Path $k -Name 'UserPeriodicRefreshIntervalUnit' -Value 1 -Type DWordDésactiver
# Désactiver : appv/Publishing_Server2_Policy
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : appv/Publishing_Server2_Policy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\2'
Remove-ItemProperty -Path $k -Name 'Name' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'URL' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'GlobalEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'GlobalLogonRefresh' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'GlobalPeriodicRefreshInterval' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'GlobalPeriodicRefreshIntervalUnit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UserEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UserLogonRefresh' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UserPeriodicRefreshInterval' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UserPeriodicRefreshIntervalUnit' -ErrorAction SilentlyContinueOptions (10)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Nom complet du serveur de publicationPublishing Server Display NamePublishing_Server2_Name_Prompt | Zone de textetext | Name | REG_SZ | Obligatoire · Défaut (interface) : Server 2 | ||||||
| URL du serveur de publicationPublishing Server URLPublishing_Server_URL_Prompt | Zone de textetext | URL | REG_SZ | Obligatoire | ||||||
| Actualisation de publication globaleGlobal Publishing RefreshGlobal_Publishing_Refresh_Options | Liste déroulanteenum | GlobalEnabled | REG_DWORD | Choix par défaut (interface) : n° 0
| ||||||
| Actualisation de publication globale à l’ouverture de sessionGlobal Publishing Refresh On LogonGlobal_Refresh_OnLogon_Options | Liste déroulanteenum | GlobalLogonRefresh | REG_DWORD | Choix par défaut (interface) : n° 0
| ||||||
| Intervalle d’actualisation de publication globaleGlobal Publishing Refresh IntervalGlobal_Refresh_Interval_Prompt | Zone numériquedecimal | GlobalPeriodicRefreshInterval | REG_DWORD | Min : 0 · Max : 31 · Défaut (interface) : 0 | ||||||
| Unité d’intervalle d’actualisation de publication globaleGlobal Publishing Refresh Interval UnitGlobal_Refresh_Unit_Options | Liste déroulanteenum | GlobalPeriodicRefreshIntervalUnit | REG_DWORD | Choix par défaut (interface) : n° 1
| ||||||
| Actualisation de publication utilisateurUser Publishing RefreshUser_Publishing_Refresh_Options | Liste déroulanteenum | UserEnabled | REG_DWORD | Choix par défaut (interface) : n° 1
| ||||||
| Actualisation de publication utilisateur à l’ouverture de sessionUser Publishing Refresh On LogonUser_Refresh_OnLogon_Options | Liste déroulanteenum | UserLogonRefresh | REG_DWORD | Choix par défaut (interface) : n° 1
| ||||||
| Intervalle d’actualisation de publication utilisateurUser Publishing Refresh IntervalUser_Refresh_Interval_Prompt | Zone numériquedecimal | UserPeriodicRefreshInterval | REG_DWORD | Min : 0 · Max : 31 · Défaut (interface) : 1 | ||||||
| Unité d’intervalle d’actualisation de publication utilisateurUser Publishing Refresh Interval UnitUser_Refresh_Unit_Options | Liste déroulanteenum | UserPeriodicRefreshIntervalUnit | REG_DWORD | Choix par défaut (interface) : n° 1
|