Random thoughts of a System Center Admin...

Manage it, yeah I can do that...

Page 2 of 6

Detection Method – Hotfix Detection

There are times where you have to deploy a Stand Alone update file as a pre-req for a Software Package, in order to “Link” the packages together using the dependency feature of the Application Model can be a challenge because now you have to find a detection method for the Update.

This is how I do my SCCM Detection Methods to verify if a HotFix is installed.


Detection Method for MSU in Applications for SCCM 2012

Taken from: http://msiworld.blogspot.ca/2013/02/detection-method-for-msu-in.html

In SCCM 2012 Applications you can have a detection method set for MSU with KB numbers.

You can use the Powershell or VBScript to do this. Here is an example of both.

Powershell Script:

get-hotfix | Where-Object {$_.HotFixID -match “KB981603”}


‘Returns info if Windows ‘KB981603’  in installed
‘ ———————————————————-‘
Option Explicit

Dim objWMIService, strComputer
strComputer = “.”

‘Run the query
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” _
& strComputer & “\root\cimv2”)

Dim QFEs
Set QFEs = objWMIService.ExecQuery (“Select * from win32_QuickFixEngineering where HotFixID like ‘KB981603′”)
For Each QFE in QFEs
Wscript.echo “Update KB981603 was installed by ” & QFE.InstalledBy & ” on ” & QFE.InstalledOn

Managing 32 bit and 64 bit versions of applications using Global Conditions, Requirement Rules and Deployment Types

A great blog on the use of SCCM 2012 Global Conditions


BGInfo Get IPAddress Script

Whenever asked if I can put the IPAddress on the Desktop using BGInfo the easy answer is “YES” it has a built in IPAddress Field should be able to do what I want.

When you use the Built-In field, you will get a (None) showing up for each of the Adapters that doesn’t have an Active IP Address assigned.  On Modern Laptops this will include WiFi adapters, or if you have a Visualization Solution installed such as Hyper-V or VMWare you will have additional virtual Network Adapters that will show as (None). Continue reading

Move Mouse Script

Over the years I have run into some pretty strange issues with Application installs, but one that to this day still trips me up is with the Citrix Plugin.

The installation seems to “hang” until you move and or click the Mouse.  Seems weird, but true…

So I went online to see if anyone had already slain this beast and found the following: Continue reading

« Older posts Newer posts »
%d bloggers like this: