Skip to main content

Posts

Changing the color of the title bar via registry

This will change the title bar to black c:\> reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoColorization" /t REG_SZ /d "0" /f c:\> reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v "ColorPrevalence" /t REG_DWORD /d "1" /f c:\> reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v "AccentColor" /t REG_DWORD /d 4282203453 /f c:\> reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v "AccentColorInactive" /t REG_DWORD /d "13882323" /f

Event Viewer XML Filtering by Source

There are situations where you wanted to exclude certain sources (event providers) when analyzing Windows Event Logs. For example, in figure 1 below, say you wanted to exclude events from Lib_SLP and still see the rest, how would you do that?     Figure 1. Source is Lib_SLP   First, head over to Details tab, XML View . Observe the XML structure - we are interested to the System | Provider elements.  Figure 2. XML VIew   To filter out that provider, click on Filter Current Log.. and type the following: Figure 3. XML Filter View < QueryList >    < Query Id = "0" Path = "Application" >      < Select Path = "Application" >         *[System[Provider[@Name!="Lib_SLP"]]]      </ Select >    </ Query > </ QueryList > REF: T:001