Windows Updates from WSUS during SCCM OSD

sccm logo

I’ve recently had a situation where I needed to install Windows Updates as part of the OSD process. However, the updates had to be run directly from the local WSUS server rather than from SCCM built in software updates solution.

To do this, all you need to do is to install and integrate MDT. Once you have done this you will have the option to use the scripts within MDT, the script that we are looking at using for this process is:

  • ZTIWindowsUpdate.wsf

To make this work, you need to add the following steps to your task sequence towards the end of the sequence:

  • Use MDT Package
  • Set Task Sequence Variable
  • Run Command Line
  • cscript.exe “%SCRIPTROOT%ZTIWindowsUpdate.wsf”

The Use MDT Package speaks for itself, this is to make the MDT toolkit available to the task sequence, then the variable that you need to set in the Set Task Sequence Variable is dependent on your WSUS server.

Then the command line that you need to run is: This should then install all required updates from your specified WSUS server.

Microsoft Orca MSI File

I have had a few requests lately about how to turn off the automatic updates for the Java client on users machines. There are a number of ways you can do this if you are pushing it out via Configuration Manager (or making it available via your Software Catalog) but my personal preference is to use an old Microsoft MSI editing tool called Orca.

Microsoft Orca is dead now but you can still use it to edit any modern (not just Microsoft) MSI files.
You can download the Orca installation file from my SkyDrive here:
It’s not the simplest tool in the word to use but if you are technical person used to such tools it should make perfect sense to you.
As I’ve been asked about the amendments for Java updates on client machines, I will shortly post a guide on how to use Orca to create a file to turn off automatic updates from running.

Orchestrator & SCCM OSD Task Sequence Failed Email Notification

microsoft black logo
I’ve recently started to use Orchestrator in our live environment to conduct a number of actions but mainly to solve the issue of lack of email alerts within Configuration Manager. At the moment, we are not using Service Manager so finding an alternative to what that offers has become a task of mine.

Using Orchestrator and a mixture of Powershell scripting and integrated MP’s into Orchestrator, I have managed to setup a set of runbooks that email our IT Support Desk when a Software Catalog request has been sent and then an automated email to the requesting user when we deny or approve that request.

So, this got me thinking, what else can we do with Orchestrator? I came up with a lot of ideas and I’ll be looking into these ideas over the next few weeks, but having been Googling ideas for Orchestrator and in particular the email functions, I came across this post which looks pretty great.

SCCM OSD Task Sequence Fail Email Notification

I’ve not tested this yet but the theory seems to be that if your OSD task sequence fails, using MDT integration, you can invoke a Orchestrator runbook to run – this runbook would then have the variables and setup to email a notification to, lets say your IT Support Desk.

I’ll test this out next week along with a few other ideas and post back here my findings and any useful information that I may have.

If you have any ideas or links for Orchestrator linking into OSD TS then feel free to comment and share them with us.

SCCM 2012 SP1 CU1 Released

sccm logo

Microsoft have now released CU1 for SCCM 2012 SP1 which fixes a number of issues. It also includes an automated package creation to update your servers, clients and console installations, there is also a cab file for importing as a Windows Update.

The download and further technical information is available from here:

SCCM 2012 SP1 CU1 Hot Fix Download

I have installed this already in my own production environment and updated my servers and consoles and my clients are in the process of updating too, so far I’ve had no issues whatsoever.

Zune Unattended Install for SCCM Software Catalog

We have recently had a large amount of Nokia Lumia phones appearing in the business and as you may know, they do not support mass storage, so you cannot just plug in a USB cable for them and copy videos and photos to a computer.

Due to this, more and more people are asking to have Zune installed and as most of our users are now used to the Software Catalog, they wanted it adding to that for easy installation for those that require it.

So, I started to look into whether there was an MSI for this but I could not find one but there is a very simple command you can use to create a manual application in SCCM for your catalog.

If you download the ZuneSetupPkg.exe file from the internet, you can then use the below code to carry out an installation without user interaction from the Software Catalog:

 ZuneSetupPkg.exe /qb! /accepteula  

If you have any problems with this, leave a comment.