Closed geocine closed 9 months ago
It seems that clean install Windows is the only way to fix the issue.
I am open to any workaround other than doing a clean install. You know how painful is that if you have all your stuff setup
@geocine what is the output of get-windowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
? Or, if you run dism /online /get-features
is WSL listed? It should look like this, enabled on my system:
Feature Name : Microsoft-Windows-Subsystem-Linux
State : Enabled
This command returns nothing
get-windowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
This command does not have Microsoft-Windows-Subsystem-Linux
dism /online /get-features
Deployment Image Servicing and Management tool
Version: 10.0.19041.572
Image Version: 10.0.19042.631
Features listing for package : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.19041.1
Feature Name : Printing-PrintToPDFServices-Features
State : Enabled
Feature Name : Printing-XPSServices-Features
State : Enabled
Feature Name : SearchEngine-Client-Package
State : Enabled
Feature Name : MSRDC-Infrastructure
State : Enabled
Feature Name : TelnetClient
State : Disabled
Feature Name : TFTP
State : Disabled
Feature Name : TIFFIFilter
State : Disabled
Feature Name : LegacyComponents
State : Disabled
Feature Name : DirectPlay
State : Disabled
Feature Name : Printing-Foundation-Features
State : Enabled
Feature Name : Printing-Foundation-InternetPrinting-Client
State : Enabled
Feature Name : Printing-Foundation-LPDPrintService
State : Disabled
Feature Name : Printing-Foundation-LPRPortMonitor
State : Disabled
Feature Name : SimpleTCP
State : Disabled
Feature Name : Windows-Identity-Foundation
State : Disabled
Feature Name : NetFx4-AdvSrvs
State : Enabled
Feature Name : NetFx4Extended-ASPNET45
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 : IIS-WebServerRole
State : Disabled
Feature Name : IIS-WebServer
State : Disabled
Feature Name : IIS-CommonHttpFeatures
State : Disabled
Feature Name : IIS-HttpErrors
State : Disabled
Feature Name : IIS-HttpRedirect
State : Disabled
Feature Name : IIS-ApplicationDevelopment
State : Disabled
Feature Name : IIS-Security
State : Disabled
Feature Name : IIS-RequestFiltering
State : Disabled
Feature Name : IIS-NetFxExtensibility
State : Disabled
Feature Name : IIS-NetFxExtensibility45
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-URLAuthorization
State : Disabled
Feature Name : IIS-IPSecurity
State : Disabled
Feature Name : IIS-Performance
State : Disabled
Feature Name : IIS-HttpCompressionDynamic
State : Disabled
Feature Name : IIS-WebServerManagementTools
State : Disabled
Feature Name : IIS-ManagementScriptingTools
State : Disabled
Feature Name : IIS-IIS6ManagementCompatibility
State : Disabled
Feature Name : IIS-Metabase
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 : WCF-HTTP-Activation
State : Disabled
Feature Name : WCF-NonHTTP-Activation
State : Disabled
Feature Name : IIS-StaticContent
State : Disabled
Feature Name : IIS-DefaultDocument
State : Disabled
Feature Name : IIS-DirectoryBrowsing
State : Disabled
Feature Name : IIS-WebDAV
State : Disabled
Feature Name : IIS-WebSockets
State : Disabled
Feature Name : IIS-ApplicationInit
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-ISAPIExtensions
State : Disabled
Feature Name : IIS-ISAPIFilter
State : Disabled
Feature Name : IIS-ServerSideIncludes
State : Disabled
Feature Name : IIS-CustomLogging
State : Disabled
Feature Name : IIS-BasicAuthentication
State : Disabled
Feature Name : IIS-HttpCompressionStatic
State : Disabled
Feature Name : IIS-ManagementConsole
State : Disabled
Feature Name : IIS-ManagementService
State : Disabled
Feature Name : IIS-WMICompatibility
State : Disabled
Feature Name : IIS-LegacyScripts
State : Disabled
Feature Name : IIS-LegacySnapIn
State : Disabled
Feature Name : IIS-FTPServer
State : Disabled
Feature Name : IIS-FTPSvc
State : Disabled
Feature Name : IIS-FTPExtensibility
State : Disabled
Feature Name : MSMQ-Container
State : Disabled
Feature Name : MSMQ-DCOMProxy
State : Disabled
Feature Name : MSMQ-Server
State : Disabled
Feature Name : MSMQ-ADIntegration
State : Disabled
Feature Name : MSMQ-HTTP
State : Disabled
Feature Name : MSMQ-Multicast
State : Disabled
Feature Name : MSMQ-Triggers
State : Disabled
Feature Name : IIS-CertProvider
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-ODBCLogging
State : Disabled
Feature Name : NetFx3
State : Enabled
Feature Name : DataCenterBridging
State : Disabled
Feature Name : SmbDirect
State : Enabled
Feature Name : HostGuardian
State : Disabled
Feature Name : Internet-Explorer-Optional-amd64
State : Enabled
Feature Name : AppServerClient
State : Disabled
Feature Name : WorkFolders-Client
State : Enabled
Feature Name : MicrosoftWindowsPowerShellV2Root
State : Enabled
Feature Name : MicrosoftWindowsPowerShellV2
State : Enabled
Feature Name : HypervisorPlatform
State : Disabled
Feature Name : VirtualMachinePlatform
State : Enabled
Feature Name : Client-ProjFS
State : Disabled
Feature Name : Containers-DisposableClientVM
State : Disabled
Feature Name : Microsoft-Hyper-V-All
State : Disabled
Feature Name : Microsoft-Hyper-V
State : Disabled
Feature Name : Microsoft-Hyper-V-Tools-All
State : Disabled
Feature Name : Microsoft-Hyper-V-Management-PowerShell
State : Disabled
Feature Name : Microsoft-Hyper-V-Hypervisor
State : Disabled
Feature Name : Microsoft-Hyper-V-Services
State : Disabled
Feature Name : Microsoft-Hyper-V-Management-Clients
State : Disabled
Feature Name : DirectoryServices-ADAM-Client
State : Disabled
Feature Name : ServicesForNFS-ClientOnly
State : Disabled
Feature Name : ClientForNFS-Infrastructure
State : Disabled
Feature Name : NFS-Administration
State : Disabled
Feature Name : Containers
State : Disabled
Feature Name : SMB1Protocol
State : Disabled
Feature Name : SMB1Protocol-Client
State : Disabled
Feature Name : SMB1Protocol-Server
State : Disabled
Feature Name : SMB1Protocol-Deprecation
State : Disabled
The operation completed successfully.
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Thank you!
Version
10.0.19042.631
WSL Version
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
I followed: https://docs.microsoft.com/en-us/windows/wsl/install-manual
Here is the output of the first command
Log is below:
Clearly my windows is updated and shoult not throw this error so I ran
sfc
I tried to run
RestoreHealth
forDISM
but always stops at19.2
Log is below
Expected Behavior
Should enable WSL
Actual Behavior
WSL cannot be found so cannot enable
Diagnostic Logs
No response