How to completely make windows install updates from CMD


  1. Posts : 2
    Windows 7 Pro
       #1

    How to completely make windows install updates from CMD


    Hello!

    I am an administrator at a school.
    We have around 600 computers.
    Default setting is to have winupdate deactivated.

    A new schoolyear is coming, and its time to update the computers.
    it would be easier of course to do this without me walking around to each and every computer to install the updates.

    I have found a way to activate and enable windows update with cmd, but I have not found a way to make the computers find and install updates.

    I am not familiar with powershell, so please, if possible, tell me how to do it with cmd.

    I am sorry for somewhat bad english.

    So what I am asking is; is there a command which makes the computers search and install updates automatically?
      My Computer


  2. Posts : 1,810
    Dual Boot: Windows 8.1 & Server 2012r2 VMs: Kali Linux, Backbox, Matriux, Windows 8.1
       #2

    I'm pretty sure you won't get there with basic CMD. At worst you'll need Powershell because it is MUCH more powerful. I'd like to refer you here: Technet forums - Scripting

    They will be able to find you a script that will get you what you need. Group Policy might be another option.

    Another link that might help you:
    http://blogs.technet.com/b/heyscript...owershell.aspx

    On a side note, as an admin, LEARN POWERSHELL!!
      My Computer


  3. Posts : 2
    Windows 7 Pro
    Thread Starter
       #3

    ah, bummer.

    well, guess I have to learn powershell then.

    any tips to how to get started?
      My Computer


  4. Posts : 1,810
    Dual Boot: Windows 8.1 & Server 2012r2 VMs: Kali Linux, Backbox, Matriux, Windows 8.1
       #4

    WourN said:
    ah, bummer.

    well, guess I have to learn powershell then.

    any tips to how to get started?
    As far as your problem goes, post on that forum, they are VERY good with powershell and know exactly how to get you where you need to be. The guru on Powershell (Don Jones) actively posts on that forum and if ANYONE knows how to do what you want, it's him.

    Getting started with Powershell, again I point to Don Jones. He has a natural ability to teach it and he is very passionate about it so you really learn a lot.

    A series where he goes from installing Powershell to advanced topics.
    https://www.youtube.com/watch?v=6CRT...474E721138865A

    A more streamlined workshop type setting
    https://www.youtube.com/watch?v=-Ya1dQ1Igkc

    More info
    Free eBook from Microsoft?s Scripting Guy: Windows PowerShell Networking Guide | PowerShell.org

    His blog
    Hey, Scripting Guy! Blog - Site Home - TechNet Blogs

    If you like books instead
    Windows PowerShell Best Practices - Ed Wilson - Google Books

    You can also find various free (sort of outdated but still effective at the basics) ebooks if you look around. I think Microsoft releases older powershell books free on technet and their other sites. Also, if you have Microsoft Virtual Academy, there is a ton of powershell videos there that are also great.
      My Computer


  5. Posts : 1,810
    Dual Boot: Windows 8.1 & Server 2012r2 VMs: Kali Linux, Backbox, Matriux, Windows 8.1
       #5
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:48.
Find Us