Update windows10.ps1

This commit is contained in:
simeononsecurity
2021-03-20 04:53:55 +00:00
committed by GitHub
parent 4e87d26ce5
commit fcc472182e

View File

@ -240,6 +240,9 @@ Start-Job -Name "Configuring Windows - Optimizations, Debloating, and Hardening"
#Set Screen Timeout to 15 Minutes
powercfg -change -monitor-timeout-ac 15
#Enable Num Lock on logon and lock screen
sp "HKU:\.DEFAULT\Control Panel\Keyboard" "InitialKeyboardIndicators" 2
#Enable Darkmode
New-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Force | Out-Null