Office Admin Explorer

Benutzer am Ausführen von Microsoft Lync hindern

Registrierungswert
preventrun
GruppenrichtlinieBenutzer am Ausführen von Microsoft Lync hindern
Englische VersionPrevent users from running Microsoft Lync
Intune-EinstellungskatalogPrevent users from running Microsoft Lync
BereichComputer · HKLM
ADMXlync16.admx · L_PolicyPreventRun
Im interaktiven Explorer öffnen+ Zur Sammlung

Pfad der Gruppenrichtlinie

Computerkonfiguration\Richtlinien\Administrative Vorlagen\Skype for Business 2016\Microsoft Lync-Featurerichtlinien
Computer Configuration\Policies\Administrative Templates\Skype for Business 2016\Microsoft Lync Feature Policies

Registrierung

WertDaten
HKLM\Software\policies\microsoft\office\16.0\lync
preventrunEnabled = 1 · Disabled = 0

Nicht konfiguriert = der Wert existiert nicht – es gilt der Standard der Anwendung, Benutzer dürfen die Einstellung ändern.

PowerShell

Aktuellen Wert prüfen (nur lesen)

# --- Settings ---
$root = 'HKLM:'   # needs an elevated session

$key = "$root\Software\policies\microsoft\office\16.0\lync"
foreach ($name in @('preventrun')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}

Adminrechte nötig: HKLM-Werte brauchen eine PowerShell mit erhöhten Rechten.

Aktivieren

# --- Settings ---
$root = 'HKLM:'   # needs an elevated session

try {
    $key = "$root\Software\policies\microsoft\office\16.0\lync"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'preventrun' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Deaktivieren
# --- Settings ---
$root = 'HKLM:'   # needs an elevated session

try {
    $key = "$root\Software\policies\microsoft\office\16.0\lync"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'preventrun' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null   # Disabled
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Auf „Nicht konfiguriert“ zurücksetzen
# --- Settings ---
$root = 'HKLM:'   # needs an elevated session

$key = "$root\Software\policies\microsoft\office\16.0\lync"
Remove-ItemProperty -Path $key -Name 'preventrun' -ErrorAction SilentlyContinue
'Policy values removed (Not configured).'

Intune (Einstellungskatalog)

Prevent users from running Microsoft Lync

Einstellungskatalog → Einstellungen hinzufügen → nach dem Namen oben suchen.

Intune Settings Catalog Viewer ↗

Alternative: benutzerdefiniertes Profil (OMA-URI)
OMA-URI
./Device/Vendor/MSFT/Policy/Config/lync16v2~Policy~L_Lync~L_LyncConfiguration/L_PolicyPreventRun
DatentypString
Wert<enabled/> · <disabled/>

Cloud Policy

Nicht verfügbar: Cloud Policy setzt nur Benutzerrichtlinien, dies ist eine Computerrichtlinie (HKLM).

Erklärung von Microsoft

Hindert die Benutzer daran, Microsoft Lync auszuführen.

Wenn Sie diese Richtlinieneinstellung aktivieren, können Benutzer Microsoft Lync nicht ausführen.

Wenn Sie diese Richtlinieneinstellung deaktivieren oder nicht konfigurieren, können die Benutzer Microsoft Lync ausführen.

Hinweis: Sie können diese Richtlinieneinstellung sowohl unter "Computerkonfiguration" als auch unter "Benutzerkonfiguration" konfigurieren, jedoch hat die Richtlinieneinstellung unter "Computerkonfiguration" Vorrang.

Gleiche Kategorie: Skype for Business 2016 › Microsoft Lync-Featurerichtlinien

Alle Richtlinien dieser Kategorie · Alle 26 Richtlinien von lync16.admx