/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


ShellCommandTestReturn on 64bit Machines

09/04/2012 4850 views

I have created a custom inventory rule to detect machines Bitlocker status but this only appears to work on 32bit machines, I do not see the output from any 64bit machines

ShellCommandTextReturn(C:\Windows\System32\manage-bde.exe -status) - This works on 32bit machines

I have also tried the below but this did not work on any machines

ShellCommandTextReturn(cmd /c type C:\Windows\System32\manage-bde.exe -status)

Answer Summary:
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

1

Hi Check whether exe present in C:\Windows\SysWOW64 or C:\Windows\System32 folder in 64 bit machine and try to execute the command

ShellCommandTextReturn(C:\Windows\SysWOW64\manage-bde.exe -status

Answered 09/04/2012 by: joseph
Orange Belt

  • Hi, seem to have found a fix for it

    ShellCommandTextReturn(%windir%\sysnative\manage-bde.exe -status)

All Answers

0

Since Kace agent is a 32 bit app, it cannot access C:\Windows\System32 directory on a 64 Bit OS directly. On 64 bit OS, OS redirects the agent process to c:\windows\SysWOW64 directory instead.

 

To access c:\windows\system32 directory in 64 bit OS, you need to use %windir%\sysnative

 

Answered 06/03/2013 by: AbhayR
Red Belt

0

Hi Check whether exe present in C:\Windows\SysWOW64 or C:\Windows\System32 folder in 64 bit machine and try to execute the command

ShellCommandTextReturn(C:\Windows\SysWOW64\manage-bde.exe -status

Answered 09/04/2012 by: joseph
Orange Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ