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

Please Don't Do This... #90

Closed ShadowCodeX-debug closed 3 weeks ago

ShadowCodeX-debug commented 3 weeks ago

Having your selected field SWITCH to the other field just because you have both fields have the same name is a problem since if you wanted to give your Computer Name like "ExampleName2" and you have your user name set to "ExampleName", as soon as you type in "ExampleName" it WILL switch to your user name field.

Can you just not have that happen?

https://github.com/user-attachments/assets/b09ed66c-243d-4d68-964b-1674dc9132c9

Reptaiin commented 3 weeks ago

NetBIOS and general network applications become confused when you do this, hence the restriction. While it is technically possible, it will cause problems in the long run.

cschneegans commented 3 weeks ago

That wasn't supposed to happen. Thank you for bringing this to my attention!

Changed some JavaScript code to avoid this problem. Refresh the form (F5) if you want to give it a try.

cschneegans commented 3 weeks ago

NetBIOS and general network applications become confused when you do this, hence the restriction.

I did not remember what made me add this check originally. Just installed 24H2 with the computer name set to Admin and a single administrator account also named Admin. Windows failed to make the Admin user a member of the Administrators group, effectively making the installation unusable.

ShadowCodeX-debug commented 3 weeks ago

Thank you for solving it.