• Inventory mapped drives in ConfigMgr 2012

    The ability to inventory mapped network drives was a common customer ask in ConfigMgr 2007 and SCCM Expert and some other folks provided free scripts and MOF edits to take care of this.  But can this be done in ConfigMgr 2012? 

    Mapped network drives and printers are a per-user setting so you need to run a script or process under the user’s context to grab that data and store it somewhere that the hardware inventory process can get to.  The obvious place to store the data is WMI.  There may be other scripts out there that do this and if you have a better way to do this in ConfigMgr 2012 please let me know, but I chose to use a script provided by CTS for ConfigMgr 2007 and it worked just fine in my lab.  Credit to Alvin Morales and JC Hornbeck for the blog article:

    http://blogs.technet.com/b/configurationmgr/archive/2008/12/18/configmgr-2007-how-to-inventory-mapped-drives.aspx

    Obviously in ConfigMgr 2012 we won't perform the MOF edits shown in the article, we make the change in the ConfigMgr 2012 console itself.  But the VB script provided (mapdrives.vbs is what they called it) is required.  Given the requirements that need to be met for this to work as a ConfigMgr package (run with user rights, run only when a user is logged on, set it to re-run on a schedule, etc) this may work better as a logon script.  You could also modify the VB script to inventory mapped printers as well.  You could further modify the script to force a hardware inventory once it’s done, or just wait for the next scheduled inventory to occur.

    Once you have created the package and deployed it to your clients, you can verify it worked by using WBEMTEST to connect to root\CIMV2 and look in CX_mappeddrives.

    clip_image002

    In the ConfigMgr 2012 console you’ll need to add the new class for hardware inventory.  So, Administration/Client Settings/Default Client Settings (or select a custom device settings group)/Hardware Inventory/Set Classes.  Click Add and use the Connect option to specify a client that now has the information stored in WMI and select the CX_mappeddrives class name.

    clip_image003

    Once the client has retrieved machine policy and submitted hardware inventory, you should be able to see the mapped drive data in Resource Explorer:

    clip_image005

    and you can confirm in the database:

    clip_image007

  • whoops

    Somehow managed to delete all of my comments on my blog.  Whoops!  Hopefully I’ll get some new ones to publish.

  • MMS 2014 and beyond?

    It would appear not.  Rod Trent blogged about it, Mary Jo Foley and Paul Thurott talked about it this week as well.  I have had the good fortune to speak at the past several MMS conferences and before that served as a member of staff.  It was a great conference, with great people, and I will miss it. 

  • CM2012 version numbers

    Every time I do a CM Risk Assessment (RaaS) for a customer I have to remember the various versions of CM2012 clients that are out there.  Here is a compiled list so I'll know where to find it (and maybe you will too!) :-)

    • CM 2012 RTM - 5.00.7711.0000
    • CM 2012 CU1 - 5.00.7711.0200
    • CM 2012 CU2 - 5.00.7711.0301
    • CM 2012 SP1 - 5.00.7804.1000
    • CM 2012 SP1 CU1 - 5.00.7804.1202
    • CM 2012 SP1 CU2 - 5.00.7804.1300
    • CM 2012 SP1 CU3 - 5.00.7804.1400
    • CM 2012 SP1 CU4 - 5.00.7804.1500
    • CM 2012 R2 - 5.00.7958.1000
    • CM 2012 R2 KB2905002 - 5.00.7958.1100
    • CM 2012 R2 CU1 - 5.00.7958.1203
    • CM 2012 R2 CU2 - 5.00.7958.1303
    • CM 2012 R2 CU3 - 5.00.7958.1401

  • CM2012 content status messages - what do they mean?

    I'm not sure these are documented so adding here:

    Content status message of successfully distributed content is the normal status when you deploy content to a DP

    Content status message of successfully processed content on DP is the status when you validate content on a DP

    Content status message of content was distributed to DP is when you redistribute content to the DP.