/build/static/layout/Breadcrumb_cap_w.png

ShellCommandTestReturn on 64bit Machines

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)


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: joseph 12 years ago
Orange Belt
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


Comments:
  • Hi, seem to have found a fix for it

    ShellCommandTextReturn(%windir%\sysnative\manage-bde.exe -status) - martynryan1 12 years ago
Posted by: AbhayR 11 years ago
Red Belt
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

 

Posted by: joseph 12 years ago
Orange 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

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