microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.45k stars 822 forks source link

Windows Subsystem for Linux feature is missing from the latest update of Windows Server 2016 Standard #5635

Closed TheRealAlexV closed 4 years ago

TheRealAlexV commented 4 years ago

Steps to reproduce

  1. On the latest version of Windows Server 2016 Standard, open an elevated powershell promt and run dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Expected behavior

The Windows Subsystem for Linux 2 feature would be installed.

Actual behavior

Deployment Image Servicing and Management tool Version: 10.0.14393.3750

Image Version: 10.0.14393.3241

Error: 0x800f080c

Feature name Microsoft-Windows-Subsystem-Linux is unknown. A Windows feature name was not recognized. Use the /Get-Features option to find the name of the feature in the image and try the command again.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]

The operation completed successfully.
PS C:\Users\Administrator> systeminfo | findstr OS
OS Name:                   Microsoft Windows Server 2016 Standard
OS Version:                10.0.14393 N/A Build 14393
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Server
OS Build Type:             Multiprocessor Free
BIOS Version:              American Megatrends Inc. 3.0a, 12/17/2015
PS C:\Users\Administrator>

Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
N/A

Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]
WSL2

PS C:\Users\Administrator> dism.exe /online /Get-Features

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.3241

Features listing for package : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0

Feature Name : NetFx4ServerFeatures
State : Enabled

Feature Name : NetFx4
State : Enabled

Feature Name : NetFx4Extended-ASPNET45
State : Disabled

Feature Name : MicrosoftWindowsPowerShellRoot
State : Enabled

Feature Name : MicrosoftWindowsPowerShell
State : Enabled

Feature Name : iSCSITargetServer-PowerShell
State : Disabled

Feature Name : PKIClient-PSH-Cmdlets
State : Disabled

Feature Name : KeyDistributionService-PSH-Cmdlets
State : Enabled

Feature Name : TlsSessionTicketKey-PSH-Cmdlets
State : Enabled

Feature Name : Tpm-PSH-Cmdlets
State : Enabled

Feature Name : MicrosoftWindowsPowerShellV2
State : Enabled

Feature Name : WindowsPowerShellWebAccess
State : Disabled

Feature Name : DataCenterBridging-LLDP-Tools
State : Disabled

Feature Name : Server-Psh-Cmdlets
State : Enabled

Feature Name : MicrosoftWindowsPowerShellISE
State : Enabled

Feature Name : RemoteAccessMgmtTools
State : Disabled

Feature Name : RemoteAccessPowerShell
State : Disabled

Feature Name : RasServerAdminTools
State : Disabled

Feature Name : DamgmtTools
State : Disabled

Feature Name : WSS-Product-Package
State : Disabled

Feature Name : ActiveDirectory-PowerShell
State : Disabled

Feature Name : DirectoryServices-DomainController
State : Disabled

Feature Name : DirectoryServices-ISM-Smtp
State : Disabled

Feature Name : HostGuardianService-Package
State : Disabled

Feature Name : DirectoryServices-AdministrativeCenter
State : Disabled

Feature Name : RemoteAccess
State : Disabled

Feature Name : RemoteAccessServer
State : Disabled

Feature Name : RasRoutingProtocols
State : Disabled

Feature Name : Web-Application-Proxy
State : Disabled

Feature Name : RightsManagementServices-Role
State : Disabled

Feature Name : RightsManagementServices
State : Disabled

Feature Name : RMS-Federation
State : Disabled

Feature Name : RightsManagementServices-AdminTools
State : Disabled

Feature Name : IIS-WebServerRole
State : Disabled

Feature Name : IIS-WebServer
State : Disabled

Feature Name : IIS-CommonHttpFeatures
State : Disabled

Feature Name : IIS-Security
State : Disabled

Feature Name : IIS-RequestFiltering
State : Disabled

Feature Name : IIS-StaticContent
State : Disabled

Feature Name : IIS-DefaultDocument
State : Disabled

Feature Name : IIS-DirectoryBrowsing
State : Disabled

Feature Name : IIS-HttpErrors
State : Disabled

Feature Name : IIS-HttpRedirect
State : Disabled

Feature Name : IIS-WebDAV
State : Disabled

Feature Name : IIS-ApplicationDevelopment
State : Disabled

Feature Name : IIS-WebSockets
State : Disabled

Feature Name : IIS-ApplicationInit
State : Disabled

Feature Name : IIS-NetFxExtensibility
State : Disabled

Feature Name : IIS-NetFxExtensibility45
State : Disabled

Feature Name : IIS-ISAPIExtensions
State : Disabled

Feature Name : IIS-ISAPIFilter
State : Disabled

Feature Name : IIS-ASPNET
State : Disabled

Feature Name : IIS-ASPNET45
State : Disabled

Feature Name : IIS-ASP
State : Disabled

Feature Name : IIS-CGI
State : Disabled

Feature Name : IIS-ServerSideIncludes
State : Disabled

Feature Name : IIS-HealthAndDiagnostics
State : Disabled

Feature Name : IIS-HttpLogging
State : Disabled

Feature Name : IIS-LoggingLibraries
State : Disabled

Feature Name : IIS-RequestMonitor
State : Disabled

Feature Name : IIS-HttpTracing
State : Disabled

Feature Name : IIS-CustomLogging
State : Disabled

Feature Name : IIS-ODBCLogging
State : Disabled

Feature Name : IIS-CertProvider
State : Disabled

Feature Name : IIS-BasicAuthentication
State : Disabled

Feature Name : IIS-WindowsAuthentication
State : Disabled

Feature Name : IIS-DigestAuthentication
State : Disabled

Feature Name : IIS-ClientCertificateMappingAuthentication
State : Disabled

Feature Name : IIS-IISCertificateMappingAuthentication
State : Disabled

Feature Name : IIS-URLAuthorization
State : Disabled

Feature Name : IIS-IPSecurity
State : Disabled

Feature Name : IIS-Performance
State : Disabled

Feature Name : IIS-HttpCompressionStatic
State : Disabled

Feature Name : IIS-HttpCompressionDynamic
State : Disabled

Feature Name : IIS-WebServerManagementTools
State : Disabled

Feature Name : IIS-ManagementConsole
State : Disabled

Feature Name : IIS-LegacySnapIn
State : Disabled

Feature Name : IIS-ManagementScriptingTools
State : Disabled

Feature Name : IIS-ManagementService
State : Disabled

Feature Name : IIS-IIS6ManagementCompatibility
State : Disabled

Feature Name : IIS-Metabase
State : Disabled

Feature Name : IIS-WMICompatibility
State : Disabled

Feature Name : IIS-LegacyScripts
State : Disabled

Feature Name : IIS-FTPServer
State : Disabled

Feature Name : IIS-FTPSvc
State : Disabled

Feature Name : IIS-FTPExtensibility
State : Disabled

Feature Name : WAS-WindowsActivationService
State : Disabled

Feature Name : WAS-ProcessModel
State : Disabled

Feature Name : WAS-NetFxEnvironment
State : Disabled

Feature Name : WAS-ConfigurationAPI
State : Disabled

Feature Name : IIS-HostableWebCore
State : Disabled

Feature Name : MSMQ
State : Disabled

Feature Name : MSMQ-Services
State : Disabled

Feature Name : MSMQ-Server
State : Disabled

Feature Name : MSMQ-Triggers
State : Disabled

Feature Name : MSMQ-ADIntegration
State : Disabled

Feature Name : MSMQ-HTTP
State : Disabled

Feature Name : MSMQ-Multicast
State : Disabled

Feature Name : MSMQ-DCOMProxy
State : Disabled

Feature Name : MSMQ-RoutingServer
State : Disabled

Feature Name : WCF-Services45
State : Enabled

Feature Name : WCF-HTTP-Activation45
State : Disabled

Feature Name : WCF-TCP-Activation45
State : Disabled

Feature Name : WCF-Pipe-Activation45
State : Disabled

Feature Name : WCF-MSMQ-Activation45
State : Disabled

Feature Name : WCF-TCP-PortSharing45
State : Enabled

Feature Name : IdentityServer-SecurityTokenService
State : Disabled

Feature Name : ManagementOdata
State : Disabled

Feature Name : DSC-Service
State : Disabled

Feature Name : ADCertificateServicesRole
State : Disabled

Feature Name : CertificateServices
State : Disabled

Feature Name : OnlineRevocationServices
State : Disabled

Feature Name : WebEnrollmentServices
State : Disabled

Feature Name : NetworkDeviceEnrollmentServices
State : Disabled

Feature Name : CertificateEnrollmentPolicyServer
State : Disabled

Feature Name : CertificateEnrollmentServer
State : Disabled

Feature Name : IPAMServerFeature
State : Disabled

Feature Name : DeviceHealthAttestationService
State : Disabled

Feature Name : BITSExtensions-AdminPack
State : Disabled

Feature Name : Gateway-UI
State : Disabled

Feature Name : BITSExtensions-Upload
State : Disabled

Feature Name : WCF-HTTP-Activation
State : Disabled

Feature Name : WCF-NonHTTP-Activation
State : Disabled

Feature Name : Smtpsvc-Admin-Update-Name
State : Disabled

Feature Name : Smtpsvc-Service-Update-Name
State : Disabled

Feature Name : WebAccess
State : Disabled

Feature Name : Microsoft-Windows-Web-Services-for-Management-IIS-Extension
State : Disabled

Feature Name : BusScan-ScanServer
State : Disabled

Feature Name : Printing-InternetPrinting-Server
State : Disabled

Feature Name : RPC-HTTP_Proxy
State : Disabled

Feature Name : Gateway
State : Disabled

Feature Name : UpdateServices
State : Disabled

Feature Name : UpdateServices-Services
State : Disabled

Feature Name : UpdateServices-Database
State : Disabled

Feature Name : UpdateServices-WidDatabase
State : Disabled

Feature Name : WorkFolders-Server
State : Disabled

Feature Name : FSRM-Infrastructure
State : Disabled

Feature Name : Microsoft-Windows-FCI-Client-Package
State : Disabled

Feature Name : UpdateServices-RSAT
State : Disabled

Feature Name : UpdateServices-API
State : Disabled

Feature Name : UpdateServices-UI
State : Disabled

Feature Name : FSRM-Infrastructure-Services
State : Disabled

Feature Name : DirectoryServices-ADAM
State : Disabled

Feature Name : IPAMClientFeature
State : Disabled

Feature Name : Microsoft-Windows-ServerEssentials-ServerSetup
State : Disabled

Feature Name : AuthManager
State : Disabled

Feature Name : ServerCore-WOW64
State : Enabled

Feature Name : Printing-Server-Foundation-Features
State : Disabled

Feature Name : Printing-Server-Role
State : Disabled

Feature Name : Printing-LPDPrintService
State : Disabled

Feature Name : Printing-Client
State : Enabled

Feature Name : Printing-Client-Gui
State : Enabled

Feature Name : ServerCore-EA-IME-WOW64
State : Enabled

Feature Name : NetFx3ServerFeatures
State : Disabled

Feature Name : NetFx3
State : Disabled with Payload Removed

Feature Name : Server-Shell
State : Enabled

Feature Name : Internet-Explorer-Optional-amd64
State : Enabled

Feature Name : Server-Gui-Mgmt
State : Enabled

Feature Name : Server-Gui-Mgmt_onecore
State : Disabled

Feature Name : RSAT
State : Enabled

Feature Name : Storage-Replica-AdminPack
State : Disabled

Feature Name : Server-Manager-RSAT-File-Services
State : Disabled

Feature Name : Server-RSAT-SNMP
State : Disabled

Feature Name : DNS-Server-Tools
State : Disabled

Feature Name : WINS-Server-Tools
State : Disabled

Feature Name : DfsMgmt
State : Disabled

Feature Name : ADCertificateServicesManagementTools
State : Disabled

Feature Name : CertificateServicesManagementTools
State : Disabled

Feature Name : OnlineRevocationServicesManagementTools
State : Disabled

Feature Name : RSAT-AD-Tools-Feature
State : Disabled

Feature Name : RSAT-ADDS-Tools-Feature
State : Disabled

Feature Name : DirectoryServices-DomainController-Tools
State : Disabled

Feature Name : DirectoryServices-ADAM-Tools
State : Disabled

Feature Name : BitLocker-RemoteAdminTool
State : Disabled

Feature Name : BdeAducExtTool
State : Disabled

Feature Name : NPSMMC
State : Disabled

Feature Name : Licensing-UI
State : Disabled

Feature Name : Licensing-Diagnosis-UI
State : Disabled

Feature Name : Microsoft-Windows-Deployment-Services-Admin-Pack
State : Disabled

Feature Name : DHCPServer-Tools
State : Disabled

Feature Name : FailoverCluster-Mgmt
State : Disabled

Feature Name : NetworkLoadBalancingManagementClient
State : Disabled

Feature Name : NFS-Administration
State : Disabled

Feature Name : WindowsServerBackupSnapin
State : Enabled

Feature Name : FaxServiceConfigRole
State : Disabled

Feature Name : NPSManagementTools
State : Disabled

Feature Name : RightsManagementServicesManagementTools
State : Disabled

Feature Name : Security-SPP-Vmw
State : Disabled

Feature Name : FSRM-Management
State : Disabled

Feature Name : Windows-Defender-Gui
State : Enabled

Feature Name : Microsoft-Hyper-V
State : Enabled

Feature Name : Microsoft-Hyper-V-Offline
State : Enabled

Feature Name : Microsoft-Hyper-V-Online
State : Enabled

Feature Name : RSAT-Hyper-V-Tools-Feature
State : Enabled

Feature Name : Microsoft-Hyper-V-Management-Clients
State : Enabled

Feature Name : Microsoft-Hyper-V-Management-PowerShell
State : Enabled

Feature Name : VmHostAgent
State : Disabled

Feature Name : AppServer
State : Disabled

Feature Name : Microsoft-Windows-Deployment-Services
State : Disabled

Feature Name : Microsoft-Windows-Deployment-Services-Deployment-Server
State : Disabled

Feature Name : Microsoft-Windows-Deployment-Services-Transport-Server
State : Disabled

Feature Name : BitLocker
State : Disabled

Feature Name : Bitlocker-Utilities
State : Disabled

Feature Name : ShieldedVMToolsAdminPack
State : Disabled

Feature Name : BitLocker-NetworkUnlock
State : Disabled

Feature Name : SearchEngine-Server-Package
State : Disabled

Feature Name : File-Services-Search-Service
State : Disabled

Feature Name : FaxServiceRole
State : Disabled

Feature Name : NPAS-Role
State : Disabled

Feature Name : OEM-Appliance-OOBE
State : Disabled

Feature Name : ServerMediaFoundation
State : Disabled

Feature Name : MediaPlayback
State : Enabled

Feature Name : WindowsMediaPlayer
State : Enabled

Feature Name : WebDAV-Redirector
State : Disabled

Feature Name : LegacyComponents
State : Disabled

Feature Name : DirectPlay
State : Disabled

Feature Name : Printing-LPRPortMonitor
State : Disabled

Feature Name : Printing-InternetPrinting-Client
State : Disabled

Feature Name : Printing-AdminTools-Collection
State : Disabled

Feature Name : Windows-Identity-Foundation
State : Disabled

Feature Name : Microsoft-Hyper-V-Common-Drivers-Package
State : Enabled

Feature Name : Microsoft-Hyper-V-Guest-Integration-Drivers-Package
State : Enabled

Feature Name : Microsoft-Windows-NetFx-VCRedist-Package
State : Enabled

Feature Name : Microsoft-Windows-Printing-PrintToPDFServices-Package
State : Enabled

Feature Name : Microsoft-Windows-Printing-XPSServices-Package
State : Enabled

Feature Name : Microsoft-Windows-Client-EmbeddedExp-Package
State : Enabled

Feature Name : Printing-PrintToPDFServices-Features
State : Enabled

Feature Name : Printing-XPSServices-Features
State : Enabled

Feature Name : MSRDC-Infrastructure
State : Disabled

Feature Name : TelnetClient
State : Disabled

Feature Name : TFTP
State : Disabled

Feature Name : TIFFIFilter
State : Disabled

Feature Name : SMB1Protocol
State : Enabled

Feature Name : MultiPoint-Connector
State : Disabled

Feature Name : MultiPoint-Connector-Services
State : Disabled

Feature Name : MultiPoint-Tools
State : Disabled

Feature Name : ServerManager-Core-RSAT
State : Enabled

Feature Name : ServerManager-Core-RSAT-Role-Tools
State : Enabled

Feature Name : ServerManager-Core-RSAT-Feature-Tools
State : Disabled

Feature Name : FailoverCluster-AdminPak
State : Disabled

Feature Name : FailoverCluster-PowerShell
State : Disabled

Feature Name : HardenedFabricEncryptionTask
State : Disabled

Feature Name : ServicesForNFS-ServerAndClient
State : Disabled

Feature Name : ServerForNFS-Infrastructure
State : Disabled

Feature Name : ClientForNFS-Infrastructure
State : Disabled

Feature Name : SimpleTCP
State : Disabled

Feature Name : SmbDirect
State : Enabled

Feature Name : Windows-Defender-Features
State : Enabled

Feature Name : Windows-Defender
State : Enabled

Feature Name : EnhancedStorage
State : Disabled

Feature Name : Microsoft-Windows-GroupPolicy-ServerAdminTools-Update
State : Disabled

Feature Name : RSAT-RDS-Tools-Feature
State : Disabled

Feature Name : BiometricFramework
State : Disabled

Feature Name : WindowsServerBackup
State : Disabled

Feature Name : DFSR-Infrastructure-ServerEdition
State : Disabled

Feature Name : DNS-Server-Full-Role
State : Disabled

Feature Name : Windows-Internal-Database
State : Disabled

Feature Name : iSCSITargetStorageProviders
State : Disabled

Feature Name : BITS
State : Disabled

Feature Name : LightweightServer
State : Disabled

Feature Name : MultipathIo
State : Disabled

Feature Name : NetworkLoadBalancingFullServer
State : Disabled

Feature Name : Containers
State : Disabled

Feature Name : PeerDist
State : Disabled

Feature Name : RemoteAssistance
State : Disabled

Feature Name : ServerCore-EA-IME
State : Enabled

Feature Name : DataCenterBridging
State : Disabled

Feature Name : DiskIo-QoS
State : Disabled

Feature Name : Server-Drivers-General
State : Enabled

Feature Name : Server-Drivers-Printers
State : Enabled

Feature Name : SNMP
State : Disabled

Feature Name : WMISnmpProvider
State : Disabled

Feature Name : WindowsStorageManagementService
State : Disabled

Feature Name : Remote-Desktop-Services
State : Disabled

Feature Name : SessionDirectory
State : Disabled

Feature Name : SBMgr-UI
State : Disabled

Feature Name : VolumeActivation-Full-Role
State : Disabled

Feature Name : WirelessNetworking
State : Disabled

Feature Name : Xps-Foundation-Xps-Viewer
State : Disabled

Feature Name : SMBBW
State : Disabled

Feature Name : SetupAndBootEventCollection
State : Disabled

Feature Name : RasCMAK
State : Disabled

Feature Name : DFSN-Server
State : Disabled

Feature Name : DHCPServer
State : Disabled

Feature Name : FailoverCluster-AutomationServer
State : Disabled

Feature Name : FailoverCluster-CmdInterface
State : Disabled

Feature Name : FRS-Infrastructure
State : Disabled

Feature Name : FileServerVSSAgent
State : Disabled

Feature Name : WINSRuntime
State : Disabled

Feature Name : iSCSITargetServer
State : Disabled

Feature Name : iSNS_Service
State : Disabled

Feature Name : P2P-PnrpOnly
State : Disabled

Feature Name : QWAVE
State : Disabled

Feature Name : ServerMigration
State : Disabled

Feature Name : SMBHashGeneration
State : Disabled

Feature Name : Licensing
State : Disabled

Feature Name : FailoverCluster-FullServer
State : Disabled

Feature Name : CCFFilter
State : Disabled

Feature Name : Dedup-Core
State : Disabled

Feature Name : MultiPoint-Role
State : Disabled

Feature Name : ResumeKeyFilter
State : Disabled

Feature Name : SmbWitness
State : Disabled

Feature Name : FabricShieldedTools
State : Disabled

Feature Name : RasRip
State : Disabled

Feature Name : SearchEngine-Client-Package
State : Enabled

Feature Name : Client-DeviceLockdown
State : Disabled

Feature Name : Client-EmbeddedShellLauncher
State : Disabled

Feature Name : Client-EmbeddedBootExp
State : Disabled

Feature Name : Client-EmbeddedLogon
State : Disabled

Feature Name : Client-KeyboardFilter
State : Disabled

Feature Name : Client-UnifiedWriteFilter
State : Disabled

Feature Name : FileAndStorage-Services
State : Enabled

Feature Name : Storage-Services
State : Enabled

Feature Name : File-Services
State : Enabled

Feature Name : CoreFileServer
State : Enabled

Feature Name : ServerCore-Drivers-General
State : Enabled

Feature Name : ServerCore-Drivers-General-WOW64
State : Enabled

The operation completed successfully.
TheRealAlexV commented 4 years ago

Here is the dism.log file. dism.log

therealkenc commented 4 years ago

Version: 10.0.14393.3750

First availability of WSL for Windows Server was 16237.