diff --git a/winutil.ps1 b/winutil.ps1 index b51c1e80..94c81d60 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -2115,8 +2115,10 @@ function Invoke-WinUtilNumLock { $value = 0 } New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS - $Path = "HKU:\.Default\Control Panel\Keyboard" - Set-ItemProperty -Path $Path -Name InitialKeyboardIndicators -Value $value + $HKUPath = "HKU:\.Default\Control Panel\Keyboard" + $HKCUPath = "HKCU:\Control Panel\Keyboard" + Set-ItemProperty -Path $HKUPath -Name InitialKeyboardIndicators -Value $value + Set-ItemProperty -Path $HKCUPath -Name InitialKeyboardIndicators -Value $value } Catch [System.Security.SecurityException] { Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception" @@ -16049,8 +16051,8 @@ Stop-Transcript # SIG # Begin signature block # MIIQRwYJKoZIhvcNAQcCoIIQODCCEDQCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCqS39+G6ngD32u -# B2DAgMQxdQNJhp6ydqq+JOzJalS4wqCCDIMwggYaMIIEAqADAgECAhBiHW0MUgGe +# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBZp2YSJFHp/uBH +# a0aNk0bp5r7JlA41l4uMYadYNnla5qCCDIMwggYaMIIEAqADAgECAhBiHW0MUgGe # O5B5FSCJIRwKMA0GCSqGSIb3DQEBDAUAMFYxCzAJBgNVBAYTAkdCMRgwFgYDVQQK # Ew9TZWN0aWdvIExpbWl0ZWQxLTArBgNVBAMTJFNlY3RpZ28gUHVibGljIENvZGUg # U2lnbmluZyBSb290IFI0NjAeFw0yMTAzMjIwMDAwMDBaFw0zNjAzMjEyMzU5NTla @@ -16122,16 +16124,16 @@ Stop-Transcript # ZSBTaWduaW5nIEN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