Re: runas control.exe does not work

From: Mr Major Thorburn (MrMajorThorburn_at_discussions.microsoft.com)
Date: 11/09/04


Date: Tue, 9 Nov 2004 10:17:02 -0800

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.

"Wesley Vogel" wrote:

> 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 news:0E1C7B7F-0946-4F54-9597-A1FB2996DF1B@microsoft.com,
> Ron Rector <RonRector@discussions.microsoft.com> 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
> >
> >
> > "Wesley Vogel" wrote:
> >
> >> Why not just open the Control Panel?
> >> Start | Run | Type: control | OK
> >>
> >> --
> >> Hope this helps. Let us know.
> >> Wes
> >>
> >> In news:6B6B760B-D0AF-410B-9BB3-5CD94823A8AA@microsoft.com,
> >> Mr Major Thorburn <MrMajorThorburn@discussions.microsoft.com> 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?
>
>



Relevant Pages

  • RE: runas vs network connections etc etc....
    ... runas vs network connections etc etc.... ... If you really want to get to control panel, ...
    (Focus-Microsoft)
  • Re: Managing network connections using second logon
    ... The ncpa.cpl doesn't work like other Control Panel extensions, it's just a stub that calls an API to run the item through Explorer.exe. ... Even when using RunAs, Explorer.exe always runs in the security context of the logged on user so ncpa.cpl fails. ... you could completely kill Explorer.exe and then start it under a different security context or you can change Explorer.exe default settings so that it launches folder windows in a separate process. ... Anybody has any idea why running ncpa.cpl through runas gives explorer window, and how to manage network connections using second logon. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: network connections
    ... The ncpa.cpl doesn't work like other Control Panel extensions, it's just a stub that calls an API to run the item through Explorer.exe. ... Even when using RunAs, Explorer.exe always runs in the security context of the logged on user so ncpa.cpl fails. ... I haven't problem with opening Network Connections as a oridinary user but then I cannot perform most of the managing tasks. ... Also I haven't any problem with this control panel when I relog to admin account and simply click on proper icon in Control Panels window, or type ncpa.cpl in Start menu. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: runas control.exe does not work
    ... > 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. ... >> The Control Panel should be accessible, unless there is a Group>> Policy setting... ...
    (microsoft.public.windowsxp.general)
  • no runas option
    ... We support users running locked down XP and use runas to ... Printers and Faxes in the control panel. ...
    (microsoft.public.windowsxp.print_fax)