Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    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 795 Views
    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

    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

    Application Deployment with Hybrid Joined Requirement Rules in Intune

    October 06, 8:59 pm

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    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.