From 8440c1ea05b6b7c793112df411bfa37c3d8b65a4 Mon Sep 17 00:00:00 2001 From: David Yoder Date: Wed, 26 Jul 2023 14:00:52 -0400 Subject: [PATCH] update build to 10.0.19045 --- Fix-PreventWindows11Upgrade.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"