Occasionally, the need to change the location of the MACC log files might arise. This article provides information about how to change the default folder where the MACC logs are generated and maintained.
CAUTION: This article contains information about opening or modifying the registry.
- The following information is intended for System Administrators. Registry modifications are irreversible and could cause system failure if done incorrectly.
- Before proceeding, Technical Support strongly recommends that you back up your registry and understand the restore process. For more information, see the Microsoft Windows registry information for advanced users article.
- Do not run a REG file that is not confirmed to be a genuine registry import file.
The location of these files can only be changed by changing the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\swin\Parameters\LogFilePath
When changing this key keep the following in mind:
- The key must be changed in Update Mode; otherwise this registry value is protected by the MACC Integrity feature.
- The new destination folder must exist before the change occurs. Create the folder where you want to place the logs before changing the registry key.
- Restart the system after changing the registry key value. The restart is a must. Restarting the system allows the operating system to see that the registry value has been changed and acts accordingly.
After the restart, verify the changes by running the following command:
sadmin config show | findstr LogFilePath
NOTE: This particular configuration can't be changed using the sadmin config set command. There is an asterisk (*) in every read-only configuration. Another item to note is that this configuration can't be changed at the time of installation.