mirror of
https://github.com/zoicware/RemoveWindowsAI.git
synced 2025-12-17 07:06:29 +01:00
hide copilot ads in settings home page
This commit is contained in:
@@ -314,6 +314,8 @@ function Disable-Registry-Keys {
|
|||||||
Reg.exe add 'HKCU\Software\Microsoft\InputPersonalization' /v 'RestrictImplicitTextCollection' /t REG_DWORD /d @('1', '0')[$revert] /f *>$null
|
Reg.exe add 'HKCU\Software\Microsoft\InputPersonalization' /v 'RestrictImplicitTextCollection' /t REG_DWORD /d @('1', '0')[$revert] /f *>$null
|
||||||
Reg.exe add 'HKCU\Software\Microsoft\InputPersonalization\TrainedDataStore' /v 'HarvestContacts' /t REG_DWORD /d @('0', '1')[$revert] /f *>$null
|
Reg.exe add 'HKCU\Software\Microsoft\InputPersonalization\TrainedDataStore' /v 'HarvestContacts' /t REG_DWORD /d @('0', '1')[$revert] /f *>$null
|
||||||
Reg.exe add 'HKCU\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\InkingAndTypingPersonalization' /v 'Value' /t REG_DWORD /d @('0', '1')[$revert] /f *>$null
|
Reg.exe add 'HKCU\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\InkingAndTypingPersonalization' /v 'Value' /t REG_DWORD /d @('0', '1')[$revert] /f *>$null
|
||||||
|
#hide copilot ads in settings home page
|
||||||
|
Reg.exe add 'HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent' /v 'DisableConsumerAccountStateContent' /t REG_DWORD /d @('1', '0')[$revert] /f *>$null
|
||||||
#disable ai image creator in paint
|
#disable ai image creator in paint
|
||||||
Write-Status -msg "$(@('Disabling', 'Enabling')[$revert]) Image Creator In Paint..."
|
Write-Status -msg "$(@('Disabling', 'Enabling')[$revert]) Image Creator In Paint..."
|
||||||
Reg.exe add 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint' /v 'DisableImageCreator' /t REG_DWORD /d @('1', '0')[$revert] /f *>$null
|
Reg.exe add 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint' /v 'DisableImageCreator' /t REG_DWORD /d @('1', '0')[$revert] /f *>$null
|
||||||
@@ -434,9 +436,9 @@ function Disable-Registry-Keys {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#disabling and removing voice access, recently added ai powered
|
#disabling and removing voice access, recently added ai powered
|
||||||
Reg.exe add 'HKCU\Software\Microsoft\VoiceAccess' /v 'RunningState' /t REG_DWORD /d @('0', '1')[$revert] /f
|
Reg.exe add 'HKCU\Software\Microsoft\VoiceAccess' /v 'RunningState' /t REG_DWORD /d @('0', '1')[$revert] /f >$null
|
||||||
Reg.exe add 'HKCU\Software\Microsoft\VoiceAccess' /v 'TextCorrection' /t REG_DWORD /d @('1', '2')[$revert] /f
|
Reg.exe add 'HKCU\Software\Microsoft\VoiceAccess' /v 'TextCorrection' /t REG_DWORD /d @('1', '2')[$revert] /f >$null
|
||||||
Reg.exe add 'HKCU\Software\Microsoft\Windows NT\CurrentVersion\AccessibilityTemp' /v @('0', '1')[$revert] /t REG_DWORD /d '0' /f
|
Reg.exe add 'HKCU\Software\Microsoft\Windows NT\CurrentVersion\AccessibilityTemp' /v @('0', '1')[$revert] /t REG_DWORD /d '0' /f >$null
|
||||||
$startMenu = "$env:appdata\Microsoft\Windows\Start Menu\Programs\Accessibility"
|
$startMenu = "$env:appdata\Microsoft\Windows\Start Menu\Programs\Accessibility"
|
||||||
$voiceExe = "$env:windir\System32\voiceaccess.exe"
|
$voiceExe = "$env:windir\System32\voiceaccess.exe"
|
||||||
if ($backup) {
|
if ($backup) {
|
||||||
|
|||||||
Reference in New Issue
Block a user