by Jonathan Bennett | Aug 30, 2018 (Updated Sep 6, 2018)
Overview This post describes the ways that SCCM handles reboots for a Package & Program deployment. The behaviour depends on the Program configuration, deployment method, and return code. For example, a Package will perform differently when deployed in a Task...
by Jonathan Bennett | Aug 30, 2018 (Updated Aug 30, 2018)
Overview This post describes the return codes that SCCM understands for Package and Program deployments and shows which codes are classed success, reboot, or retry. The meaning of return codes for Packages and Programs is defined in the SCCM site control file. Codes...
by Jonathan Bennett | Aug 28, 2018 (Updated Aug 28, 2018)
Overview This post describes the firewall ports that need to be opened between an SCCM console and SCCM servers in order to use the Create Task Sequence Media wizard. I recently had to run the Create Task Sequence Media wizard from an SCCM console installed in a...
by Jonathan Bennett | Jul 4, 2018 (Updated Jul 5, 2018)
Overview This post shows how to create a single instance WinForm C# application using a Mutex. It also demonstrates how to send any object between instances with Named Pipes. While writing OSD Background I wanted an application that would only allow a single instance...
by Jonathan Bennett | Jun 20, 2018 (Updated Jun 20, 2018)
Overview This post shows how a script can detect if it is running from inside an SCCM Task Sequence in a way that avoids false positives. The Problem At times it’s useful for a script to detect if it is running from an SCCM Task Sequence so it can alter its...