Thanks for the posts.
Sorry about the delay in replying.
I cannot find a way of using runas to escalate the security to allow
the administrator to change network connection settings without
logging off the user.
I cannot use runas to run ncpa.cpl as it is not a win32 application.
control.exe is but it wont run under runas.
Do you know of a way to either do the network settings changes or run
control.exe under runas.
Regards, Major.
:
Ron,
The Control Panel should be accessible, unless there is a Group
Policy setting...
Local Computer Policy\User Configuration\Administrative
Templates\Control Panel\
Prohibit access to the Control Panel
[[Disables all Control Panel programs.
This setting prevents Control.exe, the program file for Control
Panel, from starting. As a result, users cannot start Control Panel
or run any Control Panel items.
This setting also removes Control Panel from the Start menu. (To open
Control Panel, click Start, point to Settings, and then click Control
Panel.) This setting also removes the Control Panel folder from
Windows Explorer.
If users try to select a Control Panel item from the Properties item
on a context menu, a message appears explaining that a setting
prevents the action.
Also, see the "Remove Display in Control Panel" and "Remove programs
on Settings menu" settings.]]
--
Hope this helps. Let us know.
Wes
In Ron Rector <
[email protected]> hunted and pecked:
I guess I was just speculating that he is using a User or Limited
User account and applying runas so that the users can gain access
to a program.
But I could be wrong.. If I am I have to agree.
Here is a list of Control Panel Applets. They can be started in the
following fashion:
Click Start and then run...
Then type in the name including the extension.
EG: access.cpl and click ok.
Access.cpl Accessibility Options
Appwiz.cpl Add or Remove Programs
Bthprops.cp Bluetooth Properties
Desk.cpl Display Properties
Firewall.cpl Windows Firewall
Hdwwiz.cpl Hardware Wizard
Inetcpl.cpl Internet Options
Intl.cpl Regional and Language Options
Irprops.cpl Infrared Properties
Joy.cpl Game Controllers
Main.cpl Mouse Properties
Mmsys.cpl Sounds and Audio Devices Properties
Ncpa.cpl Network Connections
Netsetup.cpl Network Setup Wizard
Nusrmgr.cpl User Accounts
Nwc.cpl Gateway Services for NetWare Properties
Odbccp32.cpl Open Database Connectivity Data Source
Administrator Powercfg.cpl Power Options
Sysdm.cpl System Properties
Telephon.cpl Phone and Modem Options
Timedate.cpl Date and Time Properties
Wscui.cpl Windows Security Center
Wuaucpl.cpl Automatic Update Properties
:
Why not just open the Control Panel?
Start | Run | Type: control | OK
--
Hope this helps. Let us know.
Wes
In Mr Major Thorburn <
[email protected]>
hunted and pecked:
Using runas to run control.exe as administrator does not do
anything. It just returns. No messages. No events. NO nothing.
Anyone any ideas how I may debug this problem?