Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature Requests
(12-02-2026, 08:31 AM)jekovcar Wrote: In Registry i have(OS build:26300.9974):
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate] "SetAllowOptionalContent"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU] "NoAutoUpdate"=dword:00000001

Hasleo Backup Suite after restoring unhide hidden preview updates. To clear cached updates before backup maybe fix it by like this:
Code:
net stop wuauserv rd /s /q %SystemRoot%\SoftwareDistribution net start wuauserv

Thanks!

Thank you for your detailed feedback and for sharing the registry settings and your suggested workaround.

I can confirm that Hasleo Backup Suite does not modify these registry values. After a restore, could you please check whether the values under HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate and ...\WindowsUpdate\AU have actually been changed? This would help us determine whether the issue is related to the restore process or to Windows Update's own behavior after a restore.

We appreciate the tip about clearing the SoftwareDistribution cache before backup, and we'll keep it in mind as a temporary workaround while we look into this further.

Thanks.
Reply
I also confirm that after a restore using Hasleo Backup Suite, the registry values located at the paths HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate and ...\WindowsUpdate\AU remain unchanged.
I have attached a tested ps1 scripts that can be used as an option for scheduling tasks in HBS, or just hide all optional updates:
Code:
$Session = New-Object -ComObject Microsoft.Update.Session $Searcher = $Session.CreateUpdateSearcher() $Searcher.Online = $true $Searcher.IncludePotentiallySupersededUpdates = $true $Result = $Searcher.Search("IsInstalled=0 and DeploymentAction=*") $Targets = @($Result.Updates | Where-Object {     $_.IsHidden -eq $false -and ($_.Title -like "*Preview*" -or $_.BrowseOnly -eq $true) }) foreach ($u in $Targets) {     try {         $u.IsHidden = $true     }     catch {         # Ignore errors on individual updates     } }

The previously suggested code is useless:
Code:
net stop wuauserv rd /s /q %SystemRoot%\SoftwareDistribution net start wuauserv


Attached Files
.zip   BackupRestore-HiddenUpdates.zip (Size: 1.38 KB / Downloads: 0)
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)