Error: 17053 -UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered, messages


Recently we have fixed an very interesting issue for a customer. ; sharing the details below

 

ISSUE:

SQL Server generates below error for every one minute.

 

2021-05-20 08:15:09.96 spid32s Error: 17053, Severity: 16, State: 1.
2021-05-20 08:15:09.96 spid32s UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered.
2021-05-20 08:16:10.08 spid24s Error: 17053, Severity: 16, State: 1.
2021-05-20 08:16:10.08 spid24s UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered.

 

Even though there is no impact these messages fill up the error log and are noisy. 

 

Background:

 

Every 1 minute, SQL wakes up and updates the Process ID and the Uptime in