Close Menu
    Facebook X (Twitter) Instagram
    Friday, July 3
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»Scripting»Script to force a Client machine to communicate its WSUS Server for updates

    Script to force a Client machine to communicate its WSUS Server for updates

    Eswar KonetiBy Eswar KonetiApril 12, 5:10 pm1 Min Read Scripting
    Share
    Facebook Twitter LinkedIn Reddit

    This VB script might help you in initiating the communication between WindowsUpdateAgent(Client) and WindowsUpdateServer(Server) for windows updates.

    ' ---------------START CODE---------------

    strComputer = inputbox("Enter a computer name to run WUA detectnow","Invoke detectnow")

    if strComputer = "" then wscript.quit
    on error goto 0
    Set autoUpdateClient = CreateObject("Microsoft.Update.AutoUpdate",strComputer)
    AutoUpdateClient.detectnow()
    wscript.echo "Client Communication initiated with WSUS Server."

    ' ----------------END CODE-----------------

    Script to force a Client machine to communicate its WSUS Server for updates WSUS WSUS server to client communication
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Automating Cleanup of Disconnected RDP Sessions on Windows Servers Using PowerShell

    June 29, 10:04 pm

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    Identifying devices managed by Intune but not reporting to WUfB using KQL

    November 09, 10:28 am

    Leave a ReplyCancel reply

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.