From 3dc9b3e4ddffa19d4c4090218f02f8a84fe6496a Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sat, 1 Mar 2025 10:55:32 -0800 Subject: [PATCH] Copy the sandbox config I'm using for Strawberry Jam 9. --- sandbox/SandboxInput/disable_smartscreen.ps1 | 5 +++ sandbox/SandboxPersist/placeholder.txt | 6 ++++ sandbox/readSandboxInput-rwSandboxPersist.wsb | 31 +++++++++++++++++++ sandbox/readonly-SandboxInput.wsb | 26 ++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 sandbox/SandboxInput/disable_smartscreen.ps1 create mode 100644 sandbox/SandboxPersist/placeholder.txt create mode 100644 sandbox/readSandboxInput-rwSandboxPersist.wsb create mode 100644 sandbox/readonly-SandboxInput.wsb diff --git a/sandbox/SandboxInput/disable_smartscreen.ps1 b/sandbox/SandboxInput/disable_smartscreen.ps1 new file mode 100644 index 0000000..55eb158 --- /dev/null +++ b/sandbox/SandboxInput/disable_smartscreen.ps1 @@ -0,0 +1,5 @@ +Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "EnableSmartScreen" -Type DWord -Value 0 +If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter")) { + New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" -Force | Out-Null +} +Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" -Name "EnabledV9" -Type DWord -Value 0 diff --git a/sandbox/SandboxPersist/placeholder.txt b/sandbox/SandboxPersist/placeholder.txt new file mode 100644 index 0000000..5c37155 --- /dev/null +++ b/sandbox/SandboxPersist/placeholder.txt @@ -0,0 +1,6 @@ +Four score and seven years +ago, our fathers brought +forth upon this continent a +Segmentation fault + +-- an early revision of my CS 441 Advanced Algorithms attempt at a raggedness-minimizing word wrap implementation diff --git a/sandbox/readSandboxInput-rwSandboxPersist.wsb b/sandbox/readSandboxInput-rwSandboxPersist.wsb new file mode 100644 index 0000000..7130862 --- /dev/null +++ b/sandbox/readSandboxInput-rwSandboxPersist.wsb @@ -0,0 +1,31 @@ + + +Enable +Disable + + + + .\SandboxInput + C:\Users\WDAGUtilityAccount\Desktop\SandboxInput + true + + + .\SandboxPersist + C:\Users\WDAGUtilityAccount\Desktop\SandboxPersist + false + + + +false +false +false +false +false + + + powershell.exe -ExecutionPolicy Bypass -File "C:\Users\WDAGUtilityAccount\Desktop\SandboxInput\disable_smartscreen.ps1" + + +8192 + + \ No newline at end of file diff --git a/sandbox/readonly-SandboxInput.wsb b/sandbox/readonly-SandboxInput.wsb new file mode 100644 index 0000000..77120ab --- /dev/null +++ b/sandbox/readonly-SandboxInput.wsb @@ -0,0 +1,26 @@ + + +Enable +Disable + + + + .\SandboxInput + C:\Users\WDAGUtilityAccount\Desktop\SandboxInput + true + + + +false +false +false +false +false + + + powershell.exe -ExecutionPolicy Bypass -File "C:\Users\WDAGUtilityAccount\Desktop\SandboxInput\disable_smartscreen.ps1" + + +8192 + + \ No newline at end of file