Solved

Need .bat to install all windows patches in a folder

Posted on 2014-10-09
4
135 Views
Last Modified: 2014-10-31
Hi

I used to have a very simple batch file that would silently install all windows patches that I had in a folder.  Could somebody please help me in recreating that?  Something along the lines of what I found in the link below, but I seem to remember it being a lot simpler...

http://www.msfn.org/board/topic/152020-batch-script-for-windows-software-updates-installation/ 

Thank you

Tony
0
Comment
Question by:tonyjoewalker
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:FNDAdmin
ID: 40370682
0
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40370772
i had a thought, but after looking at the link you posted, noticed it was the same thing - doing dir /b redirected to a file then appending those 2 options at the end

WSUS is a good centrally-managed tool but depends on your environment
if you only have a couple servers it probably isn't worth the time to setup and maintain
0
 

Author Comment

by:tonyjoewalker
ID: 40371452
Thanks.  We are using WSUS in our environment, but due to dev/qa/prod patch cycles I need to deploy a few patches manually to just a handful of servers and changing policy and containers these servers are in just wouldn't be worth the work
0
 

Author Comment

by:tonyjoewalker
ID: 40376776
@Seth - thank you.  The script works and I have a different question.  I do a lot with vbscript and not much with .bat, so I'm wondering if you could give me a brief walk through what parts of that .bat actually tells it to run on the .msu's in the directory?
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question