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

Welcome Forums General PowerShell Q&A "Remoting not supported in WinPE" (but it's not WinPE!)

Viewing 2 reply threads
  • Author
    Posts
    • #19694
      Participant
      Topics: 5
      Replies: 16
      Points: 21
      Rank: Member

      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?

      Cheers,
      Joakim

    • #19697
      Participant
      Topics: 6
      Replies: 53
      Points: 0
      Rank: Member

      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
      Inactive
      Topics: 9
      Replies: 2322
      Points: 0
      Rank: Member

      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:

      HKLM:\System\CurrentControlSet\Control\MiniNT

Viewing 2 reply threads
  • The topic ‘"Remoting not supported in WinPE" (but it's not WinPE!)’ is closed to new replies.