Skip to content

Commit 738e4b9

Browse files
committed
feat: disable access to ai generation, screenshot borders and recordings
1 parent b51435e commit 738e4b9

File tree

4 files changed

+54
-0
lines changed

4 files changed

+54
-0
lines changed

app/src/assets/js/scripts.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,18 @@ document.addEventListener("DOMContentLoaded", function () {
589589
"echo -- Disabling Radio access",
590590
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\radios" /v "Value" /d "Deny" /t REG_SZ /f',
591591
],
592+
screenshotborderaccess: [
593+
"echo -- Disabling Screenshot Borders access",
594+
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\graphicsCaptureWithoutBorder" /v "Value" /d "Deny" /t REG_SZ /f',
595+
],
596+
recordingsaccess: [
597+
"echo -- Disabling Recordings access",
598+
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\graphicsCaptureProgrammatic" /v "Value" /d "Deny" /t REG_SZ /f',
599+
],
600+
aigenerationaccess: [
601+
"echo -- Disabling AI Generation access",
602+
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\systemAIModels" /v "Value" /d "Deny" /t REG_SZ /f',
603+
],
592604
updatepause: [
593605
"echo -- Extend Windows Update Pause Limit to 20 years",
594606
'echo -- This does not disable updates by itself, user needs to set "pause updates" in Windows Settings.',
@@ -1086,6 +1098,9 @@ document.addEventListener("DOMContentLoaded", function () {
10861098
{ id: "calendaraccess", type: "calendaraccess" },
10871099
{ id: "motionaccess", type: "motionaccess" },
10881100
{ id: "radioaccess", type: "radioaccess" },
1101+
{ id: "screenshotborderaccess", type: "screenshotborderaccess" },
1102+
{ id: "recordingsaccess", type: "recordingsaccess" },
1103+
{ id: "aigenerationaccess", type: "aigenerationaccess" },
10891104
{ id: "updatepause", type: "updatepause" },
10901105
{ id: "cloudsync", type: "cloudsync" },
10911106
{ id: "notificationtray", type: "notificationtray" },

app/src/pages/index.astro

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,18 @@ const packageManagers = [
278278
inputId: "motionaccess",
279279
},
280280
{ title: "Disable App Access to Radios", inputId: "radioaccess" },
281+
{
282+
title: "Disable App Access to Recordings",
283+
inputId: "recordingsaccess",
284+
},
285+
{
286+
title: "Disable App Access to Screenshot Borders",
287+
inputId: "screenshotborderaccess",
288+
},
289+
{
290+
title: "Disable App Access to AI Generation",
291+
inputId: "aigenerationaccess",
292+
},
281293
]}
282294
/>
283295

website/src/assets/js/scripts.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,18 @@ document.addEventListener("DOMContentLoaded", function () {
589589
"echo -- Disabling Radio access",
590590
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\radios" /v "Value" /d "Deny" /t REG_SZ /f',
591591
],
592+
screenshotborderaccess: [
593+
"echo -- Disabling Screenshot Borders access",
594+
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\graphicsCaptureWithoutBorder" /v "Value" /d "Deny" /t REG_SZ /f',
595+
],
596+
recordingsaccess: [
597+
"echo -- Disabling Recordings access",
598+
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\graphicsCaptureProgrammatic" /v "Value" /d "Deny" /t REG_SZ /f',
599+
],
600+
aigenerationaccess: [
601+
"echo -- Disabling AI Generation access",
602+
'reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\systemAIModels" /v "Value" /d "Deny" /t REG_SZ /f',
603+
],
592604
updatepause: [
593605
"echo -- Extend Windows Update Pause Limit to 20 years",
594606
'echo -- This does not disable updates by itself, user needs to set "pause updates" in Windows Settings.',
@@ -1086,6 +1098,9 @@ document.addEventListener("DOMContentLoaded", function () {
10861098
{ id: "calendaraccess", type: "calendaraccess" },
10871099
{ id: "motionaccess", type: "motionaccess" },
10881100
{ id: "radioaccess", type: "radioaccess" },
1101+
{ id: "screenshotborderaccess", type: "screenshotborderaccess" },
1102+
{ id: "recordingsaccess", type: "recordingsaccess" },
1103+
{ id: "aigenerationaccess", type: "aigenerationaccess" },
10891104
{ id: "updatepause", type: "updatepause" },
10901105
{ id: "cloudsync", type: "cloudsync" },
10911106
{ id: "notificationtray", type: "notificationtray" },

website/src/pages/index.astro

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,18 @@ const packageManagers = [
261261
inputId: "motionaccess",
262262
},
263263
{ title: "Disable App Access to Radios", inputId: "radioaccess" },
264+
{
265+
title: "Disable App Access to Recordings",
266+
inputId: "recordingsaccess",
267+
},
268+
{
269+
title: "Disable App Access to Screenshot Borders",
270+
inputId: "screenshotborderaccess",
271+
},
272+
{
273+
title: "Disable App Access to AI Generation",
274+
inputId: "aigenerationaccess",
275+
},
264276
]}
265277
/>
266278

0 commit comments

Comments
 (0)