Solved

Allow user to disable/enable wireless connection

Posted on 2010-09-01
6
404 Views
Last Modified: 2012-06-27
How can I allow a user to enable/disable her wireless connection. She doesn't have admin rights.

Jvuz
0
Comment
Question by:jvuz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 100 total points
ID: 33575002
you can use the following vb script.change enableConnection if you want to enable or disablechange connectionName to the wireless connection name
const connectionName = ""
const enableConnection = True
strComputer = "." 
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") 
Set colItems = objWMIService.ExecQuery( _
    "SELECT * FROM Win32_NetworkAdapter Where Name = ' & connectionName & ' and NetEnabled = ' & enableConnection & '")

For Each objItem in colItems 
if enableConnection = True then
    objItem.Disable
else
objItem.Enable

endif
Next

Open in new window

0
 
LVL 39

Assisted Solution

by:Krzysztof Pytko
Krzysztof Pytko earned 100 total points
ID: 33575082
I'm not sure if it is possible to use script on regular user's rights. I would suggest to add her account into local group called "Network Operators". After re-logon she will have access to manage network connections (enabling/disabling NICs, changing IP address and renamin NICs name).
0
 
LVL 6

Assisted Solution

by:nettek0300
nettek0300 earned 100 total points
ID: 33576063
What type of computer does the user have?  Most laptops have a switch on them where the user can physically turn the wireless off and on.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 21

Author Comment

by:jvuz
ID: 33576267
It's a laptop and indeed normally there is key to change that, but for now it's not working. I'll have a look if I can reinstall that tool.

Jvuz
0
 
LVL 6

Assisted Solution

by:jameso99
jameso99 earned 100 total points
ID: 33578696
Add her user to the Power Users group.  Then she will not have full admin rights but she can do some things like change the clock, etc.  Log out/in and give it a try.
0
 
LVL 2

Assisted Solution

by:edwarneke
edwarneke earned 100 total points
ID: 33601192
I ran into this back on the Dell C600's with truemobile cards. The solution I found then was that there was a registry entry for the tool used to administrate the wireless access and configuration. You could give the user permissions to this registry entry and thereby give access to the network tool to allow enabling and changing of networks.

What model wireless card do you have? Have you looked on the vendors to see if they have a tool that can be installed by an admin that would allow a user to make these changes?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question