Hello Bob,
I apologise for this, thank you for getting back to me! I will repost my query there.
Many thanks,
Anonymous123pp
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, in advance thank you for taking the time to read this query
I am stuck because I am trying to install wsl on windows 10 home version 10.0.19044 Build 19044. Here are the following things I have tried and they have not worked for me
I have tried to select virtual machine platform and windows subsystem for linux and it searches for the files but when applying changes it returns 'Windows couldn't complete the requested changes. The parameter is incorrect. Error code: 0x80070057'. Upon clicking 'Tell me how to solve this problem' it redirects me to an issue seperate to mine
After running windows powershell with elevated priveleges, I have tried to run command wsl --install and when I do it begins installing the vitrual machine platform but fails at around 58% with error message 'An unrecoverable error occurred during installation. Component: 'Virtual Machine Platform' Error Code: 0x80070057
The parameter is incorrect.'
I have tried the following solutions and they have still not worked for me:
1 - running dism commands 'Dism /Online /Cleanup-Image /ScanHealth', 'Dism /Online /Cleanup-Image /CheckHealth' both of which were successful
2 - running 'sfc /scannow', 'net stop wuauserv', 'net stop cryptSvc', 'net stop bits', 'ren C:\Windows\SoftwareDistribution SoftwareDistribution.old', 'ren C:\Windows\System32\catroot2 Catroot2.old' then starting everyting I stoped, 'netsh winsock reset' which was fine but still cannot enable/turn on the features
3 - Setting laptop to developer mode (said it is not relevant to do so for versions as new as mine), didnt work
4 - Advanced repair and checking virtualization was on in task manager > performance (which it is)
5 - Hardcoding the install of hyper v via scripting of bat file
6 - Looking for a way to install these features in optional features
7 - Checking that I am running the poweshell in 64-bit (not sure if it was useful)
8 - Trying command 'Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux' which returns error 'Enable-WindowsOptionalFeature : The parameter is incorrect.
At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], PSArgumentException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
'
Then trying this worked: Get-WindowsOptionalFeature -Online -FeatureName TelnetClient
>> Enable-WindowsOptionalFeature -Online -FeatureName TelnetClient
>> Get-WindowsOptionalFeature -Online -FeatureName TelnetClient
But trying this failed:
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsytem-Linux
>> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
>> Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsytem-Linux
With error message:
Enable-WindowsOptionalFeature : The parameter is incorrect.
At line:2 char:1
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], PSArgumentException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
I did try the same for virtual machine platform with command 'Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform' but I get this error: Enable-WindowsOptionalFeature : The parameter is incorrect.
At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], PSArgumentException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
9 - Trying command 'reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f' which works successfully but still fails to help
10 - Trying command 'dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart' which returns:
'Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19044.1889
Enabling feature(s)
[==========================100.0%==========================]
Error: 87
An error occurred while processing the command.
Ensure that the command-line arguments are valid. For more information, review the log file.'
11 - Checking to make sure I have no pending updates and updating all optional updates
Many of the solutions that involved this error code referred to wsl 2 and installement of docker (which I do not have) and the fact that this machine is a home and not a pro and so I could not use their solutions
I believe my final resort is to factory reset but I was hoping there is a easier/quicker fix to this error then having to wipe out my machine, since I just cannot find a solution to this problem
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hello Bob,
I apologise for this, thank you for getting back to me! I will repost my query there.
Many thanks,
Anonymous123pp
Dear Anonymous123pp,
Good to see you in Microsoft Community.
This question is out of scope for the Answers Support Community. The best place to get help for WSL is Microsoft/WSL, which is intended to support more advanced users such as yourself. I will leave this question open in case any of our excellent volunteers has some insights for you.
Thank you for your patience and understanding.
Best regards,
Bob8 | Microsoft Community Support Specialist.