Skip to content

Integrated powershell terminal says it cannot load PSReadline module #6684

Closed

Description

@Tyriar

#143

  • OS Version: Windows 10

Steps to Reproduce:

  1. Launch terminal with default settings

image

Activity

  1. added
    bug
    terminal
    windows
    on May 23, 2016
  2. rebornix commented on May 23, 2016

    @rebornix
    Contributor

    It's likely a ExecutionPolicy restriction issue (not quite sure), you can give cmder's default setting a try to see if it helps.

    PowerShell -ExecutionPolicy Bypass -NoLogo -NoExit -Command "Invoke-Expression '. ''%ConEmuDir%\..\profile.ps1'''" -new_console:d:"%USERPROFILE%"
    
  3. lzybkr commented on May 23, 2016

    @lzybkr

    Most likely PowerShell is running as a 32 bit process - PSReadline is not installed in Program Files (x86).

  4. Tyriar commented on May 24, 2016

    @Tyriar
    ContributorAuthor

    Jason Shirk (@lzybkr) is \\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe the correct executable?

  5. added this to the May 2016 milestone on May 24, 2016
  6. Tyriar commented on May 25, 2016

    @Tyriar
    ContributorAuthor

    There is no %SystemRoot%\sysnative, %SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe however does exist but it still prints out the PSReadline warning.

  7. lzybkr commented on May 26, 2016

    @lzybkr

    If you try to load it explicitly ipmo PSReadline, what is the error?

  8. gerane commented on Jun 1, 2016

    @gerane

    Daniel Imms (@Tyriar) %SystemRoot%\sysnative is a Redirect. It is how a 32bit process on a 64bit OS accesses %SystemRoot%\System32 .

    If a 32bit process attempts to %SystemRoot%\System32 it is redirected to %SystemRoot%\SysWOW64\

  9. Tyriar commented on Jun 7, 2016

    @Tyriar
    ContributorAuthor

    Since powershell is no longer the default and the fix to this is to correctly specify the 64-bit powershell, I'm going to close this in favor of #7095

  10. added
    *duplicate
    and removed
    bug
    on Sep 2, 2016
  11. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicateterminalwindows

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions