Forum Discussion
Alpha45
Sep 17, 2022Brass Contributor
I installed Windows Terminal which was not installed before, but PowerShell it gives me this error!
WMF 5.1 cannot be installed S.o. Windows 11 pro build 21H2 22000.978 DISM and Sfc no error! Thank you
- Sep 19, 2022Does import-module appx -UseWindowsPowerShell work in PowerShell 7?
Could you save below to a .reg file and double-click/import it?
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine]
"ApplicationBase"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0"
"ConsoleHostAssemblyName"="Microsoft.PowerShell.ConsoleHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=msil"
"ConsoleHostModuleName"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\Microsoft.PowerShell.ConsoleHost.dll"
"PowerShellVersion"="2.0"
"PSCompatibleVersion"="1.0, 2.0"
"RuntimeVersion"="v2.0.50727"
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine]
"ApplicationBase"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0"
"ConsoleHostAssemblyName"="Microsoft.PowerShell.ConsoleHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=msil"
"ConsoleHostModuleName"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\Microsoft.PowerShell.ConsoleHost.dll"
"PowerShellVersion"="2.0"
"PSCompatibleVersion"="1.0, 2.0"
"RuntimeVersion"="v2.0.50727"
Alpha45
Sep 18, 2022Brass Contributor
It is only possible to import binary registry files from the registry editor.
I'll manually enter them one by one if possible ...
in the meantime, thank you
- Sep 18, 2022
Double-clicking the file with the contents doesn't work? This is strange, there's something wrong with your Windows installation I guess? They are all Reg_SZ btw
- Alpha45Sep 18, 2022Brass ContributorTomorrow I will try to verify the system with DISM and Sfc
thank you - Alpha45Sep 19, 2022Brass Contributor
DISM and SFC no errors.
I managed to put the new keys in the registry, but now it looks like this:Thank You
- Sep 19, 2022Looks like the path is not in your system settings. Could you check? (https://github.com/microsoft/terminal/issues/6039)