Skip to content

Suggestion: clear policy #11

@LasseKrache

Description

@LasseKrache

Hello again

Since I stumbled upon the need to make changes to the audit policy today, I would like to suggest the following:

To easily and quickly import configuration changes, one should insert the command "auditpol /clear /y" before the actual definitions are made. This will reset all previous policies and then you can initiate again.

Extract from the code

:: ...
:: Configure Security log 
:: Note: subcategory IDs are used instead of the names in order to work in any OS language.
:: Clear
:: Before configuring (new) audit policies we reset them to default values
auditpol /clear /y 
:: Account Logon
:: ...

At least, it does no harm. ;-)

Best regards,
Lasse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions