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

auditpol - to see what is the current setting

when i tried auditpol command as below to see if the "directory service changes" is Yes or No, i only get it was successfully executed.

C:\Users\jimwe>auditpol /set /subcategory:"directory service changes"
The command was successfully executed.

can you check if it is enabled or not from command line? what exactly happened with my command above?

thanks
0
anushahanna
Asked:
anushahanna
1 Solution
 
jason987Commented:
You didn't do anything with that command because you did not add on the switches to change the values.  (/success:enable /failure:enable etc...)

Easiest way (and best because you have a backup) to view all of the settings is to backup all of the settings and then just view them in notepad:

Run from an elevated command prompt.

auditpol /backup /file:auditpolicy.txt

Open in new window


More reading:

http://support.microsoft.com/kb/921469
0
 
anushahannaAuthor Commented:
thanks Jason.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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