Advertisement

ConfigMgr SCCM How to change Maximum Log File Size

A quick post on Maximum Log file Size settings in registry. I’ve tested this on Windows 2008 R2 server (x64). The increasing of  log file size will be very helpful at the time of troubleshooting. However, most of the people forget to change this reg key  to default value. This can cause space constrains on CM servers/clients.

First thing you need to understand is operating system architecture. Is it x64 or x86 ?

Default size of the log file is 2.5 MB = Registry value is in bytes 2621440 Bytes

So when you want increase the SCCM Log File size to 10 MB then covert this 10 MB to bytes first.  ie 10 * 1024 * 1024 = 10485760 Bytes

1. When your SCCM 2007 server is on 64 bit OS

– Navigate through the following registry location and select the appropriate Key Name depending upon your requirement (for example SMS_INVENTORY_PROCESSOR or SMS_DATABASE_NOTIFICATION_MONITOR or SMS_COLLECTION_EVALUATOR etc…)

HKEY_LOCAL_MACHINE\SOFTWARE\

Wow6432Node\Microsoft\SMS\Tracing\SMS_XXX

– Open up DWORD (32-bit Value) called MaxFileSize .

– Change the base to Decimal.

– Change the “Value Data” to default size (2621440 ) .

– Restart the component service to change to take effect. (In my case, the changes taken effect without restarting the service)

2. When your OS is x86 then you can find the details if you navigate through the following location in registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Tracing

Follow the same steps mentioned above (Point 1) to complete the changes.

More Details about logging is available Here

About Author 

Anoop is Microsoft MVP and Veeam Vanguard ! He is a Solution Architect on enterprise client management with more than 13 years of experience (calculation done on the year 2014) in IT. He is Blogger, Speaker and Local User Group Community leader. His main focus is on Device Management technologies like SCCM 2012,Current Branch, Intune. He writes about the technologies like SCCM, SCOM, Windows 10, Azure AD, Microsoft Intune, RMS, Hyper-V etc...

    Find more about me on:
  • googleplus
  • twitter
  • facebook
  • linkedin
  • youtube
Posted in: ConfigMgr (SCCM), SCCM, SCCM 2007

Leave a Comment and Contact Anoop