question

MasuchMichael-8474 avatar image
0 Votes"
MasuchMichael-8474 asked MasuchMichael-8474 answered

Disable Logging of Certain Events

Dear all,

we have set up an DHCPv6 server but only want to give IPv6 addresses to predefined clients. So we use the reservation function to assign IPv6 addresses.
To stop the Windows DHCPv6 service from giving everyone IPv6 addresses we blocked the whole range. But this leads to thousands of event entries, telling us, the there are no IPv6 addresses available anymore. Is there a way to disable this event or at least to remove these from the log?


155283-screenshot-2021-12-06-133721.png


windows-serverwindows-dhcp-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
1 Vote"
LimitlessTechnology-2700 answered LimitlessTechnology-2700 edited

Hello @MasuchMichael-8474

I am not sure if you can stop logging for a specific event ID, however you can change event viewer filter settings so that some items are not displayed if you want to, i.e. to create Custom View. Try also to use Server Manager, or Perfomance MSC.

Under (Performance)->Data Collector Sets->Event Trace Sessions, select EventLog-Application and press [ENTER].

Under Trace Providers tab (default), look at the Properties list. Here you will find a Level property, which enables you to define (filter) the level of logging as you would expect.

Or double click on the error/warning in event viewer and click on the details tab and write down the GUID {} Open up regedit and go to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System \ {GUID}] on the right where the registry entries are, look for "Enabled" which will be set to one, change that to 0. reboot two times for the entry to take effect. this has worked for me for three errors/warnings that can be ignored.

Hope this helps with your query!


--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MasuchMichael-8474 avatar image
0 Votes"
MasuchMichael-8474 answered

Dear @LimitlessTechnology-2700,

thank you for your answer!

My main problem is, that these events take up all the storage that I allocated for DHCP events.

If I set the "Enabled" word under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-System{6d64f02c-a125-4dac-9a01-f0555b41ca84}" to 0, then I would not receive any events. But I need to analyze these from time to time.

Maybe someone knows a way to configure the DHCP server in that way, that no "free" IPv6 addresses


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.