⚡ PowerShell 5.1+

Check "Disable Aero Shake" Status

Reads the current registry value behind the "Disable Aero Shake" tweak so you can confirm whether it's applied.

By WindowsScripting.com · 790 B
Test-DisableAeroShakeStatus.ps1
<#
.SYNOPSIS
    Checks whether "Disable Aero Shake" is currently applied.

.DESCRIPTION
    Reads HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced \ DisallowShaking and reports its current value,
    or reports that it isn't set (falling back to the Windows default).

.EXAMPLE
    .\Test-DisableAeroShakeStatus.ps1
#>

[CmdletBinding()]
param()

$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'

$value = Get-ItemProperty -Path $regPath -Name 'DisallowShaking' -ErrorAction SilentlyContinue

if ($null -eq $value) {
    Write-Host "'DisallowShaking' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
    Write-Host "Current value of 'DisallowShaking': $($value.'DisallowShaking')" -ForegroundColor Green
}