Configuration failed to Windows Server Update Services

Ghozi 1 Reputation point
2021-11-22T13:47:56.577+00:00

Please help me to solve this problem.
I need the right solution.

Configuring WID database...
2021-11-22 20:36:51 Configuring the database...
2021-11-22 20:36:51 System.InvalidOperationException: Cannot start service MSSQL$MICROSOFT##WID on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not start due to a logon failure
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at Microsoft.UpdateServices.Administration.ConfigureDB.StartService(String serviceName)
at Microsoft.UpdateServices.Administration.ConfigureDB.Configure()
at Microsoft.UpdateServices.Administration.ConfigureDB.Run(String instanceName, Action`1 logWriter, Boolean contentLocal)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Fatal Error: Cannot start service MSSQL$MICROSOFT##WID on computer '.'.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,654 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rita Hu -MSFT 9,646 Reputation points
    2021-11-23T01:52:01.037+00:00

    @Ghozi
    Thanks for your posting on Q&A.

    Please follow this link to grant the logon account NT SERVICE\ALL SERVICES permission and restart the WID service. Then we could try to configure WSUS.

    Reference screenshot:
    151633-6.png

    Hope the above will be helpful.

    Regards,
    Rita


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Adam J. Marshall 9,686 Reputation points MVP
    2021-11-22T15:07:35.533+00:00
    0 comments No comments

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.