How to know the WUServer defined in SCCM

Luis Larrubia 25 Reputation points
2024-02-28T10:26:29.93+00:00

Hello there.

In our organisation, we've moved from an old Configuration Manager server (A) to a new one (B).
Some computers are still pointing to A so their Windows Update status is unknown. What's the query for the collection which identifies all such computers? Thanks in advance. Best regards. Luis.

Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
1,043 questions
Microsoft Configuration Manager
{count} votes

Accepted answer
  1. AllenLiu-MSFT 44,421 Reputation points Microsoft Vendor
    2024-02-29T07:23:54.6533333+00:00

    Hi, @Luis Larrubia

    Thank you for posting in Microsoft Q&A forum.

    Like Rahul Jindal mentioned, it's easy to use CMpivot by querying the WSUS registry, check the values in the results to see if it points to the correct WSUS server.

    Registry('HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate') | where Property == 'WUServer'

    1


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Garth Jones 1,661 Reputation points
    2024-02-28T13:11:52.2466667+00:00

    You might be able to, Or at least see the ones without the right details. The lastscanpackagelocation should do the trick.

    Select * from [dbo].[v_UpdateScanStatus]
    
    

  2. Luis Larrubia 25 Reputation points
    2024-02-29T08:04:42.8466667+00:00

    Thank you all for your answers. I didn't know about CMPivot capabilities, very useful. Luis.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.