Change the default Event Log file location in Windows 10

To change the default Event Log file location using Group Policy Editor, follow these steps- Let’s delve into the steps in detail. At first, press Win+R to open the Run prompt. Then, type gpedit.msc and hit the Enter button. After opening the Local Group Policy Editor on your computer, follow this path- In the Security folder, you will see a setting called Control the location of the log file. Double-click on and select the Enabled option.

Then, enter a path that is writable by Event Log service and accessible to the administrator(s) of the computer. While choosing a path, you must consider these two conditions. Otherwise, this guide won’t work. If you want to revert to the original path, visit the same place, and select Not Configured option. Read: Event Viewer logs missing in Windows 10.

Modify the location of the Event Log file using Registry Editor

To modify the location of the Event Log file in Windows 10, follow these steps- As you will creating and changing some values in Registry Editor, it is recommended to backup all Registry files and create a System Restore point. To get started, press Win+R, type regedit, and press the Enter key. If it shows the UAC window, click on the Yes button. After opening the Registry Editor, navigate to this path- In the Windows key, you will have to create one sub-key. For that, right-click on Windows > New > Key and name it as EventLog.

Now, follow the same steps to create a sub-key inside EventLog. In other words, right-click on EventLog > New > Key, and name it as Security.

Following that, you will have to create a String Value in the Security key. For that, right-click on Security and select New > String Value. Then, name it as File.

Next up, change the Value data off File String Value. To do so, double-click on File, and enter a path where you want to save the Event Log file as Value data.

Click on the OK button to save the change. If you want to choose the default path, right-click on EventLog and select the Delete option. Then, you will have to confirm the delete by clicking on the affirmative option. Read: Event Viewer logs are missing. That’s all! Hope it helps.