High Disk Usage Due to MS Office Diagnostic Logs on RD Server

Nisam Ali 1 Reputation point
2024-09-21T11:54:41.68+00:00

Hi Team,

We have set up an RD server (2022) and installed MS Office 2021 . Everything is working fine, but recently we noticed significant disk consumption in the users' AppData folders.

Path: C:\Users\Username\AppData\Local\Packages\oice_16_XXXXXX folder.

In this location, each user is generating random diagnostic .log files (16,384 KB each) in multiple folders (oice_16_XXXXXX).

After some research, I discovered that this is due to MS Office diagnostic logs.

In previous versions of MS Office, there was an option to disable these logs under privacy option, but it seems this option is not available in the new version of MS Office.

Capture

Could you kindly advise how we can disable these logs and clear the existing files? Currently, each user is consuming more than 8GB of disk space due to these logs.

Thank you

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,663 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,133 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,573 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,361 Reputation points Microsoft Vendor
    2024-09-24T02:54:31.68+00:00

    Hello,

    open registry by "regedit"

    Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Support and Recovery Assistant

    Create a DWORD , "UploadDiagnosticLogsDisabled"

    Set value to 1

    Reboot your pc


    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.