• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2989
  • Last Modified:

auditpol syntax

attach file, auditpol command doesnt work in win2k8 server
dd.bmp
0
ammadeyy2020
Asked:
ammadeyy2020
1 Solution
 
jhautaniCommented:
"Object Access" is a policy category, not a subcategory. That is why you get an error. And furthermore, it does not have the word "Audit".

Try this command: auditpol /set /category:"Object Access" /failure:enable

And to check the settings: auditpol /get /category:"Object Access"

You can retrieve lists of categories and subcategories with these commands, respectively:
auditpol /list /category
auditpol /list /subcategory:*
0
 
JBlondCommented:
The /subcategory-parameter and the category itself needs to be separated by a colon instead of a space.

e.g. /subcategory:"audit object access"
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now