Solved

Allow user to disable/enable wireless connection

Posted on 2010-09-01
6
401 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
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now