Category Windows

Offline Windows Registry Hive Editing

I have sometimes found myself in situations where I need to edit the Windows registry of an OS that I am not booted from (maybe the operating system won’t boot/is corrupted/needs to be changed without being booted to).  It is actually possible to load up these OS registry hives from any environment that can run […]

Use PowerShell to List Local Administrators on a Remote Computer

Obtaining the administrators from a remote computer can be tricky, especially if you are connected to a large Active Directory domain.  Many solutions I’ve seen for this end up looping through all the users on the entire domain.  My environment has nearly a quarter million AD users, so that’s just not feasible. Scripting the following […]

Microsoft Visual C++ Redistributables MSI Product Codes

Microsoft makes deploying Visual C++ fairly easy with their plethora of redistributables, but sometimes it can be difficult to detect if a particular Visual C++ version is installed. Below are the MSI Product codes that relate to each release.  This information is particularly helpful when using deployment software such as SCCM. Visual C++ 2005 Redistributable […]

Parse CMD Output into Variables for OS Version & Bit Version

I was recently in need of getting a Windows operating system and bit version from command line.  I needed to store this data into variables that I could reference later in a batch script. In Windows CMD, it’s not so straightforward to store or pipe the results of a command into into a variable.  For […]

Fix Application Not Available to Select in SCCM 2012 Task Sequence Install Application List

If you are unable to see an application in the list to select when setting up the Install Application step in an SCCM 2012 task sequence, there are two common reasons why. #1 – Application is not set as allowed to install Each SCCM application has an explicit setting that allows it to be used during task […]

Use Quser To View Which Accounts Are Logged In & Remoted In to a Computer

When restarting a Windows server or computer, you may receive a warning message that other users are still using the computer: So how can you find out who this “someone else” is? Quser (query user) is a built-in Windows command line tool that is particularly useful when needing to identify active user sessions on a computer.  This feature exists […]

Run Multiple Commands from a Single Run Command Line Task in an SCCM 2012 Task Sequence

When building an SCCM 2012 task sequence, a Run Command Line task can be added to execute CMDs: When needing to run multiple commands, adding a separate Run Command Line tasks for each command will work.  But sometimes combining multiple commands into a single step will be more efficient. The & Operator Multiple commands can be ran […]