You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the base image Windows 11 + VS 2022 (Dev Box Compatible)
I've found that even if I tell it to execute a powershell command of just ls . it will hang if I select the Elevated without Run as System or uncheck both (User Context)
I end up having to run everything as System which causes problems for some tasks.
The text was updated successfully, but these errors were encountered:
brandonh-msft
changed the title
Image Builder hangs when building template with 'Elevated' powershell script
Image Builder hangs when building template with anything other than System Elevated powershell script/command
Feb 5, 2024
I can concur! It was so frustrating to have the builds fail even with some basic powershell commands. I was trying with various configurations but finally what had to be updated is that I had to run the customizations as System. Running as Elevated seems to have no purpose in that case.
I'm using the base image Windows 11 + VS 2022 (Dev Box Compatible)
I've found that even if I tell it to execute a powershell command of just
ls .
it will hang if I select theElevated
withoutRun as System
or uncheck both (User Context)I end up having to run everything as System which causes problems for some tasks.
ARM template
The text was updated successfully, but these errors were encountered: