Skip to content

Fix c:\Windows\Sysnative powerShellExePath when using 64-bit VS Code #993

Closed
@johlju

Description

@johlju

System Details

  • Operating system name and version:
  • VS Code version: 1.15.0 x64
  • PowerShell extension version:
  • Output from $PSVersionTable:
1.15.0 
8b95971d8cccd3afd86b35d4a0e098c189294ff2

bierner.markdown-emoji@0.0.5
bierner.markdown-preview-github-styles@0.0.2
DavidAnson.vscode-markdownlint@0.10.0
donjayamanne.githistory@0.2.3
eamodio.gitlens@4.3.3
ms-vscode.csharp@1.12.0
ms-vscode.PowerShell@1.4.1
PeterJausovec.vscode-docker@0.0.16
ryu1kn.partial-diff@0.3.1
streetsidesoftware.code-spell-checker@1.3.6
Tyriar.theme-sapphire@0.2.1

Name                           Value
----                           -----
PSVersion                      5.1.16257.1000
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.16257.1000
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:

code -v
$pseditor.EditorServicesVersion
code --list-extensions --show-versions
$PSVersionTable

Issue Description

PowerShell Integration Console fail to start. There is no such folder.

image

Attached Logs

This is the only thing in the log (no need to zip it).

powershell.exe cannot be found or is not accessible at path C:\WINDOWS\Sysnative\WindowsPowerShell\v1.0\powershell.exe
PowerShell could not be started, click 'Show Logs' for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions