Merge branch 'GenerateXamlAtRuntime' of https://github.com/Marterich/winutil into GenerateXamlAtRuntime

This commit is contained in:
Martin Wiethan
2024-06-19 00:08:23 +02:00
2 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,7 @@ function Invoke-WinUtilNumLock {
Write-Host "Disabling Numlock on startup"
$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
}