OpenSSH server does not remember its startup settings in Services after a Windows update

James Rome 36 Reputation points
2022-10-08T13:47:23.957+00:00

I have filed 5 bug complaints about this, but have received no fixes or feedback.

In Windows 11 Developers build, I have set OpenSSH Server to start automatically. I use this to connect from my Mac. It is MUCH faster than smb.

But after every Windows update, OpenSSH is set to manual and is not started. One would think this would be an easy fix??

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,894 questions
{count} votes

7 answers

Sort by: Most helpful
  1. James Rome 36 Reputation points
    2022-10-10T13:12:52.27+00:00

    It is NOT a bug in OpenSSH. It is a bug in Windows 11 services app. Services does not remember its OpenSSH Settings.

    1 person found this answer helpful.

  2. Tamas Hegedus 6 Reputation points
    2022-10-10T18:19:06.73+00:00

    Happened to me, I just noticed today. I was unable to access my computer via the OpenSSH Server service. Has been working fine for two years before, without maintenance. Unfortunately, as I only use this occasionally, (only when there is an emergency at work, guess how surprised I was that it just stopped working), I cannot pinpoint the exact update or date, but it broke down in the past month.

    0 comments No comments

  3. Tamas Hegedus 6 Reputation points
    2022-10-10T18:39:56.773+00:00

    It only works now if I set the service to "Log On As" "Local System". Back in the day, I created a dedicated local user on this system to run the OpenSSH Service as, but it doesn't work anymore. I wonder if it has something to do with the other issue, where Credential Guard prevents RDP to use the saved passwords by default. See https://learn.microsoft.com/en-us/answers/questions/1021785/windows-11-22h2-can39t-use-saved-credential.html

    Now I have to run an ssh server as local admin, in the name of security.

    0 comments No comments

  4. Steven Cheatham 1 Reputation point
    2022-10-15T20:46:46.483+00:00

    This just happened to me via a windows update. I'm not running an insider build. OpenSSH Server did not start up and was reset to manual. Windows update just updated me to 22H2 installed on 10/5.

    0 comments No comments

  5. James Rome 36 Reputation points
    2022-10-15T22:14:06.047+00:00

    It is a BUG. Why. can't someone from Microsoft address this?


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.