<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx</link><description>Mike here again. Today I’m focusing on policy settings for the Event Logging Service. For clarity, these settings control the Event Logging service; the service responsible for capturing and writing events throughout Windows. These policy settings do</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3105738</link><pubDate>Thu, 14 Aug 2008 15:00:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3105738</guid><dc:creator>botler</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In the article you are wrote about option LogFilePath:&lt;/p&gt;
&lt;p&gt;&amp;quot;You only provide a path location; Windows maintains the file name.&amp;quot;&lt;/p&gt;
&lt;p&gt;I checked this and if name of log file not entered - option does not working. In my lab this is working if option LogFilePath has a value:&lt;/p&gt;
&lt;p&gt;LogFilePath = c:\&amp;lt;folder_name&amp;gt;\&amp;lt;file_name&amp;gt;.evtx&lt;/p&gt;
&lt;p&gt;If value is:&lt;/p&gt;
&lt;p&gt;LogFilePath = c:\&amp;lt;folder_name&amp;gt;\&lt;/p&gt;
&lt;p&gt;it not working.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;P.S. sorry for my english&lt;/p&gt;
</description></item><item><title>re: Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3105792</link><pubDate>Thu, 14 Aug 2008 16:56:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3105792</guid><dc:creator>NedPyle</dc:creator><description>&lt;p&gt;Hi Botler,&lt;/p&gt;
&lt;p&gt;Nice catch! That has been corrected in the blog post. Thanks very much for bringing that to us.&lt;/p&gt;
&lt;p&gt;- Ned&lt;/p&gt;
</description></item><item><title>Interesting Links – 8/14/2008</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3105883</link><pubDate>Thu, 14 Aug 2008 20:05:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3105883</guid><dc:creator>Matt Johnson's Technical Adventures</dc:creator><description>&lt;p&gt;Ask the Directory Services Team : MCS Talks Infrastructure Architecture joeware - never stop exploring…&lt;/p&gt;
</description></item><item><title>BlogMS Weekly Articles Published - 11th August 2008 to 17th August 2008 </title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3107814</link><pubDate>Mon, 18 Aug 2008 14:46:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3107814</guid><dc:creator>BlogMS - Team Blogs at Microsoft</dc:creator><description>&lt;p&gt;135 Microsoft Team blogs searched, 70 blogs have new articles in the past 7 days. 177 new articles found&lt;/p&gt;
</description></item><item><title>re: Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3107950</link><pubDate>Mon, 18 Aug 2008 17:01:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3107950</guid><dc:creator>botler</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have a problem with option 'Log Access'. &lt;/p&gt;
&lt;p&gt;What I doing:&lt;/p&gt;
&lt;p&gt;1. With CACLS tool I detect the SDDL string for security log in default location:&lt;/p&gt;
&lt;p&gt;CACLS c:\windows\system32\winevt\logs\security.evtx /S&lt;/p&gt;
&lt;p&gt;result is:&lt;/p&gt;
&lt;p&gt;D:AI(A;ID;FA;;;S-1-5-80-880578595-1860270145-482643319-2788375705-1540778122)(A;ID;FA;;;SY)(A;ID;FA;;;BA)&lt;/p&gt;
&lt;p&gt;2. Open option 'Log Access' in 'Default Domain Controllers Policy' and writing this value.&lt;/p&gt;
&lt;p&gt;3. Restart DC.&lt;/p&gt;
&lt;p&gt;After that I login as administrator and run Event Viewer. I get error when open Security log:&lt;/p&gt;
&lt;p&gt;'Event Viewer cannot open the eventlog or custom view. Verify that Event Log service is running. The security descriptor structure is invalid (1338)'&lt;/p&gt;
&lt;p&gt;and events doesn't displayed.&lt;/p&gt;
&lt;p&gt;Also I try to get a SDDL string for security log with ICACLS tool:&lt;/p&gt;
&lt;p&gt;icacls c:\windows\system32\winevt\logs\security.evtx /save c:\sddl.txt&lt;/p&gt;
&lt;p&gt;result in file:&lt;/p&gt;
&lt;p&gt;D:AI(A;ID;FA;;;S-1-5-80-880578595-1860270145-482643319-2788375705-1540778122)(A;ID;FA;;;SY)(A;ID;FA;;;BA)&lt;/p&gt;
&lt;p&gt;In Event Viewer the same error occured.&lt;/p&gt;
&lt;p&gt;Where is mistake in my workflow?&lt;/p&gt;
&lt;p&gt;Thaks.&lt;/p&gt;
&lt;p&gt;P.S. Sorry for my english.&lt;/p&gt;
</description></item><item><title>re: Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3108071</link><pubDate>Mon, 18 Aug 2008 17:48:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3108071</guid><dc:creator>NedPyle</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There's a slight misunderstanding here - you are trying to set permissions for the EVTX file itself, when actually you should be setting permissions used by the event log system. The permissions on the EVTX file are not correct for what would be used in the CustomSD value that gets written.&lt;/p&gt;
&lt;p&gt;The following KB gives an example of the correct SDDL syntax you will need to be testing with:&lt;/p&gt;
&lt;p&gt;323076	How to set event log security locally or by using Group Policy in Windows Server 2003&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://vkbexternal/VKBWebService/ViewContent.aspx?scid=KB;EN-US;323076"&gt;http://vkbexternal/VKBWebService/ViewContent.aspx?scid=KB;EN-US;323076&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(Ignore the 2003-theme of the aticle and just focus on the section starting with &amp;quot;The following sample SDDL&amp;quot;)&lt;/p&gt;
&lt;p&gt;- Ned&lt;/p&gt;
</description></item><item><title>re: Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3108458</link><pubDate>Tue, 19 Aug 2008 13:09:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3108458</guid><dc:creator>botler</dc:creator><description>&lt;p&gt;Hi Ned.&lt;/p&gt;
&lt;p&gt;Thank You for comment - it is very usefull for me. I solved my previous problem, but new questions occured.&lt;/p&gt;
&lt;p&gt;I have a domain user account with name 'adm1' and he is member of the following groups: Domain Admins, Domain Guests, Domain Users, Users, Guests. His SID is 'S-1-5-21-2843397318-35701858-1184183407-1106'. &lt;/p&gt;
&lt;p&gt;1. In group policy 'Default Domain Policy' in option 'Log Access' for Security and Application log I writed the following string:&lt;/p&gt;
&lt;p&gt;O:BAG:SYD:(D;;0xf0007;;;S-1-5-21-2843397318-35701858-1184183407-1106)&lt;/p&gt;
&lt;p&gt;After that i restarted a member server, login as 'adm1' on it and run Event Viewer. When I try to open Application Log I have a correct error:&lt;/p&gt;
&lt;p&gt;'Event Viewer cannot open the eventlog or custom view. Verify that Event Log service is running. Access is denied (5).'&lt;/p&gt;
&lt;p&gt;Security log is opened without errors and events are visible. Why the Security log is visible?&lt;/p&gt;
&lt;p&gt;2. In above scenario I writed a Windows Command Script (.cmd) file:&lt;/p&gt;
&lt;p&gt;eventcreate.exe /L application /id 999 /T error /D &amp;quot;Test&amp;quot;&lt;/p&gt;
&lt;p&gt;When I run this &amp;quot;as administrator&amp;quot; (additional credentials are not answered and command running under 'adm1' user) - event created successfully in Application log. Does it correct? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;P.S. Sorry for my English.&lt;/p&gt;
</description></item><item><title>re: Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3108533</link><pubDate>Tue, 19 Aug 2008 17:00:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3108533</guid><dc:creator>NedPyle</dc:creator><description>&lt;p&gt;(Whoops - I gave a bad link last time - should have been:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/323076"&gt;http://support.microsoft.com/kb/323076&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;I'm not 100% sure about your repro. It's possible that members of Administrators are special-cases to prevent them from being locked out of reading critical log info. Try again with your test user being *only* a domain user and not a member of all those other groups.&lt;/p&gt;
</description></item><item><title>re: Event Logging policy settings in Windows Server 2008 and Vista</title><link>http://blogs.technet.com/askds/archive/2008/08/12/event-logging-policy-settings-in-windows-server-2008-and-vista.aspx#3160453</link><pubDate>Fri, 28 Nov 2008 01:12:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3160453</guid><dc:creator>murrato1</dc:creator><description>&lt;p&gt;Good info - thanks.&lt;/p&gt;
&lt;p&gt;When I look at the properties of newly-built Windows 2008 server, the maximum log size dialog shows as 2048KB (2MB) and not 20MB as you indicate above. &lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;
</description></item></channel></rss>