Share via


Bitness in Office version from command line

Question

Tuesday, August 11, 2015 3:29 PM

Is there a supported way to tell quickly via the command line quickly which version of Office is installed (x64 or 32). It would be great if there is a way to tell regardless of if Outlook is installed.

All replies (3)

Wednesday, August 12, 2015 5:49 AM âś…Answered

Hi,

As far as I know, the valued of Bitness is stored in registry keys. We can use PowerShell to query the value:

Reference:

https://technet.microsoft.com/en-us/library/Ee176852.aspx

===

Then, if you want to check regardless of if Outlook is installed, we might to use filter the product code GUID:

When you install the Office 2013 suite or one of the stand-alone Office 2013 programs, one or more product codes, or GUIDs, are created in the following registry subkey:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

If you install a 32-bit version of Office 2013 on a 64-bit version of Windows, the GUIDs are created in the following registry subkey:

HKEY_LOCAL_MACHINE \Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall

Each GUID uses the following format:

{BRMMmmmm-PPPP-LLLL-p000-D000000FF1CE}

001A represent Microsoft Outlook 2013 

https://support.microsoft.com/en-us/kb/2786054

Hope it's helpful.

Regards,

George Zhao
TechNet Community Support

It's recommended to download and install Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office programs.

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].


Monday, April 24, 2017 4:36 AM

hello guys

I found th way for checking office bitness .

We can check office 365 and 2016 bitness using this registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration

Platform  x86 for 32 bit

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration

Platform  x64 for 64 bit

please check...


Saturday, April 21, 2018 1:11 AM

You can use reg query to find it

>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" /v platform

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
*    platform    REG_SZ    x64*

and then pass it to a variable

for /f "tokens=3 delims=, " %B in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" /v platform') do set "C2R_Arch=%B"

2 x % if you put it in a script

for /f "tokens=3 delims=, " %%B in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" /v platform') do set "C2R_Arch=%%B"