Kingells684
New Member
- Messages
- 9
- Reaction score
- 1
Hi All,
Apologies in advance if this has been covered in a previous thread but I couldn't spot anything about it.
I'm back on my Winget shenanigans and I've found that the latest ISO download for Windows 11 actually includes a version of Winget that works off the bat with the standard winget install commands.
I switched out my old scripts that installs Winget and the dependencies and switched to purely a PS1 file with the Winget install commands but now I'm running into a weird issue.
If the device is connected to the internet (Via Ethernet for this machine), it goes through the normal Windows installation, but when it logs in as the user, no Powershell window runs, and none of my apps get installed.
If the device is disconnected from the internet, when the machine boots to the desktop, my script runs! (The script checks for an internet connection and doesn't run until it can ping google).
I saw some mentions of an update Win 11 does when installing, so I tried disabling Dynamic Updates and implementing a DisableCloudContent reg key into the build, and I haven't spotted it do the update pre-desktop but it hasn't made a change.
Is my script possibly running too fast and triggering before actually reaching the desktop? Is there still something Windows 11 is doing when installing that bricks the post-logon stuff if it's connected to the internet?
Real weird, be interested to hear yours guys thoughts. I've attached my Preset and the PS1 file I use in the Zip,
Thanks!
Apologies in advance if this has been covered in a previous thread but I couldn't spot anything about it.
I'm back on my Winget shenanigans and I've found that the latest ISO download for Windows 11 actually includes a version of Winget that works off the bat with the standard winget install commands.
I switched out my old scripts that installs Winget and the dependencies and switched to purely a PS1 file with the Winget install commands but now I'm running into a weird issue.
If the device is connected to the internet (Via Ethernet for this machine), it goes through the normal Windows installation, but when it logs in as the user, no Powershell window runs, and none of my apps get installed.
If the device is disconnected from the internet, when the machine boots to the desktop, my script runs! (The script checks for an internet connection and doesn't run until it can ping google).
I saw some mentions of an update Win 11 does when installing, so I tried disabling Dynamic Updates and implementing a DisableCloudContent reg key into the build, and I haven't spotted it do the update pre-desktop but it hasn't made a change.
Is my script possibly running too fast and triggering before actually reaching the desktop? Is there still something Windows 11 is doing when installing that bricks the post-logon stuff if it's connected to the internet?
Real weird, be interested to hear yours guys thoughts. I've attached my Preset and the PS1 file I use in the Zip,
Thanks!