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…)
– 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.
Follow the same steps mentioned above (Point 1) to complete the changes.
More Details about logging is available Here