To change the default logs location in Windows Server 2019, complete the following steps:
- Press the Windows key + R, enter regedit, and then press Enter.
- Locate the following path: HKEY_LOCAL_ MACHINE\System\CurrentControlSet\Services\EventLog\System.
- Within the System folder, open the File value, enter the new path in the Value data text box, as shown in Figure 11.22, and then click on OK:

Figure 11.22: Changing the default logs location in Windows Server 2016
- Locate HKEY_LOCAL_ MACHINE\System\CurrentControlSet\Services\EventLog\Application to change the default location for application logs.
- Locate