Having a 32 bit and a 64 bit software distribution package loaded into the Kace Box, custom inventory rule help
We have 32 bit and 64 bit machines and we have software distributions that have 32 bit versions for the 32 bit machines and 64 bit software versions for the 64 bit machines. Instead of having to switch the packages around 1-2 times a week I was trying to create a custom inventory rule that looks at the registry and if the folder exists than it is the 64 bit version and if the folder exists in another location than that would be the 32 bit version as the software is in the following locations depending if it is 32 bit or 64 bit.
Win 7 x64
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cisco Systems\VPN Client
Win 7 x86
HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems\VPN Client
My custom inventory rule is RegistryFolderExists(HKLM\SOFTWARE\Wow6432Node\Cisco Systems\VPN Client)for the 64 bit version but no 64 bit machines with the Cisco VPN 64 bit version installed are falling under the Custom inventory software rule.
Im running the latest K1000 6.2 version. Can anyone help or tell me what the correct rue is to look for a folder in the registry location or how to have 32 bit and 64 bit version loaded into the Kace distribution section, apparently Kace cant determine the difference between the two
Win 7 x64
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cisco Systems\VPN Client
Win 7 x86
HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems\VPN Client
My custom inventory rule is RegistryFolderExists(HKLM\SOFTWARE\Wow6432Node\Cisco Systems\VPN Client)for the 64 bit version but no 64 bit machines with the Cisco VPN 64 bit version installed are falling under the Custom inventory software rule.
Im running the latest K1000 6.2 version. Can anyone help or tell me what the correct rue is to look for a folder in the registry location or how to have 32 bit and 64 bit version loaded into the Kace distribution section, apparently Kace cant determine the difference between the two
4 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
briancollins
10 years ago
Posted by:
johnbags401
10 years ago
I've run into this in the past and it is because the KACE agent is a 32bit program. If you want to access the 64bit part of the registry, you have to do it like this.
RegistryFolderExists(HKLM64\SOFTWARE\Wow6432Node\Cisco Systems\VPN Client)
I've had this come up in other places where I've had to use the sysnative flag, but I can't remember off the top of my head.
If you run into other problems like this, hopefully this gives you a head start.
RegistryKeyExists(registryPath) for the registry
or
DirectoryExists(path) for the file structure - SMal.tmcc 10 years ago