Author Topic: Creation of a WLANSVC repair tool based on some troubleshooting.  (Read 18339 times)

0 Members and 1 Guest are viewing this topic.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Hello all! Here in my job all workstations are over a domain and the entire wireless structure is supported by a lot of HP/Aruba access points, all of them controlled by AirWave manager.
Then, the problem that is occurring with certain frequency is that some Windows's wlan autoconfig and related services are delaying too much to start, and this is preventing domain users to logon on the machines, because here there is no cache logon (disabled by gpo), so when Windows's wlan structure presents any missfunction, the connection appears partially made and keep in a "limited access" state until all Windows's wlan related services finish to start completely, so the workstation can be finally authenticated on the domain and users can make a successful logon.
So searching some forums i've found some troubleshooting that i still can't test, that involves file's proprietary and file's permission changes:

https://community.spiceworks.com/how_to/2112-fixing-your-wlan-autoconfig-service

https://web.archive.org/web/20150703114214/http://barryhubbard.com:80/tips/39-general/72-wlan-autoconfig-error-0xc00ce5580xc00ce558

https://answers.microsoft.com/en-us/windows/forum/windows_vista-networking/windows-wireless-service-is-not-running-on-this/52558cc3-0b8f-475d-beb8-3d8127808d2a?messageId=d6bff4bf-d183-40b3-b7a8-658b47670d17&page=1

Many thanks in advance!
« Last Edit: March 08, 2021, 11:10:43 am by ralmada »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #1 on: March 09, 2021, 01:46:11 am »
Some interesting articles.

I have a Win 7 laptop, although rarely used now that seems to take ages for the busy to complete to give me a full wireless icon on boot.

I don't have another Win 7 machine to copy files from but will look into the WLAN Autoconfig service, so thanks for those.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #2 on: March 22, 2021, 11:07:12 am »
After many days looking for the source of my problem, i've finally found it! Someway that i can't understand yet, after disabling "virtual wifi filter driver" (under device manager -> show hidden devices -> non-plug and play drivers) and restarting Windows - or deactivating/reactivating the wireless card - the problem begins. I have disabled that virtual wifi driver as a troubleshooting that i saw on internet for other network problems that i've faced here (https://www.sevenforums.com/network-sharing/117071-solution-wrong-wireless-network-icon-displayed.html).
« Last Edit: March 23, 2021, 12:04:21 pm by ralmada »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #3 on: March 22, 2021, 03:00:27 pm »
Thanks for the link.

I wonder if that is what is causing the busy on my wireless icon on boot.

I'll check it out by disabling that driver.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #4 on: March 23, 2021, 11:54:20 am »
Now, it seems sometimes I have to choose the less worse option between wireless limited access and wrong connection icon (obviously the second one). If I solve first issue, the second happens and vice-versa. Lol
I'm still trying to understand the entire context.
« Last Edit: March 23, 2021, 12:01:37 pm by ralmada »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #5 on: March 23, 2021, 03:29:00 pm »
After disabling that driver I started getting Limited Access on my wireless icon so set it back to auto.

I don't use any managers but you could try opening a Command Prompt (Admin) and enter these cmds to reset the adapters -

netsh winsock reset

netsh int ip reset resetlog.txt

ipconfig /release

ipconfig /renew

ipconfig /flushdns

ipconfig /registerdns

shutdown /r /t 00

Then see how things are after the reboot.

You can also change your external IP address by switching your router off for at least 30 mins.

This has been known to resolve some connectivity problems.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #6 on: March 24, 2021, 08:05:18 am »
I already have that and some more parameters in a batch file for troubleshooting, i just didn't checked if it's necessary to remove and reinstall wireless card driver or not after these commands. Also i have to find another solution for that damn wrong icon without disabling that virtual wifi driver.  :confused:

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #7 on: March 24, 2021, 10:46:25 am »
Can you post a pic of that icon ?

Do you need to use Airwave Manager ?

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #8 on: March 24, 2021, 02:56:53 pm »
Did you switch the router off for at least 30 mins ?

You could try uninstalling/reinstalling the wireless driver to see if that resolves.

Open Device Manager/View/Show hidden devices and expand Network adapters.

Right click on the wireless one and select Uninstall but do not check the box to include software.

Reboot or click on Action/Scan for hardware changes where it will be reinstated and then check your WiFi icon, but I'd really like to see what yours looks like.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #9 on: March 24, 2021, 03:49:56 pm »
It's the icon that indicates that there are available wireless networks when you are not connected to none ("the little yellow sun" attatched).

I've discarded Aruba environment, there's nothing wrong. I was checking with the admin since problem begins.

The rest of checklist i had already did.

One more interesting troubleshooting that i will check soon (this is exactly my problem):
https://www.youtube.com/watch?v=pp-9msEP6Vg

The first batch file is no more available but i will track that commands.

Thanks a lot for your interest helping me.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #10 on: March 24, 2021, 04:09:01 pm »
I would suggest that you right click on the icon and select Troubleshoot problems to see what that reports.

Without that batch file, I don't think the sfc /scannow on its own will resolve, but you could still try it if the troubleshooter can't find the problem.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #11 on: March 25, 2021, 06:29:35 am »
I also did it but nothing changed. I found that batch in a Russian forum but I still can't confirm if it is the same content (I will check at my work soon), here the parameters:

echo off
echo.
echo Restart "Network Location Awareness" service
echo.
net stop "Network List Service"
ping localhost -n 5 > nul
net stop "Network Location Awareness"
ping localhost -n 5 > nul
net start "Network Location Awareness"
ping localhost -n 5 > nul
net start "Network List Service"
echo configuring "SharedAccess" service
sc config SharedAccess start= DEMAND
shutdown -r -t 1
del %0
« Last Edit: March 25, 2021, 06:48:22 am by ralmada »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #12 on: March 25, 2021, 09:24:02 am »
Did the sfc /scannow find any corruption to repair ?

What did the network troubleshooter report ?

These are the services to check when you get connectivity problems and you haven't said if you switched the router off for at least 30 mins.

Check that all your Network Services are Started - click on Start, type services.msc then press Enter.

Their startup type should be Automatic or Manual

COM+ Event System
Computer Browser
DHCP Client
DNS Client
Network Connections
Network Location Awareness
Remote Procedure Call (RPC)
Server
TCP/IP Netbios helper
Wired Autoconfig is set to manual.
Wireless Zero Configuration (XP wireless configurations only)
WLAN AutoConfig (Vista/7 wireless configurations only)
Workstation

If a service is not running, click on it to highlight then click on Start (top left).

If it fails to start then right click on the service to open its Properties and check the Dependencies and that each of them are running.

This article provides a list of all Win 7 services and what their status should be - https://www.winhelponline.com/blog/windows-7-services-default-startup-type/
« Last Edit: March 25, 2021, 09:41:12 am by Boggin, Reason: Additional info. »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #13 on: April 27, 2021, 01:29:32 am »
Thread unlocked.

Re, your PM here is a list of cmds that will reset the WMI which may resolve that problem -

winmgmt /standalonehost
winmgmt /resetrepository
regsvr32 wmisvc.dll
winmgmt /resyncperf
« Last Edit: April 27, 2021, 01:32:11 am by Boggin, Reason: Typo »

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #14 on: April 27, 2021, 09:11:08 am »
Many thanks, Tom! I'll test it soon. And regarding to topic, updating it (as we spoke via PM):

"Hey Tom, about the topic [https://www.tweaking.com/forums/index.php?topic=6733.0]: sorry for not keep you updated. I realized that i've caused the issue by disabling that virtual driver. Then when i told that the problem persisted even re-enabling that driver, i found that it only stops ocurring when literaly removing (whithout need to mark "exclude" option) and reinstalling the network card's driver. Some tests you suggested me, i could not do them because of administrative privileges that i have not. So basically, i've caused an issue and i'm fixing it manualy only when the gpo that reverts my mistake fails applying someway. Everything is working fine now, so thanks a lot for all interactions. Can you give me another information? I'm using that separated wmi repair tool to refresh some messed old Windows installations in relation to antivirus status. Is there some command line to run the repair.exe in silent mode bypassing the start button? I'm asking because i use paexec to make some maintenance routines remotelly without interrupt users's routine. Many thanks again."

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #15 on: April 28, 2021, 04:02:11 am »
Let me know if those cmds sort it.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #16 on: May 05, 2021, 09:06:20 am »
No way dude, i've tried your suggestion and the commands from this tool: https://guidooliveira.com/wmi-fixer-tool/ but not worked too. The only working successful method is still your wmi repair tool, but i can't run it in silent mode. :(

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #17 on: May 11, 2021, 02:12:50 pm »
I don't know what you mean by silent mode.

It's a program that requires a reboot to effect the repairs.

Offline ralmada

  • Newbie
  • *
  • Join Date: Mar 2021
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #18 on: May 14, 2021, 08:18:17 am »
I mean that i would like to run your wmi repair tool (or its commands) directly by the command prompt instead of interact with his interface (or without having to press start button). I use Lansweeper for general information/management and PAExec when i can't access some computers remotely without interrupt local users's routines (sometimes the multiple RDP connections do not work properly and nor always i can spend time analyzing and fixing this in that moment). If possible, of course. :shy:
« Last Edit: May 14, 2021, 02:10:21 pm by ralmada »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #19 on: May 14, 2021, 02:30:05 pm »
AFAIK that repair can only be run from within the program.

This article has a number of steps you may be able to execute remotely for different versions of Windows -

https://www.blesk.ca/rebuild-the-wmi-repository/

Hope this helps.

Offline Fulcrum_29SMT

  • Newbie
  • *
  • Join Date: May 2021
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Creation of a WLANSVC repair tool based on some troubleshooting.
« Reply #20 on: May 31, 2021, 09:18:35 am »
Yes, you need to reboot and repair the program with the built-in tool, otherwise the repairs aren't going to be done correctly.