From c33a3c70b766128be837db1d6af29b10ebc60a2c Mon Sep 17 00:00:00 2001 From: ThioJoe <12518330+ThioJoe@users.noreply.github.com> Date: Sat, 15 Nov 2025 17:48:38 -0700 Subject: [PATCH] SandboxStartup.ps1 - Add line to enable clipboard history --- Startup Scripts/SandboxStartup.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Startup Scripts/SandboxStartup.ps1 b/Startup Scripts/SandboxStartup.ps1 index 89653f0..3e8da97 100644 --- a/Startup Scripts/SandboxStartup.ps1 +++ b/Startup Scripts/SandboxStartup.ps1 @@ -32,6 +32,9 @@ CiTool.exe --refresh --json | Out-Null # Refreshes policy. Use json output param # Change execution policy for powershell to allow running scripts. Normally it shows an error about a more specific policy (Process level Bypass policy), but it doesn't matter so we hide it via try/catch try { Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine -ErrorAction Stop | Out-Null } catch {} +# Enable Clipboard History +Set-ItemProperty -Path "HKCU:\Software\Microsoft\Clipboard" -Name "EnableClipboardHistory" -Value 1 -Type DWord -Force + # ----------------------------------------------------------------------------------------- # ---- Add 'Open PowerShell Here' and 'Open CMD Here' to context menu -------