Skip to content

Commit

Permalink
Update Invoke-WinUtilNumLock.ps1 (#2104)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech authored Jun 18, 2024
1 parent ad81bab commit 4348f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/private/Invoke-WinUtilNumLock.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4348f05

Please sign in to comment.