Windows could not start the OpenSSH SSH Server service on Local Computer in Windows Server 2019 on azure cloud

Madala, Hanumantharao 71 Reputation points
2021-10-11T08:49:55.237+00:00

Hi Team,

We are getting the following error message while starting the windows service with service account.
Kindly advise us on this at the earliest.

Error 1297: A privilege that the service requires to function properly does not exist
in the service account configuration. you many use the Services microsoft management console
(MMC) snap-in (services.msc) and the local Security settings MMC snap-in (seapol.msc)
to view the service configuration and the account configuration.

139435-image.png

139403-image.png

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,108 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,341 Reputation points
    2021-10-13T09:04:04.917+00:00

    Hello @Madala, Hanumantharao ,

    Thank you for your question and for getting in touch.

    From an admin command or PowerShell prompt, run compmgmt.msc. Check if the service is running, if not, start it. If it fails to start, check the system event log for errors.

    See also the topic below that talks about a problem similar to yours, I believe it might be useful for you:

    https://social.technet.microsoft.com/Forums/windows/en-US/5347fb87-5b90-4cf0-a80f-12d759af53a4/having-trouble-getting-the-builtin-openssh-server-to-work?forum= win10itprogeneral

    ----------------------------------------------------------------------------------------------------------------------------------

    If the answer is helpful, please vote positively and accept as an answer.

    0 comments No comments

  2. Madala, Hanumantharao 71 Reputation points
    2021-10-19T05:03:21.507+00:00

    Hi ,

    I have gone through the provided link and doesn't meet my requirement.

    Basically I have changed the "Log On As" account from Local System to specific user account for "OpenSSH SSH Server" service in Windows 2019 Server.
    During startup of "OpenSSH SSH Server" service I have faced the above error..

    Note: With Local System, I managed to start the service("OpenSSH SSH Server") with out any issues

    For Azure Fileshare usage, Do I need to set specific user account to run "OpenSSH SSH Server" service.
    And also Please advise on following requirement:
    How to mount Azure fileshare for all users in Windows 2019 server. After reboot of VM, any user logged in should able to see mounted drive(azure fileshare)

    0 comments No comments