WMI

SCCM – Updated E-book SCCM Administration v3

Hi All, my updated SCCM e-book has finally been released. It took some time to write up and test. With 130 pages divided in 37 chapters, you’ll find lots of good info about starting with SCCM. And it is free… In this version, I removed Linux related topics, Updated Windows 10 to 1709, added sections for Cloud Management Gateway (CMG), Windows 10 Express updates, SCCM Data warehouse, Office 365 Installer, Windows 10 Update Readiness, Pending Reboot, updated some other section for SCCM 1710 and updated/added some powershell scripts To download, click here. let me know if you have any feedback

SCCM-Compliance Setting Script error 0x87d00321

Hi All, When working with Compliance Settings, I normally end up using scripts and often, I get the error 0x87d00321. If you use CMTrace, you’ll see that the error is: The script execution has timed out. Source: System Center Configuration Manager —– Now, we need to understand how it works and how to change. The script timeout information is saved under the class SMS_SCI_ClientComp, Component Name Configuration Management Agent on a lazy property called ScriptExecutionTimeout. The default values is 60, it means that the script will be timed out after 60 seconds of execution. The value, can be seen when using the following powershell script  

  Now the trick part, how to change? As you can imagine, not that trick if you have PowerShell. The script below changes the default 60 seconds to 600 seconds,  

  if you want this behaviour to be changed or have…

SCCM 2012: Application Catalog and Migration

Hi All, last week, i was helping a customer with their migration from SCCM 2012 R2 to SCCM 2012 R2 CU4. There were already many things that had happen, collection migration, etc.. but the consultant that was performing the migration, wasn’t able to finish the job, so, i was called in. During the migration, we migrated couple of clients to test the migration script/GPO and we noticed the application catalog (probably the most used feature for them) wasn’t returning any result, however, when my user was logged on, i was able to see the applications that were deployed to “All users” collection. Looking at the logs, i saw on the policy logs, that the user policy was always with “0” assignments and so, it was not bringing anything to the Application Catalog. I tried to reset the policy, reinstall the client but none of those things worked. Looking further, on…

Becoming a SCCM automation hero: SCCM & PowerShell automation course

Hi all Are you looking to be the SCCM automation hero? Look no further with my SCCM & PowerShell automation course I’ll be delivering a 3 days online course next July. The next course is scheduled to happen on 08, 09 and 10 July 2015 In this class, you’ll learn how to use Windows PowerShell to automate the deployment and management of a SCCM 2012 R2 environment What you’ll see/learn* – Overview of Automation, PowerShell and WMI – PowerShell, the basics – Tools & Resources – Deploying and Managing sites – Deploying and managing site system roles – Administrative Tasks – Assets and Compliance Tasks – Software Library Tasks – Console Extension – custom scripts and custom forms – Client Management (including Remote Management) *it may be subject to change During this course, you’ll have remote access to a lab environment where you will be able to learn while using….

System Center 2012 R2 Configuration Manager: Automation from Zero to Hero book is out

Hi All, Over the past few months I have been busy writing my new book about System Center 2012 R2 Configuration Manager and PowerShell called System Center 2012 R2 Configuration Manager: Automation from Zero to Hero. Today, I would like to let you know that it is now available as e-book via RFLSystems.co.uk website (http://bit.ly/1EsS4OG), as paperback via Amazon UK (http://amzn.to/1F6psrK), Amazon US (http://amzn.to/1AVV3bL) and Amazon DE (http://amzn.to/1cvNene) while other Amazon’s website should be available soon. For most Configuration Manager administrators, the Configuration Manager console is more than sufficient to perform the necessary operations. However you are limited to what the console is designed to handle. For more complex tasks, or those that might extend beyond the scope of the console, you need an alternative. This book is packet with real-world scripts that have proven to save time when automation day-to-day tasks in a Configuration Manager environment. What will you…

SCCM 2012-Find TS Reference without AutoInstall settings

Hi All, it is a common problem when using OSD to install apps, to forget to select the “Allow this program to be installed from the Install Software task sequence without being advertised” application setting. same for the packages/programs, where people forget to select the “Allow this program to be installed from the Install Package task sequence without being deployed” on the program settings. When this happen, you will normally see the Task Sequence failing with error 0x80004005 and looking at the logs, you’ll see No matching policy assignments received. Policy download failed, hr=0x80004005 When this happen, you need to enable the setting and start it again, but you easily lost couple of hours doing it already. Microsoft has a good blog post on how to enable it here, however, it does not show you what apps or packages/program you need to change. So i created a simple (and dirty)…

ConfigMgr: Automation from Zero to Hero

Hi All, Today is a great milestone for me because I just finished writing the ConfigMgr: Automation from Zero to Hero book. It is not under final review and should be available in the next couple of months. I have to thank David Nudelman, Heinrich Pelser and Panu Saukko for helping me to review and for their contributions as well as Dave Randall as without their help it would be much harder to finish it.

SCCM 2012 R2 – Driver Packages (Specific driver packages to specific devices)

Players, When it comes to driver packages and deploying Windows to multiple hardware variants using the same task sequence, every man and his dog has a way of doing it. Some of us like to be precise and other don’t mind how this is configured as long as all the drivers are on the DP and they get onto machines one way or another … So, lets pretend that we want to be a little more specific with drivers and we don’t like “Auto Deploy” as we have taken the time to create individual driver packages for each hardware variant. Here is some guidance on how to deploy specific driver packages to specific devices via the task sequence. 1. We need to know what the model name is for the specific machine/s first. So open command prompt (or PowerShell if you want to look cool) and type WMIC Computersystem GET Model you should get…

@Heinrich_Pelser SCCM 2012 R2 – Supported Hardware checks in Task Sequence

Players, Deploying Windows has fed my kids and put a roof over my head for a few years so its safe to say that I take it seriously. Sometimes I like to automate things and try to find the simplest way of doing stuff where possible. I don’t cut corners however. Never. But recently I’ve found a few who do. A few engineers I worked with (for a client) were specifically instructed to only build HP machines. I stress again ONLY HP. The reasons were political, but they chose to ignore this as they had all the drivers for their laptops, they continued to use the single task sequence and build just about anything they had drivers for. Needless to say, the managers were pissed off and they wanted to simply remove the task sequence and instructed me to create another, ready for production in 2 hours … Simple you say?…