question

DavidHeinz-4898 avatar image
0 Votes"
DavidHeinz-4898 asked LimitlessTechnology-2700 answered

Powershell - MakeWinPEMedia : The term 'MakeWinPEMedia' is not recognized as the name of a cmdlet

I am in the process of creating a WinPE w/ PowerShell using the following link;

[1]: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-adding-powershell-support-to-windows-pe


I have mounted the wim but when I go to make the media I get the following error,

PS C:\WinPE_amd64_PS> MakeWinPEMedia /UFD C:\WinPE_amd64_PS D:
MakeWinPEMedia : The term 'MakeWinPEMedia' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.

I am running PowerShell as admin

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered

The error says "Check the spelling of the name, or if a path was included, verify that the path is correct and try again.".

Assuming the executable name is correct, is it in a directory included in your PATH environment variable? If not, use the complete path to run it.

Again, assuming the executable is in the C:\WinPE_amd64_PS directory, try "C:\WinPE_amd64_PS MakeWinPEMedia.exe . . ."

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @DavidHeinz-4898,

This seems to be a common issue. You can read the notice here: https://answers.microsoft.com/en-us/windows/forum/all/microsoft-removed-windows-pe-folders-from-windows/db7a37a3-4dc1-4c66-8cbb-daf9525c6ae2

Solution is included on the article.

Hope this helps in your case,



--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.