cschneegans / unattend-generator

.NET Core library to create highly customized autounattend.xml files
https://schneegans.de/windows/unattend-generator/
MIT License
659 stars 60 forks source link

[Request] Didn't bypass "Let's connect you to a network" page and Microsoft Wallet is not removed on Windows 10. #68

Closed R4vz closed 1 month ago

R4vz commented 1 month ago

1) I used the latest Windows 10 ISO Sep 2024 (Build - 19045.4894) from massgrave website and setup a virtual machine accordingly with the unattend ISO. Everything went well but the script did not bypass the "Let's connect you to a network" page. I then had to bypass it through powershell and boot into Windows. I'm assuming it's not an ISO issue, I may be wrong.

2) Upon running this powershell command " Get-AppxPackage -AllUsers | Select Name, PackageFullName" I found Microsoft.Wallet in the installed packages list. Also, there's no option to remove Microsoft Wallet under Remove Bloatware section in the website.

VB

Looking forward for a fix. Thank you.

cschneegans commented 1 month ago

Everything went well but the script did not bypass the "Let's connect you to a network" page.

When I disable the network adapter in VMware and install Win10_22H2_English_x64v1.iso (which is the latest official .iso download from Microsoft), Windows will interrupt the unattended process with these two pages:

image

image

I believe this is the normal behavior, but I rarely install Windows without Internet connection.

Is this the page you are seeing? Which PowerShell command did you use to bypass it?

Also, the Allow Windows 11 to be installed without internet connection setting should have no effect on Windows 10. I have tested with this setting both enabled and disabled, and the results are exactly the same, as shown in the screenshots above.

Also, there's no option to remove Microsoft Wallet under Remove Bloatware section in the website.

Added now via https://github.com/cschneegans/unattend-generator/commit/5351b520748e21f3b2f93131f4ba769748dbf027. Thanks for the pointer.

image

R4vz commented 1 month ago

Sorry I forgot to mention that I had disabled network adapter in VirtualBox before installing Windows because it's been a habit to me since Windows 10.

And regarding the images you've provided, I only came across the first screen with the "I don't have internet" button greyed out and when bypassed, it directly sent me to the first login preparation screen. The workaround I tried was from this HowToGeek website by ending the Network Connection Flow process from the Task Manager.

Also, the Allow Windows 11 to be installed without internet connection setting should have no effect on Windows 10.

I had not checked this thinking it was only meant for Windows 11.

Added now via https://github.com/cschneegans/unattend-generator/commit/5351b520748e21f3b2f93131f4ba769748dbf027. Thanks for the pointer.

You're welcome sir.

Also, is it normal that the script does not remove Microsoft.XboxGameCallableUI as bloat and not disable Game Bar?

cschneegans commented 1 month ago

Also, is it normal that the script does not remove Microsoft.XboxGameCallableUI as bloat and not disable Game Bar?

The Microsoft.XboxGameCallableUI package is not provided as a “provisioned package”. Besides “optional features” and “capabilities”, provisioned packages are one category of components that my autounattend.xml files can remove during Windows Setup. This means that this package is probably installed sometime after Setup. On the other hand,

are provided as provisioned packages and hence easier to remove during Setup.

R4vz commented 1 month ago

Understood sir. Would like to thank you for the explanation and the great work you've done. Have a great one sir.