The Oven

Project World => Win7PE SE HomePage => Topic started by: Cubeburner on January 09, 2017, 07:05:14 PM

Title: Wireless not supported in latest version of Win7PESE?
Post by: Cubeburner on January 09, 2017, 07:05:14 PM
Greetings,

Is there a way to enable support for wireless for Win7PESE? I have a WLAN card in a old rig of mine that I want to use for some experiments and when the WiFi drivers attempt to load through HWPnP, the error returned from Windows Device Manager is as follows:

This device cannot start. An error occurred during setup of the device.
The system cannot find the file specified.

With that said, LAN drivers and everything else seem to be happily installed. It's just the wireless subsystem that seems to be missing, or some files are missing from Win7PESE itself.

Cheers!
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Prz42 on January 23, 2017, 03:44:54 PM
I seem to have the same problems with wireless network.
I am using the latest PeNetwork by ChrisR
Code: [Select]
History050=ChrisR - Win7pese shares the same plugin now - Date:2017.01.14

I don't know if this log has anything to do with it winpeshl.log
Code: [Select]
Info      Windows PE Shell beginning execution
Info      Beginning PNP initialization.
Info      Winpeshl.ini detected.
Info      Succeeded launching (null) [MountPEmedia.exe]
Warning   Failed to launch (null) [hide /NOCONSOLE /SILENT /WAIT start.cmd] [0x80070002]
Info      Succeeded launching (null) [Shortcuts.exe -f X:\Windows\System32\Win7PE.cfg]
Info      Succeeded launching (null) [PinTool.exe -debug X:\Windows\System32\Win7PE.cfg]
Info      Succeeded launching (null) [Pecmd.exe Main X:\Windows\System32\Pecmd.ini]
Info      PNP initialization succeeded.
Info      PNP Initialization thread terminating.

This is the error messages that received when PE start up.
[attach=1]
[attach=2]
Hope any of the attachments help.

I used this PeNetwork before and it seems to load extra info, which lets
the wireless network work.
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Lancelot on January 23, 2017, 08:51:20 PM
I seem to have the same problems with wireless network.
I am using the latest PeNetwork by ChrisR
Code: [Select]
History050=ChrisR - Win7pese shares the same plugin now - Date:2017.01.14

Check if you have
Win7PESE\Components\"Network" plugin ?
Code: [Select]
History001=ChrisR - Split Network and the Penetwork shared with other SE project - Date:2016.11.18

If you do not have
Win7PESE\Components\"Network" plugin
Use
Utils\Update Win7PESE --> "Update" button to update your project....
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Prz42 on January 25, 2017, 07:43:23 AM
Lancelot thank you for the update.
Found all the information at

Win7PESE\Components\"Network" plugin

Tried to do the normal Download button before,
but didn't seem to pickup the Network plugin.
It worked like a champ!!!     :thumbsup:

I also added some more driver to NET drivers for Win7PE.
Followed previous Net drivers plugin.
Shared the link below.  It seems to get me by, but know
ChrisR could make it more complete for Win7PESE.

http://pc.cd/PCQotalK        :scooter:
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Lancelot on January 25, 2017, 10:18:04 AM
but didn't seem to pickup the Network plugin.

If you do not have
Win7PESE\Components\"Network" plugin
Use
Utils\Update Win7PESE --> "Update" button to update your project....

Clear instruction to update project is always same.

Already Available at FAQ
http://theoven.org/index.php?topic=834.0

If you had followed, there would be no failure and no workaround.

You fail yourself and workaround yourself....



Clear:
Whatever way you use, when there is a failure,
 First thing to do,
   Update project, and test again,
   Update project : means using  Utils\Update xxxxxx --> "Update" button

Info Already Available at FAQ
http://theoven.org/index.php?topic=834.0

*
about "NET drivers - Prz42" plugin
 better open a new topic on Win7PESE section,
   to get more visible to next free time and to others..

:turtle:
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Prz42 on January 25, 2017, 12:26:20 PM
Utils\Update Win7PESE --> "Update" button to update your project....
:turtle:
You are right. I always hesitate to use this tool.
Thanks for all your help.
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Lancelot on January 25, 2017, 10:19:55 PM
You are right. I always hesitate to use this tool.
Thanks for all your help.
Tool created more than 7 years ago to avoid such troubles and works perfect since than...

Such trouble happens very mostly with very old users like you,
 or a newbie accident rarely.
  Maybe we should cut down other ways, or maybe we will ..........

So I advice you to change bad habits, which cause time for you and for me.

:turtle:
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: ChrisR on January 26, 2017, 05:14:33 AM
about "NET drivers - Prz42" plugin
 better open a new topic on Win7PESE section,
   to get more visible to next free time and to others..
Yes, that's good and it is good to show it  :thumbsup:
I can not include on my side on Win7PESE with Win8 drivers files :wink:
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: ErikW on March 17, 2017, 11:18:39 AM
Sorry about the formatting.  I can't get "code" tags to work.  I get an error saying "external links not allowed".

I've been working on this problem a little bit.  I have a three year old build of Win7PE SE that works with wireless and the current Win7PE SE does not work with the exact same drivers.

I tracked "The system cannot find the file specified" error down to a missing "vwifibus.sys" file.

The problem is these lines in "Network.script". The wrong file is being copied.

// vwifibus only works properly when vwifibus.sys file is also included in Windows\Inf folder.
If,Not,ExistFile,%Target_Win%\inf\vwifibus.sys,FileCopy,%Source_Sys%\drivers\vwifimp.sys,%Target_Win%\inf
//-

Here is a corrected version.

// vwifibus only works properly when vwifibus.sys file is also included in Windows\Inf folder.
If,Not,ExistFile,%Target_Win%\inf\vwifibus.sys,FileCopy,%Source_Sys%\drivers\vwifibus.sys,%Target_Win%\inf
//-

Instead of editing "Network.script" I created a plugin to fix the problem.

[Main]
Title=vwifibus service bug fix
Description=Bug fix to make wifi work
Selected=True
Locked=false
Level=5
Author=ErikW
Version=001
Date=2017-03-16
Download_Level=2
NoWarning=False

[Process]
// vwifibus only works properly when vwifibus.sys file is also included in Windows\Inf folder.
If,Not,ExistFile,%target_win%\inf\vwifibus.sys,FileCopy,%Source_Sys%\drivers\vwifibus.sys,%target_win%\inf\vwifibus.sys
//-

I still have not gotten my wireless driver to work.  Now the error is different.

     inf:                          {Install Inf Section [ATHR_DEV_OS61_988x_Killer_NFA364A.ndi.NTAMD64.Services] exit(0x00000000)}
     inf:                          {Install Inf Section [VWiFiBus.Services]}
     inf:                               AddService=vwifibus,,vwifibus_Service_Inst  (netvwifibus.inf line 43)
     inf:                               ServiceType=1  (netvwifibus.inf line 47)
     inf:                               StartType=3  (netvwifibus.inf line 48)
     inf:                               ErrorControl=1  (netvwifibus.inf line 49)
     inf:                               ServiceBinary=X:\windows\system32\DRIVERS\vwifibus.sys  (netvwifibus.inf line 50)
!!!  dvi:                               Add Service: Binary 'X:\windows\system32\DRIVERS\vwifibus.sys' for service 'vwifibus' is not compatible.
!!!  inf:                          {Install Inf Section [VWiFiBus.Services] exit(0xe0000234)}
!!!  inf:                          Error 0xe0000234: Driver is not intended for this platform.
!!!  dvi:                          Error while installing services.
!!!  dvi:                          Error 0xe0000234: Driver is not intended for this platform.
     dvi:                          Deleted service 'Qcamain'.
!!!  dvi:                          Cleaning up failed installation
!!!  dvi:                          Error 0xe0000234: Driver is not intended for this platform.

The error makes no sense, since "vwifibus.sys" is in fact the correct 64-bit version. I believe that I have gotten it to work by manually copying "vwifibus.sys" and then installing the driver from the device manager.  Unfortunately I no longer have the laptop where this problem occurs nor any time to investigate further.  If I find out more information I'll post it.

I may have to start over using a different laptop and different wifi driver.  Anyway, I hope this information is helpful for someone to get past their wifi driver installation problems.

Another odd thing is that my old working build does not have "vwifibus.sys" or "vwifibus.inf" at all.  At least in my case, I wonder if those files are really necessary.  Maybe they are installed in some other way on the old Win7PE SE project.
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Lancelot on March 18, 2017, 06:55:21 AM
Welcome ErikW,

I added your vwifimp.sys addition to Network Plugin  :thumbsup:
Network Plugin v52 available on all servers now.  :cheers:

I hope this leads to next step on a better fix.

*
I wonder if those files are really necessary.  Maybe they are installed in some other way on the old Win7PE SE project.

There maybe 3rd party driver on your old Win7PESE probably via "Driver Integration" plugin

You can figure out which driver used for wi fi on your Win7PESE with "Double Driver"  :wink:

Let us know when you can test.


*
Tip:
You can create new empty plugin by using
Utils\PC Packed (Plugin Creator Packed) --> small "e" button at bottom right of plugin


See You around
:turtle:
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: ErikW on March 22, 2017, 04:05:48 PM
After much hair pulling I got both 32-bit and 64-bit versions of Win7PE SE to work with wireless. The problems were apparently due to driver signing.

The solution was to NOT copy the following files to the WINDOWS\INF directory:

netvwifibus.inf, netvwififilt.inf, netvwifimp.inf
vwifibus.sys, vwififilt.sys, vwifimp.sys

When the files are NOT in the INF directory then the device installer gets them from the DriverStore folder that contains the correct signed versions for the current platform.

After inspecting my previously working project from a few years ago, I found that it also does not put those files in the INF folder.

Below is my current bug fix script.  I tried to find a newer "Network.script" but apparently one is not available where my project is searching.  In any case, this script should work with either version of "Network.script" providing that this script is done after "Network.script".

[Main]
Title=vwifibus service bug fix
Description=Bug fix to make wifi work
Selected=True
Locked=false
Level=5
Author=ErikW
Version=002
Date=2017-03-22
Download_Level=2
NoWarning=False
HistoryNotes=
History002=Remove Virtual WiFi files from WINDOWS\INF folder

[Process]
// Use signed WiFi driver files from DriverStore. Don't use .inf or .sys files in INF directory
If,ExistFile,%Target_Win%\inf\netvwifibus.inf,FileDelete,%Target_Win%\inf\netvwifibus.inf,Norec
If,ExistFile,%Target_Win%\inf\netvwififlt.inf,FileDelete,%Target_Win%\inf\netvwififlt.inf,Norec
If,ExistFile,%Target_Win%\inf\netvwifimp.inf,FileDelete,%Target_Win%\inf\netvwifimp.inf,Norec
If,ExistFile,%Target_Win%\inf\vwifibus.sys,FileDelete,%Target_Win%\inf\vwifibus.sys,Norec
If,ExistFile,%Target_Win%\inf\vwififlt.sys,FileDelete,%Target_Win%\inf\vwififlt.sys,Norec
If,ExistFile,%Target_Win%\inf\vwifimp.sys,FileDelete,%Target_Win%\inf\vwifimp.sys,Norec
//-

I verified that the "vwifibus.sys" driver is installed and virtual LANs should work.
Title: Re: Wireless not supported in latest version of Win7PESE?
Post by: Lancelot on March 24, 2017, 06:03:14 AM
Hi ErikW,

I just updated Network plugin, so these 3 drivers (inf+sys=6 files) only copied from driverstore.

Network Plugin v52 available on all servers now.

*
Tip:
You can create new empty plugin by using
Utils\PC Packed (Plugin Creator Packed) --> small "e" button at bottom right of plugin
==>
This will give you same template with all plugins available on servers.
You use a bad template  :wink:

:turtle: