Enable/disable internet connection as non-Administrator?

  • Thread starter Thread starter Ted Carnevale
  • Start date Start date
T

Ted Carnevale

Under Win2K, how does a user who is not Administrator
enable & disable an ethernet connection? Most of the
time I don't want this PC to be connected to the net.
The crude but effective approach is merely to turn the
DSL modem off and on, but that thing takes some time
to start back up, it sits across the room in an
inconvenient location, etc. etc..

As Administrator I can enable and disable the ethernet
connection to the DSL modem, but I don't want to be
Administrator any more than necessary, and I can't
figure out how to grant my non-Administrator account
privileges to do this. Win2K's "help" files say
nothing at all about this, and I have searched the
documentation at MicroSoft's WWW site for relevant
information but found nothing useful. One might
reasonably expect this to be on a FAQ list somewhere,
but not that I've been able to find.

--Ted
 
Pedro said:
for fast&dirty solution try with runas.exe

Good idea. So to enable or disable an internet connection
that uses an ethernet card, what argument should runas have?
The "administrator" part is easy, it's the rest of the
command line that I don't know.

Someone else, queried locally, suggested making myself
a member of the Administrators group (duh! exactly what
I'm trying to avoid!), or of the Power Users group. But
my login account already belongs to the Power Users group--
so much for that idea. BTW, when I look through the list
of priveleges that can be granted or rescinded for a
group, I don't see anything that has to do with enabling/
disabling an internet connection.

--Ted
 
Ted said:
Good idea. So to enable or disable an internet connection
that uses an ethernet card, what argument should runas have?
The "administrator" part is easy, it's the rest of the
command line that I don't know.

Someone else, queried locally, suggested making myself
a member of the Administrators group (duh! exactly what
I'm trying to avoid!), or of the Power Users group. But
my login account already belongs to the Power Users group--
so much for that idea. BTW, when I look through the list
of priveleges that can be granted or rescinded for a
group, I don't see anything that has to do with enabling/
disabling an internet connection.

--Ted
what about runas with devcon.exe?
(http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q311272&ID=KB;EN-US;Q311272)

ps
 
Pedro said:

Thanks, I'll try it. I really do appreciate this suggestion.

Saw some other notes about this in a separate thread in this
same newslist today (enabling/disabling interface in script,
originated by J. Crafton). Following that thread back to
www.google.de reminded me of why I am glad I use Linux for
almost all purposes--this problem, like so many others, just
doesn't exist in Linux.

--Ted
 
Back
Top