How to enable Office 365 ProPlus ULS logging

There are times during troubleshooting an Office issue when the traditional log settings are not gathering enough information. This could be for Sign-In issues, installation and patching issue, even App issues.

To gather more verbose logging details, set the following registry keys.

For Sign-in/Activation issues:


For installation or patching issues:

reg add HKLM\SOFTWARE\Microsoft\ClickToRun\OverRide /v LogLevel /t REG_DWORD /d 3
reg add HKLM\SOFTWARE\Microsoft\ClickToRun\OverRide /v PipelineLogging /t REG_DWORD /d 1

Reproduce the issue and gather the logs for review. The logs will be stored under %temp% for Sign-in/Activation issues. For install/patching issues we use the system account, so you will also want to collect the logs from %windir%\temp. Note the time stamp you did the repro so you gather the correct logs.

Turn off the Office ULS verbose logging setting after you gather the logs, otherwise this will continue to gather verbose data and take up more dive space.

Reg keys to automate EnableLogging enabled/disabled: Enable-Local-Logging2016 Disable-Local-Logging2016

Skip to main content