Sysprep generalize in 20H2 doesn't remove network adapter

%3CLINGO-SUB%20id%3D%22lingo-sub-1844099%22%20slang%3D%22en-US%22%3ESysprep%20generalize%20in%2020H2%20doesn't%20remove%20network%20adapter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1844099%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20doing%20sysprep%20generalize%20with%20Windows%2010%2020H2%20Build%2010.0.19042.572%20the%20network%20adapter%20will%20not%20be%20removed%20from%20the%20device%20manager%20(as%20it%20is%20done%20in%20previous%20versions).%20So%20if%20this%20image%20is%20deployed%20to%20a%20new%20pc%2C%20the%20%22Ethernet%22%20name%20will%20be%20assigned%20to%20that%20old%20(not%20visible)%20network%20adapter.%20All%20scripts%20according%20to%20that%20name%20will%20fail.%20You%20can%20show%20the%20adapter%20in%20device%20manager%20by%20enabling%20%22showing%20hidden%20devices%22.%20I%20think%20this%20is%20a%20bug%20in%20this%20sysprep%20version.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1849558%22%20slang%3D%22en-US%22%3ERe%3A%20Sysprep%20generalize%20in%2020H2%20doesn't%20remove%20network%20adapter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1849558%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F854340%22%20target%3D%22_blank%22%3E%40Klaus_Guth%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20you%20checked%26nbsp%3B%3CSPAN%3E%3CSTRONG%3EPersistAllDeviceInstalls%3C%2FSTRONG%3E%20flag%20to%20make%20sure%20it%20is%26nbsp%3B%3CSTRONG%3EFalse%3C%2FSTRONG%3E%20.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ETry%20recheck%20your%20XML%20file%20and%20see%20if%20you%20could%20find%20anything.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20you%20believe%20this%20is%20bug%2C%20open%20start%20and%20search%20for%26nbsp%3B%3CSTRONG%3EFeedback%20Hub%26nbsp%3B%3C%2FSTRONG%3Eand%20report%20this%20issue.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1852132%22%20slang%3D%22en-US%22%3ERe%3A%20Sysprep%20generalize%20in%2020H2%20doesn't%20remove%20network%20adapter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1852132%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13441%22%20target%3D%22_blank%22%3E%40Reza%20Ameri%3C%2FA%3E%26nbsp%3BThere%20ist%20no%26nbsp%3B%3CSTRONG%3EPersistAllDeviceInstalls%26nbsp%3B%3C%2FSTRONG%3Eentry%20in%20unattend.xml%20and%20False%20is%20the%20default%20value%20for%20it.%20Version%202004%20works%20fine%20with%20the%20same%20unattend.xml.%20I%20have%20reported%20it%20at%20Feedback%20Hub%20now.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

When doing sysprep generalize with Windows 10 20H2 Build 10.0.19042.572 the network adapter will not be removed from the device manager (as it is done in previous versions). So if this image is deployed to a new pc, the "Ethernet" name will be assigned to that old (not visible) network adapter. All scripts according to that name will fail. You can show the adapter in device manager by enabling "showing hidden devices". I think this is a bug in this sysprep version.

4 Replies

@Klaus_Guth 

Have you checked PersistAllDeviceInstalls flag to make sure it is False .

Try recheck your XML file and see if you could find anything.

If you believe this is bug, open start and search for Feedback Hub and report this issue.

@Reza_Ameri-Archived There ist no PersistAllDeviceInstalls entry in unattend.xml and False is the default value for it. Version 2004 works fine with the same unattend.xml. I have reported it at Feedback Hub now.

@Klaus_Guth 

In this case by submitting the issue through Feedback Hub app, Windows team will investigate it. 

In case it is urgent, you may contact Microsoft Support.

 

When image is based on 20H2 sysprep /generalize does not remove any hardware. The network adapter is only one of many. I tried with image created with MediaCreationTool and with Image from developer network. Same problem. 

Now I have updated a 2004 image to 20h2 and syspred that. Here is no problem, the devices are removed as expected.