diff --git a/Fix-PreventWindows11Upgrade.ps1 b/Fix-PreventWindows11Upgrade.ps1 index e794171..a39db87 100644 --- a/Fix-PreventWindows11Upgrade.ps1 +++ b/Fix-PreventWindows11Upgrade.ps1 @@ -34,7 +34,7 @@ Function IsWindowsVersion { # Make sure we're running at least Windows 10 1803 but not higher than Windows 10 21H2 # This is because the Group Policy setting used below was introduced in 1803, so anything before that won't have any effect -If ( (IsWindowsVersion -ge "10.0.17134") -and (IsWindowsVersion -le "10.0.19044") ) { +If ( (IsWindowsVersion -ge "10.0.17134") -and (IsWindowsVersion -le "10.0.19045") ) { # This is the version of Windows 10 you want to update to, but no further $MaxWindowsVersion = "22H2"