Solved

Need .bat to install all windows patches in a folder

Posted on 2014-10-09
4
132 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
A procedure for exporting installed hotfix details of remote computers using powershell
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 the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

710 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