Windows 2022 build failing "Restart Required" after second Windows Feature Install #6293
-
Any help greatly appreciated. Trying to do a Windows 2022 build. This is a brand new build for us. Setup all my packer.json the same as MS except a few amendments as we are publishing to a shared image gallery. Windows 2019 works fine with very similar code. ==> azure-arm: Provisioning with powershell script: /agent/_work/1/s/runner-images/images/win/scripts/Installers/Install-WindowsFeatures.ps1 I have seen in the Install-WindowsFeatures.ps1 that it explicitly states no restart. This is not happening on my Windows 2019 build. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out this was my error. I had used my Windows 2019 scripts as a base and failed to change the toolset to 2022 from 2019 |
Beta Was this translation helpful? Give feedback.
Turns out this was my error. I had used my Windows 2019 scripts as a base and failed to change the toolset to 2022 from 2019