Q207415: What variables do I use for the DM agent to scan 64 bit machines

Question

On 64 bit machines there are folders for 32 bit applications and separate ones for 64 bit applications, the standard variables used by the Deployment Manager agent will only scan one of these so how do I scan both?

Answer

The new variables are as follows
 
Variable Usage of variable
$(ProgramFilesFolder) This variable can be used on both architectures, on 64 bit it relates to the PF (x86) folder
$(ProgramFilesX86Folder) This variable can be used on both architectures, on 64 bit it relates to the PF (x86) folder
$(ProgramFilesX64Folder) This variable can only be used on 64 bit machines and relates to the PF folder
$(ProgramFilesNativeFolder) This variable can be used on both architectures, on 64 bit it relates to the PF folder
$(ProgramFilesWow64Folder) This variable can only be used on 64 bit machines and relates to the PF (x86) folder
$(SystemFolder) This variable can be used on both systems and relates to Win\System32 on both architectures
$(SystemX86Folder) This variable can be used on both systems and relates to Win\System32 on 32 bit systems and Win\SysWOW64 on 64 bit systems

 
So to scan both you could use IncludeDirectory="$(ProgramFilesFolder),$(ProgramFilesX64Folder)" as an example

 

Additional Information

This information is important to know as some applications which use File evidence e.g. Exchange Server are installed in the \Program Files\ directory on 64 bit machines and the standard variable $(ProgramFilesFolder) will only scan the \Program Files (x86)\ folder so you need to specify both.
 
These variables are only available on agent versions 8.4 and above, prior to this version you need to manually specify to scan both \Program Files\ and \Program Files (x86)\ directories as the variable $(ProgramFiles) will point to \Program Files (x86)\ on 64 bit machines

 

Comments

Powered by Zendesk