Forum Discussion

Khachik's avatar
Khachik
Copper Contributor
Apr 21, 2022

Comanaged device hybird join WUFB issue

Hi All,

 

Need some assistance with WUFB comanaged in a hybird environment.

Issue:

1. Windows update error encountered -I resolved this by modifying reg key in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\UseWUServer from 1 to 0

Not sure if this is the correct way of fixing this.  Please advise.

 

2. After the reg key change it searched for updates but didn't find 21h2.

It says windows is up to date

 

Please see attached images.

The first 3 policy images are before changing the registry key

 

 

 

 

When I switch the key registry key the policies changed to 

 

 

 

Staging in sccm is set, feature updates for win 10 and MDMoverGPO is set in endpoint management.

 

Any assistance is much appreciated 

  • Hi,

    Its a little bit hard to detect the error when looking at the pictures.. but what happens when pushing down this powershell sc ript to the problem device

    function Clear-WsusSettings {

    [cmdletbinding(SupportsShouldProcess=$true)]
    param ()
    $ErrorActionPreference = 'SilentlyContinue'
    Remove-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force -Name WUServer
    Remove-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force -Name TargetGroup
    Remove-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force -Name WUStatusServer
    Remove-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force -Name TargetGroupEnable
    Set-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Value 0 -Force -Name UseWUServer
    Set-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Value 0 -Force -Name NoAutoUpdate
    Set-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Value 0 -force -Name DisableWindowsUpdateAccess
    Restart-Service -Name wuauserv
    }
    Clear-WsusSettings
    • Khachik's avatar
      Khachik
      Copper Contributor

      Hi Rudy,

      Thank you for your response.
      I ran the script and confirmed the entries was either removed and added.
      However, Windows update still states "You're up to date" but its still on windows 21h1.

      Thank you,
      -K

Resources