Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with deploying on hyperv #22

Closed
klearlab-xmod opened this issue Nov 24, 2020 · 7 comments · Fixed by #24
Closed

Issue with deploying on hyperv #22

klearlab-xmod opened this issue Nov 24, 2020 · 7 comments · Fixed by #24

Comments

@klearlab-xmod
Copy link

Hi When follow the instruction running this on hyperv as per the youtube video i keep getting the following error:

call c:\scripts\main.cmd
setting power policy to 'high performance'..
WARNING: The request is not supported.

Thanks in advance and I appreciate you creating this.

@niclasohrlund
Copy link

Hi! Have the same issue as klearlab-xmod.
Have been using this for quite some time now, but today it just didnt want to work.
Creating the usb is ok but installing the pc is the issue

@tabs-not-spaces
Copy link
Owner

tabs-not-spaces commented Nov 26, 2020 via email

@niclasohrlund
Copy link

It'll be an issue with the build of PowerShell 7. It came up a few months ago, but then seemed to resolve itself. Somewhat verified by one of the PMs on the team. What I'd suggest is looking to see if we can implement a specific version number during the install sou we aren't reliant on bugs. Want to investigate??

On Fri, 27 Nov 2020, 3:06 am niclasohrlund, @.***> wrote: Hi! Have the same issue as klearlab-xmod. Have been using this for quite some time now, but today it just didnt want to work. Creating the usb is ok but installing the pc is the issue — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#22 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LPXY6IMXUGZTOLNT7LSRZ4GPANCNFSM4UBQBCMA .

Yes please, how would we proceed to investigate?

@nrice1986
Copy link

nrice1986 commented Nov 28, 2020

Was having the same issue.

I changed the version of PowerShell from 7.1.0 to 7.0.3 in WINPE\scripts\pwsh worked fine after.

@tabs-not-spaces
Copy link
Owner

tabs-not-spaces commented Nov 28, 2020 via email

@nrice1986
Copy link

Sure I swapped:
Invoke-RestMethod -Method Get -Uri 'https://aka.ms/install-powershell.ps1' -OutFile "$env:Temp\install-powershell.ps1"
. $env:Temp\install-powershell.ps1 -Destination "$($usb.drive):\scripts\pwsh"

To:
Invoke-RestMethod -Method Get -Uri 'https://github.com/PowerShell/PowerShell/releases/download/v7.0.3/PowerShell-7.0.3-win-x64.zip' -OutFile "$env:Temp\ps7.zip"
Expand-Archive -path "$env:Temp\ps7.zip" -Destinationpath "$($usb.drive):\scripts\pwsh"

@tabs-not-spaces
Copy link
Owner

tabs-not-spaces commented Nov 29, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants