Jump to content

netsh wlan issues


forsberg94

Recommended Posts

Hi all,

I am having an issue with the netsh.exe utility in WinPE 3.0 that I was hoping you could shed some light on.

So by default, when I type

netsh wlan

it cannot find the 'wlan' switch.

I added the following .dll files and added an entry to the registry to utilize that dll in: HKEY_LOCAL_MACHINE\Software\Microsoft\NetSh

"dhcpclient"="dhcpcmonitor.dll"

"wshelper"="wshelper.dll"

"4"="rasmontr.dll"

"2"="ifmon.dll"

"netiohlp"="netiohlp.dll"

"wlan"="wlancfg.dll"

Above is what I now have in that NetSh folder in the registry.

Now when I type

netsh wlan

the command is found, but I am getting an error which I have never seen before.

The error I am seeing is as follows:

Error 15105 in FormatMessageW()

The linked image is a screenshot of just typing 'netsh wlan', and then below in the screen is where I type 'netsh wlan show profiles'

http://i.imgur.com/uItdv.jpg

I hope you can help me out. Thanks in advance!

Link to comment
Share on other sites


  • 1 month later...
  • 4 months later...

Sorry to bump an old topic, but I have a Dell KACE K2000 box, which uses WinPE as the PXE Boot agent.

I've tried what you've suggested. I've mounted the boot.wim, put all those dll files in the system32 folder, unmounted and booted up. Upon boot, I run "regedit", and add the "wlan" to the registry.

But after adding the registry "wlan", when I do "netsh wlan", it shows:

The following helper DLL cannot be loaded: WLANCFG.DLL

When I do "netsh add helper wlancfg.dll", it shows the same error. I have wlancfg.dll in the system32 folder where I'm running this from.

Any ideas? We have a ton of computers that we just moved to wireless, and being able to image some over wireless is getting to be necessary for us.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...