Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4005544
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:24:23+00:00 2026-05-20T08:24:23+00:00

I am working on a script to automate the installation of Windows Updates, that

  • 0

I am working on a script to automate the installation of Windows Updates, that I can deploy on several machines so I do not have to worry about updating them manually. I would like to write this in Python, but could not find anythng on how this would be done. I need to know how to search for updates, download the updates and install them all from a python script. Any help would be great!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:24:23+00:00Added an answer on May 20, 2026 at 8:24 am

    Let me start with this: I don’t think a Python script is the best tool for the job. If you want to do enterprise-level management of updates (e.g., for all machines on a network), then you should seriously consider using the existing MS tools.

    With that said, here is how you might go about this:

    1. Have a look at the windows-update tag on ServerFault, one of StackOverflow’s sister sites: https://serverfault.com/questions/tagged/windows-update . A lot of the questions seem to cover command-line control of the update process. Keep in mind that the command line tools vary significantly between e.g. Windows XP on the one hand and Vista/7 on the other. With some luck, you should be able to use windows built-in commands rather than going to the windows update website programmatically.

    2. Assuming you find the command-line incantations that you need: Use the subprocess module to call to the shell and execute those commands programmatically. Because you’re using python, you may need to spend quite a bit of time parsing the command outputs to figure out how your shell calls are doing.

    Hope that helps. I realize this is a rather high-level answer, but as it stands, the question is not very specific about what exactly you want to accomplish and why you’re using python to do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have working registration script the only problem is that i do not know
I have a script working well for creating ad hoc iPhone builds. I can
I have bash script that I use regularly in my job to automate a
I am currently working on a script that I am attempting to automate via
I have a working script from someone, there in is this line: this.event =
So I have my upload script working just fine, but now it's a matter
I've just about got the jPicker script working flawlessly in my app. However, the
working on a script, that calculates the difference between dates retrieved from an API.
Update: I wrote a working script that finishes this job in a reasonable length
i am working on windows XP . i can successfully run a system() command

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.