From 1d5e96939a0e026fb0bcc580aa06215ea642907e Mon Sep 17 00:00:00 2001 From: Snowz <98007575+SnowzNZ@users.noreply.github.com> Date: Tue, 5 Sep 2023 11:21:31 +1200 Subject: [PATCH] fix syntax --- src/application/collections/windows.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/application/collections/windows.yaml b/src/application/collections/windows.yaml index d4e710b32..491958f40 100644 --- a/src/application/collections/windows.yaml +++ b/src/application/collections/windows.yaml @@ -5131,12 +5131,14 @@ actions: - https://github.com/undergroundwires/privacy.sexy/issues/247 - https://ghostvolt.com/blog/Is-the-Windows-Clipboard-Function-History-or-Sync-Secure.html call: + - function: DisablePerUserService parameters: # Check (system-wide): (Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\cbdhsvc").Start # Check (per-user): (Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\cbdhsvc_*").Start serviceName: cbdhsvc defaultStartupMode: Automatic + - function: RunInlineCode parameters: code: reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "AllowClipboardHistory" /t REG_DWORD /d 0 /f