New Method to Disable AI in Notepad

This commit is contained in:
zoicware
2025-06-06 16:46:02 -04:00
committed by GitHub
parent b0f1f405ba
commit d07b08cc60

View File

@@ -382,6 +382,8 @@ regedit.exe /s "$env:TEMP\DisableRewrite.reg"
Start-Sleep 1
reg unload HKU\TEMP >$null
Remove-Item "$env:TEMP\DisableRewrite.reg" -Force -ErrorAction SilentlyContinue
#above is old method before this policy to disable ai in notepad, leaving older method just incase
Reg.exe add 'HKLM\SOFTWARE\Policies\WindowsNotepad' /v 'DisableAIFeatures' /t REG_DWORD /d '1' /f *>$null
#remove any screenshots from recall
Write-Status -msg 'Removing Any Screenshots By Recall...'