Solved

Need .bat to install all windows patches in a folder

Posted on 2014-10-09
4
131 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
  • 2
4 Comments
 

Expert Comment

by:FNDAdmin
ID: 40370682
0
 
LVL 34

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

830 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