• Update Client Settings Priority Tool for ConfigMgr 2012 – v1.0

    After releasing a couple of betas over the last week I have made some more changes to the Update Client Setting Priority Tool.

    The major change is that the Tool now supports the amendment of SCEP policies.

    In Configmgr 2012, if you create custom Client Settings a priority is assigned to the policy. This priority can be amended in the ConfigMgr console by right clicking the setting and choosing Increase or Decrease Priority…

    • Thu, Mar 26 2015
  • Update Client Settings Priority Tool for ConfigMgr 2012 – Beta v1.1

    I have amended the Update Client Settings Priority Tool for ConfigMgr 2012 to include a check if duplicate priorities have been entered into the tool.

    If duplicates are entered then you will get the following warning.


    For details on how to use the tool see the following blog post

    • Tue, Mar 24 2015
  • Update Client Settings Priority Tool for ConfigMgr 2012 - Beta v1.0

    In Configmgr 2012, if you create custom Client Settings a priority is assigned to the policy. This priority can be amended in the ConfigMgr console by right clicking the setting and choosing Increase or Decrease Priority.


    If you are dealing with an environment with that contains many custom Client Settings then this can become a labourious task to adjust the priorities one click at a time.

    To allow for bulk update…

    • Thu, Mar 19 2015
  • Windows 10 content on WMUG

    Over the coming months I will be focusing my WMUG content on the new Microsoft OS Windows 10. I'll be looking into all flavours of the operating system from desktop to mobile and even on the Windows 10 IoT for Raspberry PI.

    ConfigMgr admins will be happy to know, that whilst not officially supported, the OS can be deployed via a Task Sequence on ConfigMgr 2012. I have a blog post detailing this for the Technical Preview…

    • Fri, Mar 13 2015
  • Dynamically deploying packages and applications to computers using a Task Sequence via PowerShell in ConfigMgr 2012

    Peter van der Woude created an excellent PowerShell script and blog post to dynamically deploy applications to computers via a Task Sequence within ConfigMgr.

    At a client recently, I was tasked with implementing this script. I decided that I would embellish the script and add in support for dynamic package deployment and also allow for cross-forest installation, trusted and non-trusted and workgroup client install.


    • Thu, Mar 12 2015
  • Find Task Sequences targeted to a device via PowerShell

    The following Get-WMIObject query will return all Task Sequences that are deployed against a device in ConfigMgr 2012.

    Feed in a variables.

    $ResourceName = 'targeted device'
    $SiteServer = 'hostname of the site server'
    $SiteCode '3 digit site code'

    Then run the following command:

    Get-WMIObject -ComputerName $SiteServer -Namespace root/SMS/site_$SiteCode-Query "SELECT di.* FROM SMS

    • Wed, Jan 28 2015
  • Suppress the 'Welcome to the Task Sequence Wizard' when using Boot Media in ConfigMgr 2012

    It's an easy one to miss, but by default, when creating Task Sequence Media, the ability to run unattended is not enabled. So you power up your device to see the 'Welcome to the Task Sequence Wizard' screen.


    Normally with boot media an engineer would be on site using the ISO but there are occasions where the boot media could be used and engineer involvement is not required. So you need the ability to suppress…

    • Tue, Jan 27 2015
  • Deploying Windows 10 Preview Build 9926 via ConfigMgr 2012

    Whilst ConfigMgr 2012 does not officially support the installation of Windows 10 via OSD it can still be used to deploy the OS.

    Download the latest technical preview from the Microsoft website here. I will be installing the x64 release in this blog post.

    Add the Operating System Image

    Copy the install.wim file from the ISO's source folder.


    Paste into your source location for OSD content.


    In the ConfigMgr console…

    • Mon, Jan 26 2015
  • Adding Dynamic Machines variables as part of an automated build using PowerShell via ConfigMgr 2012

    This blog post will explain how you can dynamically assign machine variables to a computer object in a ConfigMgr 2012 using a simple PowerShell script.

    My starting block was the code featured at http://www.scapaot.de/blog/?p=34

    I wanted to be able to enter an array of variables and loop the code based on the number of variables in the array.

    Download details

    You can download the Add-MachineVariables.ps1 script from the…

    • Thu, Jan 22 2015
  • The following exception occurred while retrieving the type name hierarchy: "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"

    When attempting to run a PowerShell script via Orchestrator to connect to the ConfigMgr site server the following error was generated.

    'The following exception occurred while retrieving the type name hierarchy: "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"'

    WMI ports were open and the required Windows services were running.

    To resolve the problem the service account running…

    • Tue, Jan 20 2015
  • Task Sequence step not applying

    Strange goings on whilst working on a Task Sequence in SCCM 2007. One of the driver packages wasn't applying to the end device. The WMI query checked out ok but the device booted up without any of the drivers applied.

    Checking the SMSTS.log I noticed that the driver package step was marked as disabled.


    However looking at the Task Sequence the step wasn't disabled.DriverDisabled-002

    To remedy the problem, I disabled the step…

    • Thu, Dec 11 2014
  • Find out a deployment from the Deployment ID

    Via the SCCM Console, the Deployment ID for a deployment is not visible by default. To enable this go into the Monitoring workspace. Right click the menu bar and choose Deployment ID from the list.


    The Deployment ID's are now visible.


    Via PowerShell you can use the Get-CMDeployment cmdlet. Entering Get-CMDeployment will return all deployments. You can filter via a specifc ID using the command:


    • Fri, Dec 5 2014
  • Five Minute Mentor - Deploying .exe applications in SCCM 2012

    Here's the first of a series of video blogs on how to get by in SCCM 2012. These snippets are entitled 'Five Minute Mentor' and aim to show you how to do something in ConfigMgr in 5 minutes.

    I decided to tackle 'Deploying .exe applications' in my video as my blog post Deploying .exe files via SCCM 2012 receives some many hits. It's one of those confusing areas for new users in SCCM as the dropdown list…

    • Sat, Nov 1 2014
  • MP not responding to HTTP requests

    Installing a new device recently I noticed that it was reporting as Client = No. The ccmsetup had completed successfully so time to check on what the root cause was.

    A quick check of the site status within the console confirmed that there were problems. Ugly red crosses next to my Management Point and Application Catalog roles. We do not like to see red crosses!

    Checking the messages on the management point role I could…

    • Thu, Oct 30 2014
  • The Microsoft Software License Terms have not been completely downloaded and cannot be accepted

    I spent some time over the last few days troubleshooting an error in the wsyncmgr.log file. The EULA was not being downloaded to the WSUS content folder and the error 'The Microsoft Software License Terms have not been completely downloaded and cannot be accepted' appeared in the log file. I followed many recommendations to get this working and none of them would fix the problem. Frustrating times!

    My scenario …

    • Fri, Oct 17 2014
  • SCCM 2007 to 2012 Migration Ports

    I was recently receiving a 'The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)' error message when attempting to configure the migration hierarchy for a SCCM 2007 to 2012 migration.

    Checking back on the TechNet articles to confirm, the stated ports required for migration are:

    • NetBIOS/SMB – 445 (TCP)
    • RPC (WMI) – 135 (TCP)
    • SQL Server – 1433 (TCP)

    These ports were open. I…

    • Mon, Oct 13 2014
  • ConfigMgr Query Collection for Windows 10 Tech Preview Desktops

    Microsoft surprised us all with the news of the release of the next OS Windows 10 earlier this week. So there we were waiting for Windows 9! The Tech Preview is available to download now.

    Whilst this release is not officially supported in SCCM 2012, as yet, it is possible to build a Windows 10 device via OSD. Check out Niall Brady's excellent blog article on how to achieve this.

    So you've installed the O/S and the ConfigMgr…

    • Mon, Oct 6 2014
  • Cumulative Update 3 for System Center 2012 R2 Configuration Manager released.

    The latest cumulative update for SCCM 2012 R2 has been released by Microsoft http://support.microsoft.com/kb/2994331/en-us

    One of the surprise additions to the CU is the ability to configure some form of management point affinity to stop MP rotation. This involves creating a AllowedMPs registry value under the HKEY_LOCAL_MACHINE\Software\Microsoft\CCM key. The FQDN of your preferred MP is entered in this key.

    One thing…

    • Mon, Oct 6 2014
  • Installing a Remote SUP in SCCM 2012 R2 on Windows Server 2012 R2

    If you have followed my previous blog article for installing a remote SUP in SCCM 2012 R2 you may have noticed that I ran the install on Windows Server 2008. So what's different when you want to install a remote SUP on Server 2012. Read on....

    Install the WSUS Console on the site server

    The easiest way to install the console is to use a PowerShell command.

    Open PowerShell and run the following:


    • Thu, Sep 11 2014
  • Installing a remote Software Update Point on SCCM 2012 R2

    The following blog runs through the procedure that is required to install a remote SUP in your environment. This could be to off-load site roles from the site server or to scale out. 

    Note that the installation has taken place on a Windows 2008 R2 server.

    Install the WSUS Console on the site server

    Download WSUS 3.0 SP2 from here.

    Click Next in the WSUS install wizard.


    When prompted choose to install the console only. Click…

    • Wed, Sep 10 2014
  • Endpoint Protection Anti-Tamper Remediation (SCEP 2012)

    SCEP 2012 SP1 introduced anti-tamper features into the product. The ability to stop or restart the Microsoft Antimalware Service has been disabled. http://blogs.technet.com/b/mspfe/archive/2013/02/19/anti-tampering-for-the-antimalware-service-in-system-center-endpoint-protection-2012-sp1.aspx

    What happens though if a user has access to uninstall SCEP from Add/Remove programs? SCCM client actions will run and determine…

    • Fri, Aug 29 2014
  • The software change returned error code 0x87d01280

    When attempting to remove App-V application from the Software Center I received the following error.



    Error code 0x87d01280 means that the application is still in use. Close the application down and attempt to retry the application removal again.


    • Tue, Aug 12 2014
  • The software change returned error code 0x800702E4 (-2147024156)

    When attempting to install Adobe Reader recently from the Application Catalog the application installation failed. Checking the failure in the Software Center I encountered the following error 'The software change returned error code 0x800702E4 (-2147024156)'



    I investigated further in the AppEnforce.log and noticed the following error messages relating to the installation.

    'CMsiHandler::EnforceApp failed…

    • Wed, Jul 16 2014
  • Using the SCCM 2012 Application Model to remove CMTrace

    Garth Jones, ECM MVP and general ConfigMgr guru, wrote an excellent piece recently on pushing out the CMTrace log viewer via the SCCM application model.

    To take full advantage of the SCCM 2012 application model I thought it would be good to embellish the piece with details on how to configure the uninstall aspect of the deployment.

    It's very simple to implement and gives you full control on install/uninstall of the log…

    • Fri, Jul 11 2014
  • SCCM 2012 R2 Cumulative Update 2 Available

    CU2 is now available from Microsoft. Details available here

    Once you update to CU2 your version number will change to 5.0.7958.1303.

    CU2 introduces a bunch of PowerShell changes and these are viewable at the following KB.

    SCCMentor is proud that, once again, a bug logged with Microsoft Connect has been addressed in a MS update.

    The bug addressed is:

    Application Virtualization

    • Modifications to App-V Virtual Environments…
    • Sat, Jun 28 2014