mirror of
https://github.com/Disassembler0/Win10-Initial-Setup-Script.git
synced 2026-04-23 03:00:50 -04:00
Add "Disable Aero Shake" (thx arobasse2)
This commit is contained in:
@@ -83,6 +83,7 @@ DisableLockScreen # EnableLockScreen
|
||||
# DisableLockScreenRS1 # EnableLockScreenRS1
|
||||
HideNetworkFromLockScreen # ShowNetworkOnLockScreen
|
||||
HideShutdownFromLockScreen # ShowShutdownOnLockScreen
|
||||
# DisableAeroShake # EnableAeroShake
|
||||
DisableStickyKeys # EnableStickyKeys
|
||||
ShowTaskManagerDetails # HideTaskManagerDetails
|
||||
ShowFileOperationsDetails # HideFileOperationsDetails
|
||||
|
||||
12
Win10.psm1
12
Win10.psm1
@@ -1224,6 +1224,18 @@ Function ShowShutdownOnLockScreen {
|
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ShutdownWithoutLogon" -Type DWord -Value 1
|
||||
}
|
||||
|
||||
# Disable Aero Shake (minimizing other windows when one is dragged by mouse and shaken)
|
||||
Function DisableAeroShake {
|
||||
Write-Output "Disabling Aero Shake..."
|
||||
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "DisallowShaking" -Type DWord -Value 1
|
||||
}
|
||||
|
||||
# Enable Aero Shake
|
||||
Function EnableAeroShake {
|
||||
Write-Output "Enabling Aero Shake..."
|
||||
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "DisallowShaking" -ErrorAction SilentlyContinue
|
||||
}
|
||||
|
||||
# Disable Sticky keys prompt
|
||||
Function DisableStickyKeys {
|
||||
Write-Output "Disabling Sticky keys prompt..."
|
||||
|
||||
Reference in New Issue
Block a user