Jump to content


Danny-B-

WinPE - No valid network adapter!

Recommended Posts

Hi folks !

 

We're fairly new to SCCM, having only been using it now for about 4 months, but only recently in a production environment. We come from a background of Symantec Altiris, and have been using that for 4 years or so ...

 

I have most models in our environment working fine with OS Deployment but one model (Lenovo E530 laptop) will refuse to boot to the point that we can run tasks.

 

When booting to WinPE (Media or PXE) I get the "Failed to detect a valid network adapter" message. Normally this is due to incorrect or missing drivers from the WinPE image, but if i press F8 to get the command prompt window, i can type "ipconfig" and it WILL display an IP address ... which would indicate to me that the drivers are correct !!

 

I can also maps a drive etc, so i'm sure they are working fine. So why the message? is it possible that the check for a valid network adapter runs to quickly for adapter and returns a negative result before initialized properly?

 

How can i overcome this? All other models in our estate seem to work fine.

 

Thanks in Advance :)

Share this post


Link to post
Share on other sites

Hi,

There have been a lot of strange issues, like timing issues where the driver fails to load fast enough and so on.. check out this thread.

https://www.reddit.com/r/SCCM/comments/40u7lv/winpe_failed_to_find_a_valid_network_adapter_but/

 

/Jörgen

Share this post


Link to post
Share on other sites

Hi,

There have been a lot of strange issues, like timing issues where the driver fails to load fast enough and so on.. check out this thread.

https://www.reddit.com/r/SCCM/comments/40u7lv/winpe_failed_to_find_a_valid_network_adapter_but/

 

/Jörgen

Thanks for the reply Jorgen. I have tried the prestat commands option, i think i happened to find that reddit article a few weeks ago actually ... It didnt resolve the issue for me though, that "Failed to find a valid network adapter" message appears before the prestat command kicks in,

 

I'm pretty sure that if i can find a way of delaying the built in network adapter check, it will work fine. i guess i'll have to mount the boot image and take a look at the WinPE scripts that call this network adapter script.

Share this post


Link to post
Share on other sites

Quick workaround to this problem is to open command prompt (F8) and type TSBootShell ...
This will restart the Task Sequence environment and as the network card has now initialized, everything will work as expected.

 

Longer term workaround is to mount the boot image (Boot.wim in the extracted boot meida Sources folder) - I Used Gimagex to mount the boot.wim file to a folder on my C: Drive

 

Find the winpeshl.ini file in Windows\System32 folder

 

Edit to read as follows:

 

[LaunchApps]
%windir%\system32\wpeinit.exe
%windir%\system32\ping.exe -n 30 127.0.0.1 > NULL
%SYSTEMDRIVE%\sms\bin\x64\TsBootShell.exe

 

save the file and close any open file explorer windows .... commit the changes and unmount the image.

Overwrite the boot.wim file, and use in your deployments (media boot / PXE etc)

 

 

It just adds a short wait before running the TsBootShell.exe, enough for crappy NICs to initialize anyway.

 

Bear in mind that if you recreate your boot file or update it at all, it will be overwritten and you'll have to do the same process again.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.