Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: netsh wlan show profiles: Access is denied

18 Nov 2014   #1
Micro1321

Windows 7 Ultimate 64 Bit
 
 
netsh wlan show profiles: Access is denied

If I try to run the command:
Code:
netsh wlan show profiles
even if I run the command prompt with administrative privileges, I receive back:
Code:
Function WlanGetProfileList returns error 5:
Access is denied.
Any help would be much appreciated, thanks.


My System SpecsSystem Spec
.
18 Nov 2014   #2
Sugarcake18

Windows 7 pro 64bit
 
 

When you have cmd open have you right clicked and clicked properties and under the security tab see what it says for user profiles(full control, read/write)?
My System SpecsSystem Spec
18 Nov 2014   #3
Micro1321

Windows 7 Ultimate 64 Bit
 
 

Quote   Quote: Originally Posted by Sugarcake18 View Post
When you have cmd open have you right clicked and clicked properties and under the security tab see what it says for user profiles(full control, read/write)?
If I right click on the command prompt window itself and click properties there is no security tab.
If I do it to cmd.exe the permissions are as follows:

SYSTEM: Read & execute
Administrators: Read & execute
Users: Read & execute
TrustedInstaller: Full control

I'm also unable to change any of these permissions.
My System SpecsSystem Spec
.

18 Nov 2014   #4
Sugarcake18

Windows 7 pro 64bit
 
 

Quote   Quote: Originally Posted by Micro1321 View Post
Quote   Quote: Originally Posted by Sugarcake18 View Post
When you have cmd open have you right clicked and clicked properties and under the security tab see what it says for user profiles(full control, read/write)?
If I right click on the command prompt window itself and click properties there is no security tab.
If I do it to cmd.exe the permissions are as follows:

SYSTEM: Read & execute
Administrators: Read & execute
Users: Read & execute
TrustedInstaller: Full control

I'm also unable to change any of these permissions.
your right as far as the properties(brain fart silly me) do you by any chance have a personal firewall installed other then the windows firewall?
My System SpecsSystem Spec
18 Nov 2014   #5
Micro1321

Windows 7 Ultimate 64 Bit
 
 

Quote   Quote: Originally Posted by Sugarcake18 View Post
Quote   Quote: Originally Posted by Micro1321 View Post
Quote   Quote: Originally Posted by Sugarcake18 View Post
When you have cmd open have you right clicked and clicked properties and under the security tab see what it says for user profiles(full control, read/write)?
If I right click on the command prompt window itself and click properties there is no security tab.
If I do it to cmd.exe the permissions are as follows:

SYSTEM: Read & execute
Administrators: Read & execute
Users: Read & execute
TrustedInstaller: Full control

I'm also unable to change any of these permissions.
your right as far as the properties(brain fart silly me) do you by any chance have a personal firewall installed other then the windows firewall?
Nope. None.
My System SpecsSystem Spec
18 Nov 2014   #6
Sugarcake18

Windows 7 pro 64bit
 
 

Quote   Quote: Originally Posted by Micro1321 View Post
Quote   Quote: Originally Posted by Sugarcake18 View Post
Quote   Quote: Originally Posted by Micro1321 View Post

If I right click on the command prompt window itself and click properties there is no security tab.
If I do it to cmd.exe the permissions are as follows:

SYSTEM: Read & execute
Administrators: Read & execute
Users: Read & execute
TrustedInstaller: Full control

I'm also unable to change any of these permissions.
your right as far as the properties(brain fart silly me) do you by any chance have a personal firewall installed other then the windows firewall?
Nope. None.
when you go to c:\windows\system32 and search netsh what does it show your admin account as having for rights?
My System SpecsSystem Spec
18 Nov 2014   #7
Micro1321

Windows 7 Ultimate 64 Bit
 
 

Quote   Quote: Originally Posted by Sugarcake18 View Post
Quote   Quote: Originally Posted by Micro1321 View Post
Quote   Quote: Originally Posted by Sugarcake18 View Post

your right as far as the properties(brain fart silly me) do you by any chance have a personal firewall installed other then the windows firewall?
Nope. None.
when you go to c:\windows\system32 and search netsh what does it show your admin account as having for rights?
netsh.exe has the same permissions as cmd.exe
My System SpecsSystem Spec
18 Nov 2014   #8
Sugarcake18

Windows 7 pro 64bit
 
 

I'm guessing that not only are you running it in elevated mode, but you are on an admin user correct? Also have you ever been able to run this command on this system or is this just the first time?
My System SpecsSystem Spec
19 Nov 2014   #9
Micro1321

Windows 7 Ultimate 64 Bit
 
 

Quote   Quote: Originally Posted by Sugarcake18 View Post
I'm guessing that not only are you running it in elevated mode, but you are on an admin user correct? Also have you ever been able to run this command on this system or is this just the first time?
Yes, and I haven't tried to use this command before.
My System SpecsSystem Spec
19 Nov 2014   #10
Sugarcake18

Windows 7 pro 64bit
 
 

Quote   Quote: Originally Posted by Micro1321 View Post
Quote   Quote: Originally Posted by Sugarcake18 View Post
I'm guessing that not only are you running it in elevated mode, but you are on an admin user correct? Also have you ever been able to run this command on this system or is this just the first time?
Yes, and I haven't tried to use this command before.
Have you made any recent changes and if you have would you be willing to go to a recent restore point and try that route?

Also I don't want to sound rude but just making sure I'm not sure how technology orientated you are but you do have a wifi adapter for it to find the user profiles on correct?
My System SpecsSystem Spec
Reply

 netsh wlan show profiles: Access is denied




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Force an IP to a MAC on virtual network (using netsh wlan command)
Hi I'm creating as virtual network on my PC using netsh wlan commands and it's working great. However, at this point a need came to me to force a particular IP to a MAC address. Ofcourse it will be an IP that is allowed. All I need is to force a connecting device (with a static MAC) to have the...
Network & Sharing
netsh mbn show interfaces results in command not found on Win7 64Bit
Hi, I'm trying to run "netsh mbn show interfaces" from a .bat or .jar file on a Win7 64bit system but every time I run my file, it results in "The following command was not found mbn show interfaces". When I run that same command in a cmd.exe prompt, the result is correct and as expected. ...
Network & Sharing
switching between user profiles makes wlan disconnect
Hello folks I always used "switch to other user" when I left my laptop behind for a while (i.e. when I was going to sleep or leaving the house). As I never turn off my laptop (barely never), the point is that I don't want to get people to use my laptop without my permission browsing through my...
Network & Sharing
Can access Vista shares from XP but not from Windows 7 (access denied)
Hi, everyone, I'm mostly a Linux guy these days, so I'm no longer clued up about even simple Windows issues. Bear with me. :D I have one PC running Vista (home basic), one running XP (professional) and one running Windows 7 (home basic). There is a printer connected to the Vista box, which is...
Network & Sharing
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
General Discussion
Access single homegroup from LAN AND WLAN
Hello everyone! I've searched on this now for several days, but couldn't solve my problem. What I want: I want to put all my machines into one single homegroup so they can see each other and share things My setup: 1 PC, connected to router via ETHERNET 2 Notebooks, connected to...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:33.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App