TMAegisBeta
Weitere Regeln für intune-office

Intune: Microsoft Office

TMA-INTUNE-OFFICE-2.3.27.11

Ensure 'Disable password to open UI' is set to 'Disabled'

HochStufe 1Automatisiertintune-office

Beschreibung

This policy setting controls whether Office users can add password encryption to documents. (Users would access this feature in Microsoft Office tab--click Info, click Protect Document, then click Encrypt with Password.) The recommended state for this setting is: Disabled. Audit: reads the registry value(s) disablepasswordui that the Intune policy writes for every loaded user profile (HKEY_USERS) and prints compliant only when each satisfies the benchmark value.

So wird geprüft

Prüfmethode: Windows-Registrierung

registry
$bad = @(); $bad += @(Get-ChildItem Registry::HKEY_USERS | Where-Object { $_.PSChildName -match '^S-1-5-21-\d+-\d+-\d+-\d+$' } | ForEach-Object { $v = (Get-ItemProperty -Path ('Registry::HKEY_USERS\' + $_.PSChildName + '\SOFTWARE\Policies\Microsoft\office\16.0\common\security') -Name 'disablepasswordui' -ErrorAction SilentlyContinue).'disablepasswordui'; if (-not ($null -ne $v -and @(0) -contains [int64]$v)) { $_.PSChildName + ':disablepasswordui=' + $v } }); if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

To establish the recommended state via configuration profiles, set the following Settings Catalog path to Disabled: Microsoft Office 2016\Security Settings\Disable password to open UI

Eigenschaften

Betriebssysteme
Beliebig
Tags
intune-officeintuneregistry
Referenz
CIS Microsoft Intune for Office Benchmark v1.1.0 - 2.3.27.11 Ensure 'Disable password to open UI' is set to 'Disabled'

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target intune-office