Restart WU after OSUpgrade hack

This commit is contained in:
Useful Stuffs 2024-03-31 11:11:30 +02:00 committed by GitHub
parent 3cf1d752f9
commit d9403d492a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ ${MementoSection} "Allow OS Upgrade" ALLOWOSUPGRADE
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "DisableOSUpgrade" 0
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "OSUpgradeInteractive" 1
WriteRegDword HKLM "${REGPATH_WU}\OSUpgrade" "OSUpgradeRunOnceCount" 1
Call RebootIfRequired
!insertmacro RestartWUAUService
${MementoSectionEnd}
${MementoSectionDone}