@@ -1366,16 +1366,20 @@ Function EnableAeroShake {
13661366 Remove-ItemProperty - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" - Name " DisallowShaking" - ErrorAction SilentlyContinue
13671367}
13681368
1369- # Disable Sticky keys prompt
1370- Function DisableStickyKeys {
1371- Write-Output " Disabling Sticky keys prompt ..."
1369+ # Disable accessibility keys prompts ( Sticky keys, Toggle keys, Filter keys)
1370+ Function DisableAccessibilityKeys {
1371+ Write-Output " Disabling accessibility keys prompts ..."
13721372 Set-ItemProperty - Path " HKCU:\Control Panel\Accessibility\StickyKeys" - Name " Flags" - Type String - Value " 506"
1373+ Set-ItemProperty - Path " HKCU:\Control Panel\Accessibility\ToggleKeys" - Name " Flags" - Type String - Value " 58"
1374+ Set-ItemProperty - Path " HKCU:\Control Panel\Accessibility\Keyboard Response" - Name " Flags" - Type String - Value " 122"
13731375}
13741376
1375- # Enable Sticky keys prompt
1376- Function EnableStickyKeys {
1377- Write-Output " Enabling Sticky keys prompt ..."
1377+ # Enable accessibility keys prompts ( Sticky keys, Toggle keys, Filter keys)
1378+ Function EnableAccessibilityKeys {
1379+ Write-Output " Enabling accessibility keys prompts ..."
13781380 Set-ItemProperty - Path " HKCU:\Control Panel\Accessibility\StickyKeys" - Name " Flags" - Type String - Value " 510"
1381+ Set-ItemProperty - Path " HKCU:\Control Panel\Accessibility\ToggleKeys" - Name " Flags" - Type String - Value " 62"
1382+ Set-ItemProperty - Path " HKCU:\Control Panel\Accessibility\Keyboard Response" - Name " Flags" - Type String - Value " 126"
13791383}
13801384
13811385# Show Task Manager details - Applicable since 1607
0 commit comments