Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to completely make windows install updates from CMD

29 Apr 2014   #1
WourN

Windows 7 Pro
 
 
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 System SpecsSystem Spec
.
29 Apr 2014   #2
Gator

Dual Boot: Windows 8.1 & Server 2012r2 VMs: Kali Linux, Backbox, Matriux, Windows 8.1
 
 

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 System SpecsSystem Spec
29 Apr 2014   #3
WourN

Windows 7 Pro
 
 

ah, bummer.

well, guess I have to learn powershell then.

any tips to how to get started?
My System SpecsSystem Spec
.

29 Apr 2014   #4
Gator

Dual Boot: Windows 8.1 & Server 2012r2 VMs: Kali Linux, Backbox, Matriux, Windows 8.1
 
 

Quote   Quote: Originally Posted by WourN View Post
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 System SpecsSystem Spec
29 Apr 2014   #5
Gator

Dual Boot: Windows 8.1 & Server 2012r2 VMs: Kali Linux, Backbox, Matriux, Windows 8.1
 
 

My System SpecsSystem Spec
Reply

 How to completely make windows install updates from CMD




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How do I make sure updates do not install upon shutdown?
Hi All, I recently recovered my computer from the problem (BSOD on startup) that was affecting Dell machines encrypted with DDPE. The problem occurred after installing the latest Windows Update patch (July 8, 2014). The IT staff fixed the problem, appearing to have rolled back the updates. Now,...
Windows Updates & Activation
New install of Windows, completely different set of UAC rules?
From 2009-2013 last May, I've had my Windows 7 Home Premium edition working fine and safe, with few, if any UAC shields on my icons. Since my new Windows install (using same Windows 7 disc and same hardware components), virtually EVERY program now has that ****ing UAC shield icon on it. ...
System Security
how do I make windows 7 download updates at Shut Down
Windows used to download and install updates at Shut Down. Now it is doing it during the day and closing down which looses programs that are running. How do I change it back to Shut Down ?
Windows Updates & Activation
Make a wireless network completely hidden
Hi, Im living in a dorm right now, and the campus wi-fi is disgustingly slow, so a group of us got a linksys router for the dorm. I set it up so it would not broadcast the SSID, but other computers not connected to the network still see a "other network" icon when choosing a wireless network. is...
Network & Sharing
5 updates fail to install through windows updates or manual?
I have 5 updates that fail to install. I have also tried to manually install them, but they still fail Here are the updates: KB2586448 KB2572076 KB2564958 KB2567053
Windows Updates & Activation
Make the super bar completely clear?
Any way to make the super bar completely clear ? I have applied the http://www.sevenforums.com/tutorials/14121-transparency-enable-full-clear-glass-transparency.html and it's great but still the super bar remains the same transparency
Customization


Our Sites

Site Links

About Us

Find 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:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App