/bundles/itninjaweb/img/Breadcrumb_cap_w.png
What custom inventory rule should I use to check the status of DEP? Currently I have" ShellCommandTextReturn(cmd /c type wmic OS Get DataExecutionPrevention_SupportPolicy)", but it is not working. Please help.
Answer Summary:
Cancel
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Answer Chosen by the Author


Answers

1
ShellCommandTextReturn(cmd /c  c:\windows\system32\wbem\wmic OS Get DataExecutionPrevention_SupportPolicy)

or

ShellCommandTextReturn( c:\windows\system32\wbem\wmic OS Get DataExecutionPrevention_SupportPolicy)
Answered 09/21/2016 by: SMal.tmcc
Red Belt

  • drop the word type since you opened a cmd window, you are now telling the cir to type those files after the word type which do not exist
Please log in to comment
Answer this question or Comment on this question for clarity

Answers

0
any cir that  you use cmd /c for you can test prior to see what will happen.

open a command window and paste the line in and execute to see if you get the desired return


Answered 09/21/2016 by: SMal.tmcc
Red Belt

Please log in to comment