question

adamt-8864 avatar image
0 Votes"
adamt-8864 asked ·

Before rebooting into winPE, SCCM client captures current network adapter settings to apply them in winPE environment. How can I prevent this?

When PXE booting, or booting from removable media, this isn't necessary, and so it isn't necessary when triggering an OSD deployment from software center either. Yet, as part of no task step, the client captures network settings, and applies them as the task resumes from winPE.

This is causing a problem where there is no name resolution due to software controlled DNS settings in the full OS. They get copied to winPE and cause the task to fail. I've tried a couple workarounds, but they have issues and it seems like it shouldn't be necessary to correct something like this.

In the logs it even says (paraphrasing) capture adapters:true, as if the true can be changed to false somewhere. I've tried to do through through task sequence variables with no luck, as I believe they only affect actual capture or apply network settings steps. I have also tried to add such steps. Nothing hacky has worked.

windows-dhcp-dnsmem-cm-osd
10 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ColinFord-6663 avatar image
0 Votes"
ColinFord-6663 answered ·

I'm not sure 100% sure this will work, but try set the task sequence variable OSDMigrateAdapterSettings to False in the OS portion of the task sequence before it boots into WinPE.

· 2
10 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is one thing I have tried. Thank you though.

1 Vote 1 ·

This variable corresponds to the Capture Network Settings task so without that task in the TS, this variable has no purpose.

0 Votes 0 ·
Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered ·

To validate, is there a Capture Network Settings task in the TS?

· 1
10 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Currently no, but have tried it with a capture network settings step, both boxes unchecked.

0 Votes 0 ·
ColinFord-6663 avatar image
0 Votes"
ColinFord-6663 answered ·

I'm not sure how to fix the 'properly' and disable that behavior. However, could you try running this command in WinPE and see if it switches the interface back to DHCP?

 netsh int ip set address Ethernet dhcp

If this works, you could try to include that as a pre-start command in WinPe to switch the interface back to DHCP before the task sequence has started.

· 1
10 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

As a prestart, I don't believe that works as I'm trying something similar. But I have to include it as a step near the beginning as changing the dns seems to be the very last thing before, or very first thing during, the actual task. I don't think it's a good solution so I'm hoping to get to the root of it.

0 Votes 0 ·
Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered ·

Can you expand on what "software controlled DNS settings" is exactly here?

· 2
10 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

umbrella roaming client.

0 Votes 0 ·

That's definitely not anything the TS engine accounts for and there is no mechanism to disable this behavior to my knowledge. Because it is automatic functionality that the TS engine itself performs, I don't think there will be a way for you to directly work around this except to either somehow whitelist the devices during the process or reconfiguring them to use a standard DNS server at the start of the TS.

0 Votes 0 ·
ColinFord-6663 avatar image
0 Votes"
ColinFord-6663 answered ·

You may need to get creative with workaround rather than finding a perfect solution, as that may just not be possible. Can you remove the umbrella client prior to reboot?

10 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.