auditpol syntax

Posted on 2009-04-22
Last Modified: 2012-05-06
attach file, auditpol command doesnt work in win2k8 server
Question by:ammadeyy2020
    LVL 10

    Accepted Solution

    "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:*
    LVL 21

    Expert Comment

    The /subcategory-parameter and the category itself needs to be separated by a colon instead of a space.

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now