/build/static/layout/Breadcrumb_cap_w.png

Best Practices Question


How to check for the DEP status?

09/21/2016 1136 views
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:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

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

All 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

 
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