Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
TheTOM_SK

How to disable all logging?

Recommended Posts

Hi, I would like to disable all logging to gain some performance.

So far I have disabled services like Event Log and WMI logging:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM]
"Logging"="0"

But there are still log files creating with extensions: evm, etl and log:

C:\Windows\inf\setupapi.app.log 516.48 kBytes
C:\Windows\System32\config\system.LOG1 256.00 kBytes
C:\Windows\System32\LogFiles\Scm\SCM.EVM 128.00 kBytes
C:\Windows\System32\LogFiles\Scm\SCM.EVM.1 192.00 kBytes
C:\Windows\System32\LogFiles\Scm\SCM.EVM.2 160.00 kBytes
C:\Windows\System32\WDI\LogFiles\BootCKCL.etl 7 7.25 MB
C:\Windows\System32\WDI\LogFiles\ShutdownCKCL.etl
C:\Windows\System32\WDI\LogFiles\WdiContextLog.etl.001
C:\Windows\System32\WDI\LogFiles\WdiContextLog.etl.002
C:\Windows\System32\WDI\LogFiles\WdiContextLog.etl.003

Edited by TheTOM_SK

Share this post


Link to post
Share on other sites

Bumping an old topic, as I'd like to know how also.

Pardon if it's already been covered, been trying to search for it but having no luck.

Performance gain would be nice, but it's not what I'm after. The files stay locked on my drive, some unable to be defragmented, or moved at all for that matter, and it's really impeding my defragmentation routine which is too long to bother explaining, so pardon my bluntness.

Edited by Departed

Share this post


Link to post
Share on other sites

You do realize that logs are still being generated when you disable services and logging, but just not written to disk? This is akin to disabling perfmon counter objects - the data is still collected, but you just can't query it anymore.

Oh, and if anything on your box requires writing to the event log in the future, you've just generated a system hang or bugcheck by disabling the event log service. Just an FYI.

Share this post


Link to post
Share on other sites

can any one tell me how to disable log entries into "c:\windows\inf\setupapi.app.log" file

so that no entry can be made by OS insde this file...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×