My outlook data-file had some problems, so I downloaded a recovery repair application from Microsoft website. I don’t remember the name of the app, it was used for troubleshooting the data-file problem. After running the app, even though the problem was not solved it asked if want to send some log files. I said okay.
That was a mistake, from next day onward my C drive space got reduced super fast. When I analysed the file size with TreeSize application, I found that there is a 98 GB log file on %temp% folder related to outlook. Wow!!
C:\Users\<user name>\AppData\Local\Temp. in this location. I deleted the log file, now my system storage is returned. But next day this file appeared again. So how to solve this problem.
After some research i found the following solution. To resolve this issue, follow these steps:
- Exit Outlook.
- Open a Run dialog box. To do this, use one of the following methods, as appropriate for your situation:
- Windows 10, Windows 8.1 and Windows 8: Press Windows Key + R.
- Windows 7 or Windows Vista: Click Start, and then click Run.
- Type regedit.exe, and then click OK.
- Locate and then click the following subkey:HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Common\Debug
Note The x.0 placeholder represents your version of Office (16.0 = Outlook 2016, Outlook for Office 365 and Outlook 2019, 15.0 = Outlook 2013, 14.0 = Outlook 2010, 12.0 = Outlook 2007).
- Right-click TCOTrace, and then click Delete.
- When you are prompted to confirm the deletion, click Yes.
- On the File menu, click Exit to exit Registry Editor.
- Delete the Outlook.exe.log file from the %Temp% folder if you are not working with a Microsoft support engineer on an issue.