PDA

View Full Version : RUN AS option


will
December 11th 03, 10:51 PM
I have my users set up as just users, no admin
rights...when I go to their machines to work on something
and if I need to get into the Network properties I can't
as they are not Administrators. I don't want to have to
log off and on to another account with admin just to make
a quick change if I could just use the Run As.. option.
But I don't see how you can for the Network Connections
control panel. Anybody have any ideas please??

David Candy
December 11th 03, 10:52 PM
I always go in a command prompt=20
runas /user:mymachine\myuserid explorer.exe

Then I can do anything by double clicking in explorer.

Or use

runas /user:mymachine\myuserid control.exe

or

runas /user:mymachine\myuserid control.exe netconnections

control.exe desktop Launches the Desktop Control Panel subprogram. =

control.exe color Launches the Desktop Control Panel subprogram, =
with the Appearance tab preselected.=20
control.exe date/time Launches the Date/Time Control Panel =
subprogram.=20
control.exe international Launches the Regional Settings Control =
Panel subprogram.=20
control.exe mouse Launches the Mouse Control Panel subprogram.=20
control.exe keyboard Launches the Keyboard Control Panel =
subprogram.=20
control.exe printers Displays the Printers folder.=20
control.exe fonts Displays the Fonts folder.=20

For Windows 2000 and later systems:

control.exe folders Launches the Folder Settings Control Panel =
subprogram.=20
control.exe netware Launches the Novell NetWare Control Panel =
subprogram (if installed).=20
control.exe telephony Launches the Phone and Modem Options Control =
Panel subprogram.=20
control.exe admintools Displays the Administrative Tools folder.=20
control.exe schedtasks Displays the Scheduled Tasks folder.=20
control.exe netconnections Displays the Network and Dial-Up =
Connections folder.=20
control.exe infrared Launches the Infrared Control Panel =
subprogram (if installed).=20
control.exe userpasswords Launches the Users and Passwords Control =
Panel subprogram.=20


--=20
http://www.g2mil.com/Apr2003.htm
http://www.sharpword.com/fascism.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"will" > wrote in message =
...
> I have my users set up as just users, no admin=20
> rights...when I go to their machines to work on something=20
> and if I need to get into the Network properties I can't=20
> as they are not Administrators. I don't want to have to=20
> log off and on to another account with admin just to make=20
> a quick change if I could just use the Run As.. option. =20
> But I don't see how you can for the Network Connections=20
> control panel. Anybody have any ideas please??
>=20

will
December 12th 03, 06:03 AM
God i love the command prompt! Thank you very much!


>-----Original Message-----
>I always go in a command prompt
>runas /user:mymachine\myuserid explorer.exe
>
>Then I can do anything by double clicking in explorer.
>
>Or use
>
>runas /user:mymachine\myuserid control.exe
>
>or
>
>runas /user:mymachine\myuserid control.exe netconnections
>
> control.exe desktop Launches the Desktop Control
Panel subprogram.
> control.exe color Launches the Desktop Control
Panel subprogram, with the Appearance tab preselected.
> control.exe date/time Launches the Date/Time
Control Panel subprogram.
> control.exe international Launches the Regional
Settings Control Panel subprogram.
> control.exe mouse Launches the Mouse Control Panel
subprogram.
> control.exe keyboard Launches the Keyboard Control
Panel subprogram.
> control.exe printers Displays the Printers folder.
> control.exe fonts Displays the Fonts folder.
>
>For Windows 2000 and later systems:
>
> control.exe folders Launches the Folder Settings
Control Panel subprogram.
> control.exe netware Launches the Novell NetWare
Control Panel subprogram (if installed).
> control.exe telephony Launches the Phone and Modem
Options Control Panel subprogram.
> control.exe admintools Displays the Administrative
Tools folder.
> control.exe schedtasks Displays the Scheduled Tasks
folder.
> control.exe netconnections Displays the Network and
Dial-Up Connections folder.
> control.exe infrared Launches the Infrared Control
Panel subprogram (if installed).
> control.exe userpasswords Launches the Users and
Passwords Control Panel subprogram.
>
>
>--
>http://www.g2mil.com/Apr2003.htm
>http://www.sharpword.com/fascism.htm
>----------------------------------------------------------
-----
>David Candy
>http://www.mvps.org/serenitymacros
>----------------------------------------------------------
-----
>"will" > wrote in message
...
>> I have my users set up as just users, no admin
>> rights...when I go to their machines to work on
something
>> and if I need to get into the Network properties I
can't
>> as they are not Administrators. I don't want to have
to
>> log off and on to another account with admin just to
make
>> a quick change if I could just use the Run As..
option.
>> But I don't see how you can for the Network Connections
>> control panel. Anybody have any ideas please??
>>
>
>.
>

will
December 12th 03, 06:05 AM
I can't get those commands to work with explorer or
control. Works great for apps like notepad, just prompts
for the password with control.exe and brings me back to
the command line however..

>-----Original Message-----
>I always go in a command prompt
>runas /user:mymachine\myuserid explorer.exe
>
>Then I can do anything by double clicking in explorer.
>
>Or use
>
>runas /user:mymachine\myuserid control.exe
>
>or
>
>runas /user:mymachine\myuserid control.exe netconnections
>
> control.exe desktop Launches the Desktop Control
Panel subprogram.
> control.exe color Launches the Desktop Control
Panel subprogram, with the Appearance tab preselected.
> control.exe date/time Launches the Date/Time
Control Panel subprogram.
> control.exe international Launches the Regional
Settings Control Panel subprogram.
> control.exe mouse Launches the Mouse Control Panel
subprogram.
> control.exe keyboard Launches the Keyboard Control
Panel subprogram.
> control.exe printers Displays the Printers folder.
> control.exe fonts Displays the Fonts folder.
>
>For Windows 2000 and later systems:
>
> control.exe folders Launches the Folder Settings
Control Panel subprogram.
> control.exe netware Launches the Novell NetWare
Control Panel subprogram (if installed).
> control.exe telephony Launches the Phone and Modem
Options Control Panel subprogram.
> control.exe admintools Displays the Administrative
Tools folder.
> control.exe schedtasks Displays the Scheduled Tasks
folder.
> control.exe netconnections Displays the Network and
Dial-Up Connections folder.
> control.exe infrared Launches the Infrared Control
Panel subprogram (if installed).
> control.exe userpasswords Launches the Users and
Passwords Control Panel subprogram.
>
>
>--
>http://www.g2mil.com/Apr2003.htm
>http://www.sharpword.com/fascism.htm
>----------------------------------------------------------
-----
>David Candy
>http://www.mvps.org/serenitymacros
>----------------------------------------------------------
-----
>"will" > wrote in message
...
>> I have my users set up as just users, no admin
>> rights...when I go to their machines to work on
something
>> and if I need to get into the Network properties I
can't
>> as they are not Administrators. I don't want to have
to
>> log off and on to another account with admin just to
make
>> a quick change if I could just use the Run As..
option.
>> But I don't see how you can for the Network Connections
>> control panel. Anybody have any ideas please??
>>
>
>.
>

David Candy
December 12th 03, 06:06 AM
I can't start explorer this way. Netconnections rely on explorer to =
show. The non explorer control panel applets work fine (eg control =
desktop). As does any other program (eg cmd, notepad, or any non =
explorer.exe..

Holding down the shift key when r/clicking puts the runas on the menu.=20

Anyway I thought explorer because it's the shell and another user is =
invoking it may be tring to load as desktop/start menu rather than file =
& folder browser. Ending explorer.exe (in task manager) for the current =
user allows explorer top be restarted by run as. Then the Start menu =
will appear but in the runas security setting.
--=20
http://www.g2mil.com/Apr2003.htm
http://www.sharpword.com/fascism.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"will" > wrote in message =
...
> I can't get those commands to work with explorer or=20
> control. Works great for apps like notepad, just prompts=20
> for the password with control.exe and brings me back to=20
> the command line however..
>=20
> >-----Original Message-----
> >I always go in a command prompt=20
> >runas /user:mymachine\myuserid explorer.exe
> >
> >Then I can do anything by double clicking in explorer.
> >
> >Or use
> >
> >runas /user:mymachine\myuserid control.exe
> >
> >or
> >
> >runas /user:mymachine\myuserid control.exe netconnections
> >
> > control.exe desktop Launches the Desktop Control=20
> Panel subprogram.=20
> > control.exe color Launches the Desktop Control=20
> Panel subprogram, with the Appearance tab preselected.=20
> > control.exe date/time Launches the Date/Time=20
> Control Panel subprogram.=20
> > control.exe international Launches the Regional=20
> Settings Control Panel subprogram.=20
> > control.exe mouse Launches the Mouse Control Panel=20
> subprogram.=20
> > control.exe keyboard Launches the Keyboard Control=20
> Panel subprogram.=20
> > control.exe printers Displays the Printers folder.=20
> > control.exe fonts Displays the Fonts folder.=20
> >
> >For Windows 2000 and later systems:
> >
> > control.exe folders Launches the Folder Settings=20
> Control Panel subprogram.=20
> > control.exe netware Launches the Novell NetWare=20
> Control Panel subprogram (if installed).=20
> > control.exe telephony Launches the Phone and Modem=20
> Options Control Panel subprogram.=20
> > control.exe admintools Displays the Administrative=20
> Tools folder.=20
> > control.exe schedtasks Displays the Scheduled Tasks=20
> folder.=20
> > control.exe netconnections Displays the Network and=20
> Dial-Up Connections folder.=20
> > control.exe infrared Launches the Infrared Control=20
> Panel subprogram (if installed).=20
> > control.exe userpasswords Launches the Users and=20
> Passwords Control Panel subprogram.=20
> >
> >
> >--=20
> >http://www.g2mil.com/Apr2003.htm
> >http://www.sharpword.com/fascism.htm
> >----------------------------------------------------------
> -----
> >David Candy
> >http://www.mvps.org/serenitymacros
> >----------------------------------------------------------
> -----
> >"will" > wrote in message=20
> ...
> >> I have my users set up as just users, no admin=20
> >> rights...when I go to their machines to work on=20
> something=20
> >> and if I need to get into the Network properties I=20
> can't=20
> >> as they are not Administrators. I don't want to have=20
> to=20
> >> log off and on to another account with admin just to=20
> make=20
> >> a quick change if I could just use the Run As..=20
> option. =20
> >> But I don't see how you can for the Network Connections=20
> >> control panel. Anybody have any ideas please??
> >>=20
> >
> >.
> >

David Candy
December 12th 03, 06:06 AM
PS To exit the RunAs security context.

End explorer in task manager, CLOSE task manager (cos it's running in =
the runas security context - it will start programs in this context), =
Open task manager, File - Run - Explorer.

--=20
http://www.g2mil.com/Apr2003.htm
http://www.sharpword.com/fascism.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"David Candy" > wrote in message =
...
I can't start explorer this way. Netconnections rely on explorer to =
show. The non explorer control panel applets work fine (eg control =
desktop). As does any other program (eg cmd, notepad, or any non =
explorer.exe..

Holding down the shift key when r/clicking puts the runas on the menu.=20

Anyway I thought explorer because it's the shell and another user is =
invoking it may be tring to load as desktop/start menu rather than file =
& folder browser. Ending explorer.exe (in task manager) for the current =
user allows explorer top be restarted by run as. Then the Start menu =
will appear but in the runas security setting.
--=20
http://www.g2mil.com/Apr2003.htm
http://www.sharpword.com/fascism.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"will" > wrote in message =
...
> I can't get those commands to work with explorer or=20
> control. Works great for apps like notepad, just prompts=20
> for the password with control.exe and brings me back to=20
> the command line however..
>=20
> >-----Original Message-----
> >I always go in a command prompt=20
> >runas /user:mymachine\myuserid explorer.exe
> >
> >Then I can do anything by double clicking in explorer.
> >
> >Or use
> >
> >runas /user:mymachine\myuserid control.exe
> >
> >or
> >
> >runas /user:mymachine\myuserid control.exe netconnections
> >
> > control.exe desktop Launches the Desktop Control=20
> Panel subprogram.=20
> > control.exe color Launches the Desktop Control=20
> Panel subprogram, with the Appearance tab preselected.=20
> > control.exe date/time Launches the Date/Time=20
> Control Panel subprogram.=20
> > control.exe international Launches the Regional=20
> Settings Control Panel subprogram.=20
> > control.exe mouse Launches the Mouse Control Panel=20
> subprogram.=20
> > control.exe keyboard Launches the Keyboard Control=20
> Panel subprogram.=20
> > control.exe printers Displays the Printers folder.=20
> > control.exe fonts Displays the Fonts folder.=20
> >
> >For Windows 2000 and later systems:
> >
> > control.exe folders Launches the Folder Settings=20
> Control Panel subprogram.=20
> > control.exe netware Launches the Novell NetWare=20
> Control Panel subprogram (if installed).=20
> > control.exe telephony Launches the Phone and Modem=20
> Options Control Panel subprogram.=20
> > control.exe admintools Displays the Administrative=20
> Tools folder.=20
> > control.exe schedtasks Displays the Scheduled Tasks=20
> folder.=20
> > control.exe netconnections Displays the Network and=20
> Dial-Up Connections folder.=20
> > control.exe infrared Launches the Infrared Control=20
> Panel subprogram (if installed).=20
> > control.exe userpasswords Launches the Users and=20
> Passwords Control Panel subprogram.=20
> >
> >
> >--=20
> >http://www.g2mil.com/Apr2003.htm
> >http://www.sharpword.com/fascism.htm
> >----------------------------------------------------------
> -----
> >David Candy
> >http://www.mvps.org/serenitymacros
> >----------------------------------------------------------
> -----
> >"will" > wrote in message=20
> ...
> >> I have my users set up as just users, no admin=20
> >> rights...when I go to their machines to work on=20
> something=20
> >> and if I need to get into the Network properties I=20
> can't=20
> >> as they are not Administrators. I don't want to have=20
> to=20
> >> log off and on to another account with admin just to=20
> make=20
> >> a quick change if I could just use the Run As..=20
> option. =20
> >> But I don't see how you can for the Network Connections=20
> >> control panel. Anybody have any ideas please??
> >>=20
> >
> >.
> >

Google