Click here to Skip to main content
15,886,632 members
Articles / Desktop Programming / MFC

Query the New Windows Audit Policies Programmatically

Rate me:
Please Sign up or sign in to vote.
4.08/5 (7 votes)
26 Feb 2010CPOL3 min read 54K   2K   14  
This sample show how to access the information retrieved by running Auditpol.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Audit Policy Browser", "Audit Policy Browser.vcproj", "{07C018D5-2FE1-4BA4-8BF1-CADFF84DF5CE}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{07C018D5-2FE1-4BA4-8BF1-CADFF84DF5CE}.Debug|Win32.ActiveCfg = Debug|Win32
		{07C018D5-2FE1-4BA4-8BF1-CADFF84DF5CE}.Debug|Win32.Build.0 = Debug|Win32
		{07C018D5-2FE1-4BA4-8BF1-CADFF84DF5CE}.Release|Win32.ActiveCfg = Release|Win32
		{07C018D5-2FE1-4BA4-8BF1-CADFF84DF5CE}.Release|Win32.Build.0 = Release|Win32
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer winitor
Germany Germany
Marc Ochsenmeier is the author of pestudio (www.winitor.com) and worked as developer with the focus on Windows Security. He now works as a Malware Analyst

pestudio is on twitter at: https://twitter.com/ochsenmeier

Comments and Discussions