Another key to allow OS Upgrade

This commit is contained in:
Useful Stuffs
2024-03-30 17:43:00 +01:00
committed by GitHub
parent eebab17d98
commit 9ee16126a9

View File

@@ -417,6 +417,8 @@ ${MementoSection} "Allow OS Upgrade" ALLOWOSUPGRADE
WriteRegDword HKLM "${REGPATH_WUPOLICY}" "DisableOSUpgrade" 0
WriteRegDword HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "AllowOSUpgrade" 1
WriteRegDword HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "DisableOSUpgrade" 0
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "AllowOSUpgrade" 1
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "DisableOSUpgrade" 0
Call RebootIfRequired
${MementoSectionEnd}