Configurer les icônes de présence : valeur de Registre turnoffpresenceiconUtilisateurHKCU\software\policies\microsoft\office\16.0\common\im
- ID de stratégie
- L_ConfigurePresenceIcons
- Étendue
- Configuration utilisateur
- Pris en charge sur
- Au minimum Windows Server 2008 R2 ou Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Catégorie
- Microsoft Office 2016 › Carte de visite
Registre
turnoffpresenceicon
REG_DWORDUtilisateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- -
| Entrée | Valeur stockée |
|---|---|
| Afficher toutes les icônes | 0 |
| Afficher certaines icônes | 1 |
| N’afficher aucune icône | 2 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\im] ; Options (en utiliser une seule) ; Afficher toutes les icônes "turnoffpresenceicon"=dword:00000000 ; Afficher certaines icônes "turnoffpresenceicon"=dword:00000001 ; N’afficher aucune icône "turnoffpresenceicon"=dword:00000002
CMD
:: Options (en utiliser une seule) :: Afficher toutes les icônes reg add "HKCU\software\policies\microsoft\office\16.0\common\im" /v "turnoffpresenceicon" /t REG_DWORD /d 0 /f :: Afficher certaines icônes reg add "HKCU\software\policies\microsoft\office\16.0\common\im" /v "turnoffpresenceicon" /t REG_DWORD /d 1 /f :: N’afficher aucune icône reg add "HKCU\software\policies\microsoft\office\16.0\common\im" /v "turnoffpresenceicon" /t REG_DWORD /d 2 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\im' -Force | Out-Null # Options (en utiliser une seule) # Afficher toutes les icônes New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\im' -Name 'turnoffpresenceicon' -PropertyType DWord -Value 0 -Force | Out-Null # Afficher certaines icônes New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\im' -Name 'turnoffpresenceicon' -PropertyType DWord -Value 1 -Force | Out-Null # N’afficher aucune icône New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\im' -Name 'turnoffpresenceicon' -PropertyType DWord -Value 2 -Force | Out-Null