Solved

Pushing hotfix via 2008 R2 GPO

Posted on 2011-09-28
6
1,118 Views
Last Modified: 2012-05-12
I need to remotely push out 2-3 Windows hotfixes to all XP desktops. (30)

The challenges I am facing is that the updates are currently install automatically. There is no WSUS, SMS, SCCM any type of patch management system. Is that any way I can accomplish this quickly? Environment is a mix of Windows 2003 / 2008 R2 DC.

I am thinking  about lining the updates to computer setting, startup script via GPO.
0
Comment
Question by:Mazdajai
  • 2
  • 2
  • 2
6 Comments
 
LVL 10

Assisted Solution

by:SuperTaco
SuperTaco earned 100 total points
ID: 36745908
You can distribute a script viz GPo under computer configuration->windows settings-.strtup scripts.  You can also deploy an msi package at the computer level via GPO.  here's link for deployment.

http://www.advancedinstaller.com/user-guide/tutorial-gpo.html
0
 
LVL 21

Author Comment

by:Mazdajai
ID: 36747531
The file is a Microsoft hotfix .exe file, it uses switch -z -u for silent deployment. How can I change the format to .msi?
0
 
LVL 10

Expert Comment

by:SuperTaco
ID: 36748120
i've had luck with this tool

http://dennisbareis.com/makemsi.htm
0
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 
LVL 47

Expert Comment

by:Donald Stewart
ID: 36748501
You can do it similar to this


http://support.microsoft.com/kb/827227
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 400 total points
ID: 36750932
Here's a script that I have used:


sExePath = "\\server\hotfix.exe"
sSwitches = "/u /q /z"
Set oShell = CreateObject("WScript.Shell")
sRegKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate"

' suppress error in case values does not exist
On Error Resume Next

' check for marker
sRegMarkerValue = ""  ' init value
sRegMarkerValue = oShell.RegRead( sRegKey & "\hotfix.exe")
On Error Goto 0

' to be sure update is installed only once, test on marker
If sRegMarkerValue <> "yes" Then


   oShell.Run Chr(34) & sExePath & Chr(34) & " " & sSwitches, 1, True


   ' create marker
   oShell.RegWrite sRegKey & "\hotfix.exe", "yes"
End If
0
 
LVL 21

Author Comment

by:Mazdajai
ID: 36903311
Dstewartir's has the closest answer. Although at the end I spend few hours setting a WSUS in 2008 R2 to push out the specific updates I need.

Thanks for the effort.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 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