Category Registry

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 […]

Ensure Windows Installs On C: Drive During SCCM OSD Task Sequences

When Windows is installed during an operating system deployment task sequence in SCCM, it is possible that it will end up on a drive letter other than C: like pictured here: I’ve seen a few methods to fix this problem, but the solution I’ve found to be the quickest and easiest is to force Windows to re-evaluate all drive letters after the […]

Run Applications in Compatibility Mode from Command Line

While recently designing an SCCM application, I ran into an issue where an EXE installer had to be executed in Windows 7 compatibility mode while running on Windows 10.  Ironically the installed application itself ran fine in Win 10 without being in compatibility mode, but the installer wouldn’t.  I needed to find a way to do this from […]

Determine x86 or x64 OS Bit Architecture from the Windows Registry

I found myself in a situation where I needed to determine if a Windows operating system was 32-bit or 64-bit from within the Windows registry.  I discovered there is a registry value that holds this information under: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment The PROCESSOR_ARCHITECTURE string data will either be AMD64 (meaning 64-bit) or x86 (meaning 32-bit).  This is the same for […]