Links and downloads from SCU 2014 in Basel

Below is a list of the links and scripts that I used in my two sessions today on Compliance Management and Troubleshooting ConfigMgr. Compliance examples – download Configuration Manager Support Center: Microsoft System center 2012 R2 Configuration Manager Toolkit: Optimizing ConfigMgr database: Background on maintenance task: Configuring SQL Backup and recovery, includes link to demo: Autmating the WSUS Cleanup process SQL PowerShell audit script Splitting existing ConfigMgr database into multiple SQL files Pre-creating the database before installing Configmgr – download script SQL Script to for fragmentation on the SQL DB   Checking [...]

By | 2014-09-19T18:30:27+00:00 September 19th, 2014|Configuration Manager (SCCM), General info|4 Comments

Troubleshooting Workgroup Clients with PKI not talking with MP

I had a ConfigMgr 2012 R2 case going on for a while with Workgroup clients in a DMZ zone that wouldn’t communicate with the Management Point. A PKI infrastructure was in place and running, and the ConfigMgr Client was installing fine on these workgroup clients – but when the time came for the client to start talking with the Management Point i had numerous errors in LocationService.log and ClientIDManagerStartup.log and in a couple of other logs. Errors in the LocationServices.log >> Failed to send request to /ccm_system_AltAuth/request at host MPServerFQDN, error 0x2f8f >> Error sending HEAD request. HTTP code 600, [...]

By | 2014-08-21T14:32:47+00:00 August 21st, 2014|Configuration Manager (SCCM)|1 Comment

Dealing with reboot pending clients in Configuration Manager 2012

Guess most of you are struggling with troubleshooting software update compliance and installing applications in Configuration Manager 2012. What I have found, is that clients in a reboot pending state often is the root cause to the problems. In previous posts I have described how you can use tools like Coretech Shutdown Utility to automatically restart computers that has been in a reboot pending state for X number of hours/days.  The information about the reboot pending state is stored in WMI Root\ccm\ClientSDK namespace as illustrated here with the Coretech WMI & PowerShell explorer: Identify reboot state using PowerShell Launch PowerShell [...]

By | 2014-01-19T17:14:28+00:00 January 19th, 2014|Configuration Manager (SCCM), General info|19 Comments

Where are my Software Update state messages

My experienced ConfigMgr 2007 administratos are wondering how it can be that Software Update compliance reports are not showing states like “Waiting for Maintenance Windows” but only Enforcement State unknown or Compliant. The answer to that question can be found in the State Message detail settings for the software update deployment. By default only Error and success messages are reported. Example 1 – using the default software update state details settings:   Example 2 – Software Update deployment configured to send all state messages :   Controlling the state message detail level The correct way to configure the state message [...]

By | 2013-05-31T13:13:53+00:00 May 31st, 2013|Configuration Manager (SCCM), General info|2 Comments

PowerShell – How to do WMIClass CreateInstance but WITH credentials

Today I was building a script to create system resources in SCCM 2012 and part of the task was to add these resources to a set of collections. The script will use from the SCCM server when finally implemented but for now I was using my laptop for editing and debugging. When I came to the point where I had to create the actual membership rules for the collections I ran into a hurdle that puzzled me. The WMI object I had to create was the SMS_CollectionRuleDirect, which often is done using this simple PowerShell snippet: $ruleClass = [WMICLASS]"\\$($server)\root\sms\site_$($sitecode):SMS_CollectionRuleDirect".CreateInstance() And [...]

PowerShell to the rescue – Clean up direct collection memberships

We where talking to a customer about how to avoid waiting for Active Directory group synchronization to occur and place a device in the correct collections faster than “until the next synchronization”. The main problem with this setup was caused by the fact that they used a group-in-group membership to identify collection memberships and apparently SCCM 2012 don’t include indirect changes to group membership as delta changes (I have not tested this in details yet). So we came up with the idea to just create a direct membership to place the device in the collections instantly to make sure that [...]

By | 2013-03-12T12:31:15+00:00 March 12th, 2013|Configuration Manager (SCCM), Powershell|3 Comments

Mastering SCCM 2012 SP1 training

System Center 2012 SP1 just released, and it’s not a minor release. I have been working with SMS since 1996 and I haven’t seen anything like this in the past. If you need training on Configuration Manager 2012 I highly recommend that you attend the correct class and it must be a class where the material is based on the latest Service Pack. There a huge changes in Service Pack 1 and we will make sure that you learn about all of them. Our Mastering Configuration Manager 2012 class has been running with great success since May 2011 and is [...]

By | 2012-10-04T12:50:04+00:00 October 4th, 2012|Configuration Manager (SCCM), Training|2 Comments

Extending OSD progress UI Info in SCCM

While running a task sequence, info on what is happening is shown in the progress UI, well the name of the Task Sequence, and the step that is running anyway!! But what if we could extend that info to let us know other things as well! Turns out that is as easy as typing a little extra text in the Task Sequence editor. Example 1: Let say you are administrating a large environment, doing several OSD tests against a number of MPs, and DPs. Now wouldn’t it be nice if we could actually see where data is picked up, right [...]

Small useful scripts–Changing Driver Package source (PS1)

I have this customer who had to move all driver packages from from one server a another. This of cause meant all the Data Source references had to be change as well. Once al the packages were moved to the new server I ran the following  two scripts to change the source. All you need to change is the $Site to your site code, or add it is a parameter when you run the script. You will obviously also have to type in the old and new path. Syntax: Script.ps1 –Site XXX If you want to only run against one [...]

Clean up your wims

Generally I always use the append method of capturing my images (MDT’s ZTIBackup.wsf will do that for you, as explained here). This allows me to store multiple versions of my production image in the same image file. The biggest benefit of storing multiple images in the same wim file is of cause utilization of the single storage capabilities, as each file is only stored once, hence, space requirements for storing images are less. One problem though, is the amount of images, or INDEXES in the wim. First of it can be kind of messy if you have lots of index [...]

By | 2012-01-09T08:27:03+00:00 January 9th, 2012|General info, OS Deployment|0 Comments

Get original Driver for Lenovo biometric fingerprint scanner

I have had all kinds of trouble installing the Biometric fingerprint scanner that comes with most all new Lenovo laptops. Using the Lenovo software works, but I also installs al kinds of stuff that I don’t want, or need for that matter. Instead I choose to go with the original drive for the Hardware , exactly as I would do with  Storage and network drivers.. All Lenovo machines ( that I know of anyway), that has a built in Biometric fingerprint scanner, uses hardware from AuthenTec, formerly UPEK, so all there is to it is to pull the correct drivers [...]

By | 2012-01-04T14:22:00+00:00 January 4th, 2012|General info, Hardware & Drivers, OS Deployment|0 Comments

Check If needed OSD packages are present on a DP

  I have a few customers who have many sits, end even more Distribution Points. They also have several different task sequences for deploying everything from XP to Server08R2. Every now and then, they will create new DP’s that needs to be updated with packages, and because of space and bandwidth issues, they do not necessarily want everything distributed to these DP’s. So how do we go about adding only the stuff we need to the new (or existing) DP?   1 – Download “ConfigMgr DP Util” by Cory Becht , and install it on your Computer. 2 – Run the [...]

How to create a context menu for SMS Client Center in the Configuration Manager 2007 console

If you have ever worked with Configuration Manager 2007 you properly know about the great freeware tool called SMS Client Center created by Roger Zander. The latest version of SMS Client Center can be downloaded from here: You install the tool locally on your computer and it does not require the installation of the Configuration Manager console. You can connect to one Configuration Manager client at a time by typing the dns name or ip address of the client. But you can actually launch the tool from within the Configuration Manager console without the need to manually typing in [...]

By | 2011-10-29T21:16:47+00:00 October 29th, 2011|Configuration Manager (SCCM), General info|5 Comments

Adding Files to the Boot Image in CM2012

A couple of months ago I wrote a post on how to automatically add files to the boot image, as part of the Update distribution point process, using OSDIntection.xml In CM2012 however, this option is no longer available. Instead the development team has been kind enough, to actually include this service as part of the Boot Image properties, well sort of anyway! What they added is an option to add a prestart Command Hook ( earlier: Media Hook or pre execution hook) This option is obviously intended to add a script or HTA to be launched before choosing what [...]

By | 2011-10-17T14:57:25+00:00 October 17th, 2011|Configuration Manager (SCCM), OS Deployment|2 Comments

Enable LENOVO TPM Security Chip (and other stuff) from a TS

  I have some customers who run strictly Lenovo Computers (laptops and Desktops). On a lot of these computers the security Chip has been disabled or is in Inactive mode, thus not allowing the use of Bitlocker. I just finished messing around with activating the TPM Chip in the BIOS From a Task sequence on those LENOVO computers, and once all the minor obstacles were figured out, it turned out to be quiet easy. The first thing I wanted to do was to check if the TPM chis was already Active, and if not, Activate it. This is actually real [...]

By | 2011-08-25T10:23:00+00:00 August 25th, 2011|General info, OS Deployment|20 Comments

Finding the correct storage driver for Win XP using WMIC

I already wrote a post on how to find the correct driver, for a Intel 6 Series storage controller, which is sometimes named different in XP and 7. In that particular case I picked up the correct driver name by installing Windows 7 on the PC, and looking trough device manager..  Today I was with a customer, where installing Windows7 was not an option, and they had two HP machines ( Elite 8200 and 6560b) booth failing upon entering the XP minisetup. Laying down the image using SCCM, was no problem, meaning WinPE was fine driver wise. Clearly the [...]

By | 2011-08-18T14:39:00+00:00 August 18th, 2011|Hardware & Drivers, OS Deployment|3 Comments

Set default keyboard settings based on Running OS

While doing refresh scenarios, its possible to have USMT set the current Keyboard settings for the existing users on the reinstalled OS. The problem however, is setting the same default keyboard settings for new users on that machine.. By default the Keyboard settings will be that of the reference image, so if the keyboard settings in the image is en-US/00000409 it will be so on the deployed machine, unless this is changed somehow ( E.g Unattend.xml, variable, Reg e.t.c) In an XP to Win7 migration scenario (or 7 to 7), you could run a script, to pick up the current [...]

By | 2011-06-02T20:51:33+00:00 June 2nd, 2011|OS Deployment|2 Comments

Coretech SCCM Manager 1.0.4 – Freeware Download

This week a customer contacted us, claiming that the tool did not work on sundays! I thought that was pretty strange, so I asked for log file/event log messages, and it was true. It did fail! It was even “Kernelbase.dll” or “kernel32.dll” that was throwing the exception! I tested it on our test environment, and got the same errors.! I turned out to be an old Visual Basic function, that is used to retrieve the name of the current day, that was failing on sundays. This new version has an updated logfile writer, which writes the correct format [...]

Making file copy easy.

I often run into questions concerning simple file copy during a SCCM/MDT Task Sequence.  There are many ways to accomplish this, but it seams most people wind up using the good old XCOPY command, and in general there is nothing wrong with that. When copying from a DP though, you might run into problems when copying all files and folders in the root on your source, as that points to the root of X:\windows and not the root of the package specified.. Well to work around any issues I created a small VBS script, that takes care of the copying [...]

By | 2011-01-17T13:54:24+00:00 January 17th, 2011|General info, OS Deployment|24 Comments

Coretech SCCM Manager – Freeware Download

New Version out! 1.0.4! Get it here: Since we found a minor bug in the 1.0.3 version, we have decided to release version This has fixed the bug that cause distribution points that did have “-“ in the name, not to show up in the list of DPs. We are still working on a newer version, but can not give any info about when it will be released, since we don’t know. Changelog / What’s New 1.0.3 -> Fixed bug that caused DP’s that had “-“ in their name, not to show up in the list. 1.0 RC1 [...]

By | 2010-08-04T12:03:55+00:00 August 4th, 2010|Configuration Manager (SCCM), Tools|6 Comments