Hi
Does anybody know how to script the turn on "Audit logon events" within the Audit Policy.
I found a old method on a forum which suggested the following
1. Configure a machine as wanted via secpol.msc
2. export it by running the following:
secedit /export /cfg c:\filename
3. copy that file to the managed files on the Kserver
4. create a script in kaseya that copies the file to the temp dir and runs:
secedit /import /cfg tempdir\filename /quiet
however this was obviously written for a older version of secedit.exe and it no longer supports /import.
The version of secedit.exe im using is 5.1.2600.5512
Any help would be appreciated.
Does anybody know how to script the turn on "Audit logon events" within the Audit Policy.
I found a old method on a forum which suggested the following
1. Configure a machine as wanted via secpol.msc
2. export it by running the following:
secedit /export /cfg c:\filename
3. copy that file to the managed files on the Kserver
4. create a script in kaseya that copies the file to the temp dir and runs:
secedit /import /cfg tempdir\filename /quiet
however this was obviously written for a older version of secedit.exe and it no longer supports /import.
The version of secedit.exe im using is 5.1.2600.5512
Any help would be appreciated.