Hi AHmed,
The error code is basically Access Denied issue, It seems there was changes to the permissions on the Domain via a GPO or some tool? Please investigate any changes that might have impacted. However you can try below code to see if it resolves the issue-: Test this one of the Domain Controller or a PC.
net stop w32time
w32tm /unregister //deletes regkeys
w32tm /register //fresh setup of regkeys
sc config w32time type= own //otherwise error because of incompatible SID
sc config w32time type= share //for windows server 2012 R 2 only, otherwise access denied error, e.g. for /query /status
net start w32time
Or this
go to Services and open Windows Time service. Click on Log On tab and check the service starts under Local System account. Choose it if not and restart Windows Time service.
Hope this helps.
JS
==
Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.