Spotlight Collection Geblokkeerd

💼 Management Samenvatting

Windows Spotlight Collection verzamelt user feedback over lock screen images en moet worden geblokkeerd voor privacy.

Aanbeveling
IMPLEMENT
Risico zonder
Low
Risk Score
1/10
Implementatie
1u (tech: 0.5u)
Van toepassing op:
Windows 10
Windows 11

SPOTLIGHT COLLECTION: Windows vraagt users "Do you like Deze image?" op lock screen. Feedback sent to Microsoft cloud. PRIVACY: Tracking van user preferences, Image interaction telemetry. NO BUSINESS VALUE: Lock screen feedback irrelevant voor enterprise.

PowerShell Modules Vereist
Primary API: Intune / Group Policy
Connection: Registry
Required Modules:

Implementatie

Block Spotlight Collection: Various registry paths. EFFECT: No feedback prompts, No telemetry collected.

Vereisten

Windows 10/11

Implementatie

Gebruik PowerShell-script allow-spotlight-collection-user-is-set-to-0.ps1 (functie Invoke-Remediation) – Block Spotlight collection.

Monitoring

Gebruik PowerShell-script allow-spotlight-collection-user-is-set-to-0.ps1 (functie Invoke-Monitoring) – Verify collection blocked.

Compliance en Auditing

  1. AVG - Privacy
  2. BIO 14.02

Remediatie

Gebruik PowerShell-script allow-spotlight-collection-user-is-set-to-0.ps1 (functie Invoke-Remediation) – Herstellen.

Compliance & Frameworks

Automation

Gebruik het onderstaande PowerShell script om deze security control te monitoren en te implementeren. Het script bevat functies voor zowel monitoring (-Monitoring) als remediation (-Remediation).

PowerShell
<# .SYNOPSIS Intune Security Options: Spotlight Collection Disabled .DESCRIPTION CIS - Spotlight collection disabled. .NOTES Filename: spotlight-collection.ps1|Author: Nederlandse Baseline voor Veilige Cloud|Registry: HKCU:\SOFTWARE\Policies\Microsoft\Windows\CloudContent\DisableWindowsSpotlightFeatures|Expected: 1 #> #Requires -Version 5.1 #Requires -RunAsAdministrator [CmdletBinding()]param([switch]$WhatIf, [switch]$Monitoring, [switch]$Remediation, [switch]$Revert) $ErrorActionPreference = 'Stop'; $RegPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent"; $RegName = "DisableWindowsSpotlightFeatures"; $ExpectedValue = 1 function Connect-RequiredServices { $p = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()); return $p.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) } function Test-Compliance { $r = [PSCustomObject]@{ScriptName = "spotlight-coll.ps1"; PolicyName = "Spotlight Collection"; IsCompliant = $false; CurrentValue = $null; ExpectedValue = "Disabled"; Details = @() }; function Invoke-Revert { Remove-ItemProperty -Path $RegPath -Name $RegName -ErrorAction SilentlyContinue } try { if (Test-Path $RegPath) { $v = Get-ItemProperty -Path $RegPath -Name $RegName -ErrorAction SilentlyContinue; if ($v -and $v.$RegName -eq $ExpectedValue) { $r.IsCompliant = $true; $r.Details += "Spotlight disabled" }else { $r.Details += "Spotlight enabled" } }else { $r.Details += "Niet geconfigureerd" } }catch { $r.Details += "Error: $($_.Exception.Message)" }; return $r } function Invoke-Remediation { if (-not(Test-Path $RegPath)) { New-Item -Path $RegPath -Force | Out-Null }; Set-ItemProperty -Path $RegPath -Name $RegName -Value $ExpectedValue -Type DWord -Force; Write-Host "Spotlight collection disabled" -ForegroundColor Green } function Invoke-Monitoring { $r = Test-Compliance; Write-Host "`n$($r.PolicyName): $(if($r.IsCompliant){'COMPLIANT'}else{'NON-COMPLIANT'})" -ForegroundColor $(if ($r.IsCompliant) { 'Green' }else { 'Red' }); return $r } function Invoke-Revert { Remove-ItemProperty -Path $RegPath -Name $RegName -ErrorAction SilentlyContinue } try { if (-not(Connect-RequiredServices)) { exit 1 }; if ($Monitoring) { $r = Invoke-Monitoring; exit $(if ($r.IsCompliant) { 0 }else { 1 }) }elseif ($Remediation) { if (-not $WhatIf) { Invoke-Remediation } }elseif ($Revert) { Invoke-Revert }else { $r = Test-Compliance; exit $(if ($r.IsCompliant) { 0 }else { 1 }) } }catch { Write-Error $_; exit 1 }

Risico zonder implementatie

Risico zonder implementatie
Low: Laag privacy risk: Lock screen feedback telemetry.

Management Samenvatting

Blokkeer Spotlight Collection. Privacy. Implementatie: 30-60 min.