Deploying and registering OCX files using ConfigMgr 2012

sccm logo

I’ve been asked about deploying and registering OCX files, well this is how we do ours…

Copy the INF and OCX files to a readily available location on the network. Also create two batch files (give the extension name of .cmd) with the following in each:

Batch file 1 (File Copy):

xcopy \LOCATION_OF_FILES*.* “c:\Windows\Downloaded Program Files” /e /c /i /g /h

Batch File 2 (OCX Reg):

regsvr32 /s “%windir%Downloaded Program FilesNAME_OF_OCX_FILE.ocx”

Then create 2 packages (yes both the same but one to copy and one to register) for those files in CM2012.

For the first package, lets call it “File Copy”, make the program point to the Batch File 1 (File Copy)

For the second package, lets call that “OCX Reg”, make the program point to the Batch File 2 (OCX Reg).

Then distribute those packages to your DPs so that are available.

Then, you create a Task Sequence under Operating Systems. Create two “Install Package” in this task sequence.

Then have the File Copy package run first, then the OCX reg one run second.

Deploy the task sequence to which ever collection you want it to go to and it should work!

How to deploy certificates for custom WSUS updates to client machines

Microsoft Blue Logo

As per previous posts on the blog for custom updates using WSUS, you have to make sure that your environment is set up correctly to allow these custom (local) updates to install on client machines. To make this work, you need to export your WSUS/SCUP self-signed certificate and make sure it is applied to all … Read more

AutoCAD & AutoDesk serial number reporting using SCCM 2012

Autodesk AutoCAD Logo

This step by step guide will show you how to setup your System Center 2012 Configuration Manager to report to you the Autodesk software that is installed on your clients machines but will also give you the serial numbers for the software and what software package is installed. (If you find the pictures hard to … Read more

Java Updates to Client Machines using Windows Updates

Java Featured Image with Java Code

After really wanting to get Java updates pushed through our WSUS but never really having the time to look into it, last week I decided it was time to get it done after endless complaints from our users (they dont have admin rights so when they get the automatic Java updates they fail – and to our users this is the worse thing that could happen in the world ever….).

So, I started looking into it and after all the putting it off, found it to be extremely simple.

All you need is WSUS (which we use rather than SCCM to push out updates but obviously its the same thing at the end of the day…) and SCUP (System Center Update Publisher). You download the latest version of the Java client, create a custom update and put in some register entries to see what version the client currently has and whether an update is required, push it out and boom – Java updates using WSUS!

Note that to use SCUP you must have an installed, licensed System Center for your business as per the pre-reqs for downloading SCUP.

I’ve now put together a full step-by-step guide on how to do this, so if you are interested, you can find the guide by clicking the link below:

Java Updates using WSUS/SCCM/SCUP