tabs-not-spaces / Intune.USB.Creator

A module containing tools to assist with the creation of a bootable WinPE USB used to provision devices for enrollment to Intune.
GNU General Public License v3.0
131 stars 43 forks source link

Not prompted for AutoPilot Profile #6

Closed JigSawFr closed 4 years ago

JigSawFr commented 4 years ago

Hello, The script run and pass the step "Grabbing Autopilot config file from Azure.." without any window to login and select profile. Original command was: Publish-ImageToUSB -winPEPath "https://githublfs.blob.core.windows.net/storage/WinPE.zip" -windowsIsoPath "C:\Users\me\Downloads\Windows10-Enterprise.iso" -getAutopilotCfg Any clue ? Thank you

tabs-not-spaces commented 4 years ago

can you verify that you've got the pre-req modules installed in the PowerShell 5.1 location?

Ezmoshow commented 4 years ago

I ran into this issue myself a few times.. but it had worked the very first time.. subsequent times failed to grab the autoconfig file. I went into the appdata folder where it was storing or staging the file and deleted it. When i ran the script after deleting this, it prompted me again.

tabs-not-spaces commented 4 years ago

Yeah that's by design - to avoid having to grab the file remotely every time.

On Thu, 9 Jul 2020, 11:04 am Ezmoshow, notifications@github.com wrote:

I ran into this issue myself a few times.. but it had worked the very first time.. subsequent times failed to grab the autoconfig file. I went into the appdata folder where it was storing or staging the file and deleted it. When i ran the script after deleting this, it prompted me again.

— 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/6#issuecomment-655834902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LPNBWWOAKDVO4H23I3R2UJSDANCNFSM4OJ72VVQ .

tabs-not-spaces commented 4 years ago

closing issue unless someone wants to add a better solution.