"Remoting not supported in WinPE" (but it's not WinPE!)

Tagged: ,

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of Dave Wyatt Dave Wyatt 2 years, 8 months ago.

  • Author
  • #19694
    Profile photo of Joakim

    We have a Windows 8.1 Enterprise client that keeps getting this error when trying to do remoting:

    (pre)Invoke-Command : Windows PowerShell remoting is not supported in the Windows Preinstallation Environment (WinPE).(/pre)

    For some reason PowerShell thinks that the machine is running in the WinPE environment. But the machine is not.

    Does anyone here know how PowerShell checks if it is running under WinPE?


  • #19697
    Profile photo of Alexander Johansson
    Alexander Johansson

    To clarify things, do you get the error when you are trying to connect to the Windows 8.1 Enterprise machine,
    or when you are trying to connect to another machine from the Windows 8.1 Enterprise machine?

  • #19699
    Profile photo of Dave Wyatt
    Dave Wyatt

    PowerShell looks for the following registry key; if this exists, it assumes the system is Windows PE and won't allow you to run Remoting commands:


You must be logged in to reply to this topic.