Windows 10: Error trying to install OpenSSH Server from Powershell

Discus and support Error trying to install OpenSSH Server from Powershell in Windows 10 Customization to solve the problem; I've upgraded to the proper version of Windows and am trying to enable OpenSSH Server on my machine. It's an HP Zbook 17 running the latest version of... Discussion in 'Windows 10 Customization' started by SultericCook, Oct 10, 2019.

  1. Error trying to install OpenSSH Server from Powershell


    I've upgraded to the proper version of Windows and am trying to enable OpenSSH Server on my machine. It's an HP Zbook 17 running the latest version of Windows 10.


    I'm executing this command:



    dism /Online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0



    If I do this from Powershell running Powershell as administrator I get the following error in dism.log:


    2019-10-09 23:40:40, Error DISM DISM Package Manager: PID=5832 TID=21512 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x8024402c)
    2019-10-09 23:40:40, Error DISM DISM Package Manager: PID=5832 TID=21512 Failed processing package changes with session options - CDISMPackageManager:Error trying to install OpenSSH Server from Powershell :processChangesWithOptions(hr:0x8024402c)
    2019-10-09 23:40:40, Error DISM DISM Package Manager: PID=5832 TID=21512 Failed to install capability. - CPackageManagerCLIHandler:Error trying to install OpenSSH Server from Powershell :processCmdLine_AddCapability(hr:0x8024402c)
    2019-10-09 23:40:40, Error DISM DISM Package Manager: PID=5832 TID=21512 Failed while processing command add-capability. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x8024402c)
    2019-10-09 23:40:40, Info DISM DISM Package Manager: PID=5832 TID=21512 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
    2019-10-09 23:40:40, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=8024402C

    I'm not sure what is causing the error. Any help is appreciated.

    :)
     
    SultericCook, Oct 10, 2019
    #1
  2. Diapolo10 Win User

    Having trouble getting the built-in OpenSSH server to work

    Goal: I'm trying to set up the Windows built-in OpenSSH server (version 0.0.1.0, as I recall that being the latest one) in order to use my desktop PC remotely should I have the need for raw performance when on the road through a Windows
    10 laptop.

    Problem: Despite following
    the official guide
    to the letter, when I try to run "Start-Service sshd" in PowerShell I get this error:

    Code:
        Start-Service : Service 'OpenSSH SSH Server (sshd)' cannot be started due to the following error: Palvelun sshd avaamin    en tietokoneessa . epäonnistui.    At line:1 char:1    + Start-Service sshd    + ~~~~~~~~~~~~~~~~~~        + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],       ServiceCommandException        + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand
    If I run the executable without "Start-Service", however, it runs and seemingly waits for connections, but according to the Services tab in Task Manager it's not actually doing anything at all, nor is there an SSH user account associated
    with it.

    What I've tried:

    • Restarting Windows (after every installation)
    • Uninstalling and re-installing both the server and the client (both from PowerShell and through the Settings application)
    • Switched to local account instead of a Microsoft account (suggested on a forum thread, tried the previous steps again)
    • Using an elevated PowerShell instance with admin rights

    System information:

    • Windows 10 Home, version 1809, build 17763.379
    • Hardware configuration:
      • CPU: i9-9900k @ 4.9GHz
      • RAM: 32GB 3200MHz DDR4
      • GPU: Asus ROG Strix GTX 1080
      • Motherboard: Asus PRIME Z390-A, BIOS version 0805

    Let me know if other information is required.
     
    Diapolo10, Oct 10, 2019
    #2
  3. Brink Win User
    Windows Server 2019 Includes OpenSSH


    Source: Windows Server 2019 Includes OpenSSH - Windows Developer Blog
     
    Brink, Oct 10, 2019
    #3
  4. Brink Win User

    Error trying to install OpenSSH Server from Powershell

    Windows Server 2019 Includes OpenSSH

    Source: Windows Server 2019 Includes OpenSSH - Windows Developer Blog
     
    Brink, Oct 10, 2019
    #4
Thema:

Error trying to install OpenSSH Server from Powershell

Loading...
  1. Error trying to install OpenSSH Server from Powershell - Similar Threads - Error trying install

  2. OpenSSH Server Install - Event ID 1001

    in Windows 10 Gaming
    OpenSSH Server Install - Event ID 1001: Good morning, I have attempted to install OpenSSH Server but install has failed. I could not identify any errors withing endpoint security, but I was able to identify event ID 1001 within event viewer. I was able to verify that OpenSSH client was installed. - <Event...
  3. OpenSSH Server Install - Event ID 1001

    in Windows 10 Software and Apps
    OpenSSH Server Install - Event ID 1001: Good morning, I have attempted to install OpenSSH Server but install has failed. I could not identify any errors withing endpoint security, but I was able to identify event ID 1001 within event viewer. I was able to verify that OpenSSH client was installed. - <Event...
  4. OpenSSH Server Install - Event ID 1001

    in Windows 10 BSOD Crashes and Debugging
    OpenSSH Server Install - Event ID 1001: Good morning, I have attempted to install OpenSSH Server but install has failed. I could not identify any errors withing endpoint security, but I was able to identify event ID 1001 within event viewer. I was able to verify that OpenSSH client was installed. - <Event...
  5. OpenSSH SSH server from unknown manufacturer

    in Windows 10 Gaming
    OpenSSH SSH server from unknown manufacturer: I recently I got hit by Virus:Win32/Neshta.A, I had to disable some services to get my PC running again, I came across a service called "OpenSSH SSH server" from an unknown manufacturer, shlould I leave it disabled and try to get rid of it?...
  6. OpenSSH SSH server from unknown manufacturer

    in Windows 10 Software and Apps
    OpenSSH SSH server from unknown manufacturer: I recently I got hit by Virus:Win32/Neshta.A, I had to disable some services to get my PC running again, I came across a service called "OpenSSH SSH server" from an unknown manufacturer, shlould I leave it disabled and try to get rid of it?...
  7. OpenSSH SSH server from unknown manufacturer

    in Windows 10 Customization
    OpenSSH SSH server from unknown manufacturer: I recently I got hit by Virus:Win32/Neshta.A, I had to disable some services to get my PC running again, I came across a service called "OpenSSH SSH server" from an unknown manufacturer, shlould I leave it disabled and try to get rid of it?...
  8. OpenSSH Server / client on W2K16 server

    in Windows 10 Virtualization
    OpenSSH Server / client on W2K16 server: Hi there running a W2K16 server as a VM - seems the the optional features install don't include the openSSH server or client -- I'm using the Desktop experience standard edition of W2K16 server However using the powershell command from within the VM both products get...
  9. OpenSSH Server install is stuck

    in Windows 10 Customization
    OpenSSH Server install is stuck: [ATTACH] [ATTACH] Machine is on a domain, thats how it gets logged in. Doesn't that imply that it knows where the WSUS is? Is there another reason? Theres a workaround on github that I'd rather not use. Does anyway know how to make this go?...
  10. OpenSSH Server won't install and is missing from Manage Optional Features

    in Windows 10 Customization
    OpenSSH Server won't install and is missing from Manage Optional Features: I'm pretty confused. Windows 10 build 18363. First off, Manage Optional Features had "OpenSSH client" and "OpenSSH server" available like 2 weeks ago. Same system. Then I tried installing them, with Manage Optional Features. Both installs failed and died. Now today I...

Users found this page by searching for:

  1. install openssh 0x8024402c

    ,
  2. install openssh 8024402c

    ,
  3. 0x8024402c ssh server

    ,
  4. openssh server 1809 17763 failes