Report AutoCAD Product and Serial Numbers using Configuration Manager

Autodesk AutoCAD Logo

This post is a rehash of an old post we did back in December 2013 but with the recent release of version 2016 of AutoCAD and AutoCAD LT and also the release of our updated code to retrieve the serial numbers from machines for this updated product; we thought that we would slightly update this post and re-publish it.

In the past we have released SCCM Configuration Item VBScripts to collect Autodesk serial numbers and then inject this information in to the WMI to be collected by the next hardware inventory.

After much researching and testing, we have now made a decision that this is not the best way to collect this source of information from user machines. We will now be using a similar, yet much simpler way of doing this.

This involves editing the SCCM configuration.mof file on the primary server and adding a class to the hardware inventory collection.

Using this method allows us to collect the following information from users machines:

  • Product Name
  • Product Release
  • Serial Number
  • Stand Alone Network Type

We have collated a huge text file which has what we believe, every single Autodesk product on the market (not just AutoCAD) and the registry entries that the configuration.mof will look at to collect the data from the end users machine.
Below we will supply you with this text file and also full instructions on what to do with it.

Download

You should first ensure that you have downloaded the file below – this is the text file that contains all the information you will need to retrieve your AutoCAD serial numbers from the WMI on users machines. This download is now available from our Filestore microsite by clicking the button below.

Download Autodesk v2018 MOF File

Update

Note that with the release of Autodesk products for 2019, you can now download the 2019 MOF script using the button below:

Download Autodesk 2019 MOF Script

Instructions

Once you have downloaded the text file from above, you need to go to the following location on your primary SCCM server:

%programfiles%\Microsoft Configuration Manager\inboxes\clifiles.src\hinv

Take a copy of your configuration.mof file and copy it to a test machine that has the Configuration Manager Console installed on it.

Edit the test configuration.mof file on your test machine using a product like Notepad++ and at the very bottom of the file you will see a bit of code like this:

//========================
// Added extensions Start
//========================
//========================
// Added extensions end
//========================
In the middle of this code you should copy and paste the contents of the text file that you have downloaded from our site earlier. So, the end of your configuration.mof file should look like this (note that we’ve stripped it right down to one product for demo purposes, yours should be A LOT longer!):

//========================
// Added extensions Start
//========================
//Autodesk_Inventory_x86
#pragma namespace (".rootcimv2")
#pragma deleteclass("Autodesk_Inventory", NOFAIL)
[DYNPROPS]
Class Autodesk_Inventory
{
[key] string KeyName;
String ProductName;
String Release;
String SerialNumber;
Uint32 StandaloneNetworkType;
};
[DYNPROPS]
Instance of Autodesk_Inventory
{
KeyName="AutoCAD 2000";
[PropertyContext("Local|HKEY_LOCAL_MACHINESoftwareAutodeskAutoCADR15.0ACAD-1:409|ProductName"),Dynamic,Provider("RegPropProv")] ProductName;
[PropertyContext("Local|HKEY_LOCAL_MACHINESoftwareAutodeskAutoCADR15.0ACAD-1:409|Release"),Dynamic,Provider("RegPropProv")] Release;
[PropertyContext("Local|HKEY_LOCAL_MACHINESoftwareAutodeskAutoCADR15.0ACAD-1:409|SerialNumber"),Dynamic,Provider("RegPropProv")] SerialNumber;
[PropertyContext("Local|HKEY_LOCAL_MACHINESoftwareAutodeskAutoCADR15.0ACAD-1:409|StandaloneNetworkType"),Dynamic,Provider("RegPropProv")] StandaloneNetworkType;
};
//========================
// Added extensions end
//========================

To continue reading, please click the next page below...

You might also like...

1 Response

  1. Luis Enrique Ronderos says:

    Hola buenos dias,

    .Tengo problemas para recolectar los numeros de seri de Autodesk en maquinas con Windows 10, hice cada uno de lospasos indicados y no me funciona, podrian por fafor ayudarme indicandome que puede estar pasando, ya que en una máquinacon Widows 7 sin recolecto la informacion de forma correcta.

    Tengo SCCM 2012 R2 CU3.

    Muchas gracias por su ayuda.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.