Another registry to allow OS Upgrade

This commit is contained in:
Useful Stuffs 2024-03-29 21:08:21 +01:00 committed by GitHub
parent 898e8699a3
commit eebab17d98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -414,7 +414,9 @@ ${MementoSectionEnd}
${MementoSection} "Allow OS Upgrade" ALLOWOSUPGRADE ${MementoSection} "Allow OS Upgrade" ALLOWOSUPGRADE
WriteRegDword HKLM "${REGPATH_WUPOLICY}" "AllowOSUpgrade" 1 WriteRegDword HKLM "${REGPATH_WUPOLICY}" "AllowOSUpgrade" 1
WriteRegDword HKLM "${REGPATH_WUPOLICY}" "DisableOSUpgrade" 0
WriteRegDword HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "AllowOSUpgrade" 1 WriteRegDword HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "AllowOSUpgrade" 1
WriteRegDword HKLM "${REGPATH_WUPOLICY}\OSUpgrade" "DisableOSUpgrade" 0
Call RebootIfRequired Call RebootIfRequired
${MementoSectionEnd} ${MementoSectionEnd}