Skip to content

Multipass fails to detect hyper-v capability when screen reader is enabled #1632

@ricab

Description

@ricab

You get this warning from PowerShell if you are running a screen reader (which I am) upon startup:
"Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If you want to re-enable it, run 'Import-Module PSReadLine'."
See below
[2020-07-03T21:53:14.577] [debug] [Hyper-V Health Check] powershell arguments '-NoExit, -Command, -'
[2020-07-03T21:53:14.577] [debug] [Hyper-V Health Check] powershell working dir ''
[2020-07-03T21:53:14.577] [debug] [Hyper-V Health Check] powershell program 'powershell.exe'
[2020-07-03T21:53:14.577] [debug] [Hyper-V Health Check] powershell state changed to Starting
[2020-07-03T21:53:14.579] [debug] [Hyper-V Health Check] powershell state changed to Running
[2020-07-03T21:53:14.580] [debug] [Hyper-V Health Check] powershell started
[2020-07-03T21:53:14.580] [trace] [Hyper-V Health Check] cmdlet: 'Get-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion' | Select-Object -ExpandProperty CurrentMajorVersionNumber'
[2020-07-03T21:53:15.041] [trace] [Hyper-V Health Check] Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If you want to re-enable it, run 'Import-Module PSReadLine'.
10
[2020-07-03T21:53:15.042] [trace] [Hyper-V Health Check] cmdlet exit status is 'true'
[2020-07-03T21:53:15.065] [debug] [Hyper-V Health Check] powershell state changed to NotRunning
[2020-07-03T21:53:15.065] [debug] [Hyper-V Health Check] powershell finished with exit code 0
launch failed: Multipass support for Hyper-V requires Windows 10
[2020-07-03T21:53:15.118] [warning] [winterm] Could not find Windows Terminal's settings; location: ""; reason: File not found.

Originally posted by @zuhairmahd in #1341 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issuemediumMedium priority. Combine with "low" or "high" to signal intermediate priority.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions