/build/static/layout/Breadcrumb_cap_w.png

How to check for the DEP status?

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.

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: SMal.tmcc 4 years ago
Red Belt
1

Top Answer

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

or

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

Comments:
  • 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 - SMal.tmcc 4 years ago
Posted by: SMal.tmcc 4 years ago
Red Belt
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


 
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