SCCM Package and Program Return Codes and Reboot Behaviour

SCCM Package and Program Return Codes and Reboot Behaviour

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...
SCCM Package and Program Return Codes and Reboot Behaviour

SCCM Package Success, Reboot and Retry Return Codes

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...
SCCM Package and Program Return Codes and Reboot Behaviour

SCCM Create Task Sequence Media Wizard and Network Ports

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...
Single Instance WinForm App in C# with Mutex and Named Pipes

Single Instance WinForm App in C# with Mutex and Named Pipes

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...
GImageX v2.2.0 Released for Windows 10

GImageX v2.2.0 Released for Windows 10

Overview GImageX v2.2.0 has been released. GImageX is a freeware GUI for working with imaging WIM files providing an alternative to DISM. It can be used to capture, apply, mount, export, split and delete WIM files. GImageX is provided as a 32-bit and 64-bit native...
AutoIt Cmdlets for Windows PowerShell

AutoIt Cmdlets for Windows PowerShell

Overview The newest versions of the AutoIt scripting language now come with a bonus for PowerShell users. A set of native PowerShell Cmdlets! This allows you to add the unique features of AutoIt – window manipulation and keystroke simulation – to your...
WinPE Version List

WinPE Version List

Overview This post contains a WinPE version list including the WinPE version, the Windows version, and the numeric Windows version string that it was built from. It covers all versions of WinPE from the initial Windows XP versions to the latest Windows 10 versions....
UTF-8 and UTF-16 Text Encoding Detection Library

UTF-8 and UTF-16 Text Encoding Detection Library

Overview This post shows how to detect UTF-8 and UTF-16 text and presents a fully functional C++ and C# library that can be used to help with the detection. I recently had to upgrade the text file handling feature of AutoIt to better handle text files where no byte...
Mass Redistribute Packages in ConfigMgr 2012

Mass Redistribute Packages in ConfigMgr 2012

Overview Recently I came across an issue with System Center Configuration Manager (ConfigMgr) 2012 where a large number of packages and applications had failed to be distributed to a new Distribution Point (DP). There were many thousands of packages in the environment...
Detect an SSD Disk Using a Script

Detect an SSD Disk Using a Script

Overview A common request when creating automated desktop builds or custom maintenance tools is the ability detect if the main system drive is an SSD disk or not. This information can be used to configure a system in a particular way. For example, to run (or not run)...
GImageX v2.1.0 Released for Windows 8.1

GImageX v2.1.0 Released for Windows 8.1

GImageX v2.1.0 has been released. GImageX is a graphical user interface for the ImageX tool from the Windows Assessment and Deployment Kit (Windows ADK). ImageX is used to capture and apply WIM images for Windows deployments. GImageX uses the supported Microsoft...
Configuring an AirPort Extreme for NAT Only Mode

Configuring an AirPort Extreme for NAT Only Mode

Overview This post will show how you can use an configure an AirPort Extreme for NAT only mode so that you can allow an additional DHCP server on your network to handle IP address allocation. The instructions are for the AirPort Extreme in the Time Capsule, but I...
Website Server Rebuild Diary

Website Server Rebuild Diary

Overview Not a usual scripting or deployment post this time – this is a website server rebuild diary. I wanted to make a quick post to document a server rebuild and to log the sort of work that goes into maintaining this and the www.autoitscript.com site. Even...
Using Custom XML and Config Files with USMT and ConfigMgr

Using Custom XML and Config Files with USMT and ConfigMgr

Overview Using USMT In System Center Configuration Manager (SCCM / ConfigMgr)  when performing an Operating System Deployment (OSD) can be a bit of a chore. The built in Task Sequence actions available for capturing and restoring user state only allow you to perform a...
Create a USMT Package in ConfigMgr

Create a USMT Package in ConfigMgr

Overview In System Center Configuration Manager (SCCM / ConfigMgr)  when performing an Operating System Deployment (OSD) there is usually some form of user data and settings migration. This is often performed using the Microsoft User State Migration Toolkit (USMT)....
Create a Windows 7 BitLocker Partition in ConfigMgr

Create a Windows 7 BitLocker Partition in ConfigMgr

Overview In System Center Configuration Manager (SCCM / ConfigMgr)  something I’ve done a few times is to create a BitLocker partition for Windows 7 during an Operating System Deployment (OSD) Task Sequence. I’ve seen the method used here a few times...
ConfigMgr 2012 SQL Database Collation

ConfigMgr 2012 SQL Database Collation

Overview I just tried to update my ‘default’ installation of System Center Configuration Manager (SCCM / ConfigMgr) 2012 RC1 to RC2. I got a failure at the pre-req check stage stating that my SQL 2008 R2 database was using the wrong collation type and that...