Closed klearlab-xmod closed 3 years ago
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
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, notifications@github.com 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 https://github.com/tabs-not-spaces/Intune.USB.Creator/issues/22#issuecomment-734380350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LPXY6IMXUGZTOLNT7LSRZ4GPANCNFSM4UBQBCMA .
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?
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.
Nice. Do you want to see if you can force that within the solution?
On Sun, 29 Nov 2020, 12:54 am nrice1986, notifications@github.com wrote:
Was having the same issue.
I changed the version of PowerShell from 7.1.0 to 7.0.3 in WINPE\scripts\pwsh on the USB worked fine after.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tabs-not-spaces/Intune.USB.Creator/issues/22#issuecomment-735233869, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LMAPPWWMSW2JDUTHNDSSD6KXANCNFSM4UBQBCMA .
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"
Wanna put in a PR?
On Sun, 29 Nov 2020, 11:01 pm nrice1986, notifications@github.com wrote:
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"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tabs-not-spaces/Intune.USB.Creator/issues/22#issuecomment-735382857, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LIMNQP4KEDKJC7FAQ3SSIZ2JANCNFSM4UBQBCMA .
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.